CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] How to import Tecplot data File ? (https://www.cfd-online.com/Forums/paraview/118530-how-import-tecplot-data-file.html)

Voyage_gui May 29, 2013 09:04

How to import Tecplot data File ?
 
1 Attachment(s)
Hi everyone,

I d like to read one file i created in Tecplot Format (*.tp). I worked great in Tecplot. But when i tried to import it in Paraview, it fails (see attached error).

Here is the code to generate the file :

write(1,*) 'VARIABLES = "X", "Y", "ALTITUDE", "LENGTH"'
write(1,*) 'ZONE I=', NIP, ', J=', NJP DATAPACKING=BLOCK,VARLOCATION=(3=CELLCENTERED,4=CE LLCENTERED)'
write(1,*) ((xyz(i,j,1),i=1,nip),j=1,njp)
write(1,*) ((xyz(i,j,2),i=1,nip),j=1,njp)
write(1,*) ((Altitude(i,j),i=1,ni),j=1,nj)
write(1,*) ((length(i,j),i=1,ni),j=1,nj)

So it looks like that :

VARIABLES = "X", "Y", "ALTITUDE", "LENGTH"
ZONE I= 136 , J= 140
, DATAPACKING=BLOCK,VARLOCATION=(3=CELLCENTERED,4=CE LLCENTERED)
-12027.49 -12027.49 -12027.49 -12027.49 -12027.49
-12027.49 -12027.49 -12027.49 -12027.49 -12027.49
...


Best

Voyage_gui May 29, 2013 09:06

*Ce llcentered = cellcentered

wyldckat June 9, 2013 16:28

Greetings Voyage_gui,

ParaView is only able to open some formats of Tecplot. Unfortunately, the wiki doesn't say much about which exact format: http://paraview.org/Wiki/ParaView/Us...Tecplot_Reader

But here's an email from ParaView's mailing list that might help with this topic: http://www.paraview.org/pipermail/pa...il/028185.html

Best regards,
Bruno

Voyage_gui June 10, 2013 09:40

Thanks a lot again !

I ll have a look soon and get back to you.

Best

Guillaume

Voyage_gui June 11, 2013 04:24

Hi Wyldckat,

I ve tried to export to older format using Tecplot (only binary is possible with 2008 and 2006) without success.

If you got more idea, let me know.
I ll try to find more information.

Thanks

Guillaume

Voyage_gui June 11, 2013 04:40

Found the correct header for paraview plugin :

Instead

VARLOCATION=(3=CELLCENTERED,4=CELLCENTERED,5=CELLC ENTERED,6
=CELLCENTERED)

-->

VARLOCATION=([3,4,5,6]=CELLCENTERED)

Best


All times are GMT -4. The time now is 20:04.