CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Importing 1D Tecplot files to Paraview with Zones results in NA

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By weirdtunguska
  • 1 Post By weirdtunguska

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2013, 17:09
Exclamation Importing 1D Tecplot files to Paraview with Zones results in NA
  #1
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
weirdtunguska is on a distinguished road
Hi all,


I'm trying to import some Tecplot files into Paraview. They are imported without any errors, but the data columns are not imported - the Statistics are NA, no spreadsheet data, etc. The files work ok on Tecplot. Here an example:

title=" 1D profiles"
variables="z","sn","c1","cs1","snmk1","EA1","M1"," HA"
zone i= 10,T="# 1 z profile 0.5000E+02 days, "
0.0000E+00 0.0000E+00 0.1001E-20 0.1000E-09 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.1000E+00 0.0000E+00 0.1005E-20 0.1000E-09 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.2000E+00 0.0000E+00 0.1028E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.3000E+00 0.0000E+00 0.1173E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.4000E+00 0.0000E+00 0.2050E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.5000E+00 0.0000E+00 0.7215E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.6000E+00 0.0000E+00 0.3697E-19 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.7000E+00 0.0000E+00 0.2043E-18 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.8000E+00 0.0000E+00 0.1122E-17 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.9000E+00 0.0000E+00 0.6028E-17 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
zone i= 10,T="# 2 z profile 0.5000E+02 days, "
0.0000E+00 0.0000E+00 0.1001E-20 0.1000E-09 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.1000E+00 0.0000E+00 0.1005E-20 0.1000E-09 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.2000E+00 0.0000E+00 0.1028E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.3000E+00 0.0000E+00 0.1173E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.4000E+00 0.0000E+00 0.2050E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.5000E+00 0.0000E+00 0.7215E-20 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.6000E+00 0.0000E+00 0.3697E-19 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.7000E+00 0.0000E+00 0.2043E-18 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.8000E+00 0.0000E+00 0.1122E-17 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00
0.9000E+00 0.0000E+00 0.6028E-17 0.0000E+00 0.0000E+00 0.2500E-02 0.3000E-04 0.0000E+00



Cheers
weirdtunguska is offline   Reply With Quote

Old   July 18, 2013, 11:22
Default
  #2
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
weirdtunguska is on a distinguished road
Hi all,

After talking with someone from the Paraview mailing list I found out that Paraview can only read 3D data files, so if I want to plot these values I have to add a X, Y, Z fake coordinate points, like this:

TITLE = "Example: Simple XY Plot"
VARIABLES = "X", "Y", "Z", "Distance", "Temperature"
ZONE T="Only Zone", I=20, J=1, K=1, F=POINT
0.0 0.0 0.0 0.0 850.9
0.0 0.0 0.0 0.022 790.1
0.0 0.0 0.0 0.051 554.0
0.0 0.0 0.0 0.069 540.0
0.0 0.0 0.0 0.075 545.5
0.0 0.0 0.0 0.083 549.4
0.0 0.0 0.0 0.106 590.2
0.0 0.0 0.0 0.1234 535.1
0.0 0.0 0.0 0.15 601.0
0.0 0.0 0.0 0.201 664.5
0.0 0.0 0.0 0.25 635.9
0.0 0.0 0.0 0.35 599.9
0.0 0.0 0.0 0.4454 600.0
0.0 0.0 0.0 0.49 513.0
0.0 0.0 0.0 0.5656 442.0
0.0 0.0 0.0 0.6423 333.5
0.0 0.0 0.0 0.6604 300.4
0.0 0.0 0.0 0.7 245.7
0.0 0.0 0.0 0.89 221.4
0.0 0.0 0.0 1.3 200.0

But this generates a new problem: the 20 values are shown plus twenty zeros after it, because of the J=2 or K=2. If I try to use J=1, K=1, Paraview can't read it again. Does anyone have an idea on how to handle this?
Aleksandr likes this.
weirdtunguska is offline   Reply With Quote

Old   July 18, 2013, 12:01
Default
  #3
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 13
weirdtunguska is on a distinguished road
Testing a few configurations I realized that if I change to

I=10, J=2, K=1

I get exactly the 20 values that I'm supposed to. It's a hack, but it works. If someone has a more elegant solution...
Artur likes this.
weirdtunguska is offline   Reply With Quote

Reply

Tags
paraview, tecplot


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
howto load mutiple (>100) *.plt files with tecplot 360 ex 2015 R2 cfdopenfoam Tecplot 2 December 8, 2015 07:21
Combine tecplot files arunsmec Tecplot 0 June 5, 2015 01:03
Problem in Importing CFX results in Tecplot 360-2012 safikhani_hamed CFX 7 October 12, 2013 07:29
Transient solution multiple CGNS files in Tecplot Ramses Galaz Tecplot 3 October 17, 2006 11:43
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 13:17.