[Paraview] Paraview can't read Tecplot X,Y(X) files

M. infinity.probability at gmail.com
Fri Jul 19 16:27:56 EDT 2013


Hello again,

I found a hack that works with the values that I'm trying to plot: I just
use I=10 and J=2, K=1 for 20 values, and Paraview shows exactly the 20
values that I have on the table. I know it's a hack, but it works for now.
Is there any developments on a more general Tecplot reader?

Cheers




2013/7/18 Richard GRENON <richard.grenon at onera.fr>

>  Hello.
>
> If you are using I=20, J=2 and K=1, you should have 20x2x1=40 points in
> your mesh (it is a surface), so you should have 40 lines after the ZONE
> line. Paraview finds only 20 lines and assumes zero for the 20 missing
> values. So you have to repeat your 20 data lines at the end of your file.
>
> Also, you should not have all X,Y,Z variables to zero because Paraview
> cannot display the mesh. For instance, you may define a surface grid
> assuming X=Distance for all your data. Then you should have Y=0 for the
> first 20 data lines, and Y=non zero constant for the next 20 data lines
> while keeping same X, Distance and Temperature values as in the first 20
> lines. The variable Z may be kept to zero for all lines. Thus, your mesh
> will look like a rectangle.
>
> Le 18/07/2013 16:18, M. a écrit :
>
>  Hello Richard,
>
> Thanks for your answer. Indeed, if I modify the file to
>
> TITLE = "Example: Simple XY Plot"
> VARIABLES = "X", "Y", "Z",  "Distance", "Temperature"
> ZONE T="Only Zone", I=20, J=2, 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
>
>  Paraview can read the file. But this poses a new problem: if I use J=1,
> K=1, Paraview cannot read it again, but if I use J=2, K=1 or vice versa
> Paraview can read it, but it shows the 20 values plus 20 zeros after it. Is
> there a way to go around this?
>
> Cheers
>
>
> 2013/7/18 Richard GRENON <richard.grenon at onera.fr>
>
>>   Hi all,
>>
>> I'm still struggling with Paraview to read files in Tecplot format. I'm
>> using some examples from this site:
>> http://people.sc.fsu.edu/~jburkardt/data/tec/tec.html
>>
>> The 3D examples are read correctly in Paraview, but the examples
>> http://people.sc.fsu.edu/~jburkardt/data/tec/simpxy.dat
>>
>> and
>> http://people.sc.fsu.edu/~jburkardt/data/tec/simpxy2.dat
>>
>> are read but can't be plotted. All the statistics are N/A (Type, Number of
>> Cells, Number of Points), no bounds are recognized, and the Spreadsheet
>> view is empty. Is this a bug?
>>
>>   Hello.
>>
>> Paraview is a 3D software that is always expecting a mesh (surface or
>> volume) with the three X, Y, Z variables for points coordinates. Your
>> simpxy.dat file has only two data variables (Distance and Temperature),
>> that is why it cannot build points and cells and shows N/A (Not available).
>> Try to add coordinates of a grid to your file, and you should be able to
>> plot Temperature against Distance.
>>
>> --
>>  Richard GRENON
>>  ONERA
>>  Departement d'Aerodynamique Appliquee - DAAP/ACI
>>  8 rue des Vertugadins
>>  92190 MEUDON - FRANCE
>>  phone : +33 1 46 73 42 17
>>  fax   : +33 1 46 73 41 46
>>  mailto:Richard.Grenon at onera.fr <Richard.Grenon at onera.fr>
>>  http://www.onera.fr
>>
>>
>
>
> --
>  Richard GRENON
>  ONERA
>  Departement d'Aerodynamique Appliquee - DAAP/ACI
>  8 rue des Vertugadins
>  92190 MEUDON - FRANCE
>  phone : +33 1 46 73 42 17
>  fax   : +33 1 46 73 41 46
>  mailto:Richard.Grenon at onera.fr <Richard.Grenon at onera.fr>
>  http://www.onera.fr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130719/d9dc17e0/attachment.htm>


More information about the ParaView mailing list