[Paraview] Input file format

Pradeep Jha pradeep.kumar.jha at gmail.com
Wed Dec 19 21:20:34 EST 2012


Hello,

I am confused about what should be the input format of the data file that I want Paraview to read? 

I have attached a simple data file as example below that I want to plot in 3D on Paraview.  I have a few
questions:

1) When I input this data in a CSV format or a txt format, Paraview just shows me a spreadsheet 
and does not give any options for converting it into a plot. The properties section does not even 
show the list of variables.

2) If I have a uniform grid like this, do I need to enter the coordinates? What will be a more efficient format?

3) If I write the data (in a binary format) using Fortran90, what should be the order of my data? 

4) Out of curiosity, is there any data format more compressed than a binary format? I hear that many people
use the HDF5 format for huge scientific data. What is the significant advantage of this format over normal binary
data produced by fortran?

Thank you,
Pradeep

Data:

x          y           z         u         v          w 
0         0.0      0.0      0.5       0.6      0.4
0.5      0.0      0.0      0.5       0.6      0.4
1.0      0.0      0.0      0.5       0.6      0.4
0         0.5      0.0      0.5       0.6      0.4
0.5      0.5      0.0      0.5       0.6      0.4
1.0      0.5      0.0      0.5       0.6      0.4
0         1.0      0.0      0.5       0.6      0.4
0.5      1.0      0.0      0.5       0.6      0.4
1.0      1.0      0.0      0.5       0.6      0.4
0         0.0      0.5      0.5       0.6      0.4
0.5      0.0      0.5      0.5       0.6      0.4
1.0      0.0      0.5      0.5       0.6      0.4
0         0.5      0.5      0.5       0.6      0.4
0.5      0.5      0.5      0.5       0.6      0.4
1.0      0.5      0.5      0.5       0.6      0.4
0         1.0      0.5      0.5       0.6      0.4
0.5      1.0      0.5      0.5       0.6      0.4
1.0      1.0      0.5      0.5       0.6      0.4
0         0.0      1.0      0.5       0.6      0.4
0.5      0.0      1.0      0.5       0.6      0.4
1.0      0.0      1.0      0.5       0.6      0.4
0         0.5      1.0      0.5       0.6      0.4
0.5      0.5      1.0      0.5       0.6      0.4
1.0      0.5      1.0      0.5       0.6      0.4
0         1.0      1.0      0.5       0.6      0.4
0.5      1.0      1.0      0.5       0.6      0.4
1.0      1.0      1.0      0.5       0.6      0.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121220/bc197b7c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Paraview_output.png
Type: image/png
Size: 228531 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121220/bc197b7c/attachment-0001.png>


More information about the ParaView mailing list