CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 16, 2013, 16:09
Exclamation Importing 1D Tecplot files to Paraview with Zones results in NA
  #1
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 4
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, 10:22
Default
  #2
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 4
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?
weirdtunguska is offline   Reply With Quote

Old   July 18, 2013, 11:01
Default
  #3
New Member
 
Join Date: Jul 2013
Posts: 3
Rep Power: 4
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...
weirdtunguska is offline   Reply With Quote

Reply

Tags
paraview, tecplot

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Tecplot DAT files to ParaView redable one B. R. Guirguis ParaView 6 February 6, 2015 07:26
PLOT3D files with Tecplot 2012 nikosb Tecplot 2 March 18, 2013 14:36
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Transient solution multiple CGNS files in Tecplot Ramses Galaz Tecplot 3 October 17, 2006 10:43
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


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