Guillaume Jacquenot,

The ExodusII binary-formatted results file will do what you want. However, an ExodusII writer can be difficult to implement. Some tribal knowledge is helpful. 

The EnSight-formatted results file will do just about everything you want, and, at least in Fortran-95, a writer is less difficult to implement. A results file-set is described with an ASCII text meta-file known as a "case" file, example attached. ParaView lets you select the point-results and/or cell-results to load for subsequent display; very helpful for large datum sets.

Both the ExodusII and EnSight readers in ParaView have good support. They are both capable of handling large datum sets.

Samuel W Key
FMA Development, LLC
1005 39th Ave NE
Great Falls, Montana 59404
USA



On 9/1/2014 11:41 AM, Guillaume Jacquenot wrote:
Dear Paraview users,

I would like to display a wave elevation field in Paraview, that is a structured mesh with a scalar data (wave elevation). This mesh moves over time.
I came up with a solution based on CSV point files and a delaunay 2d filter in Paraview to represent wave elevation.

I ask myself some questions about the input file format, that could contain only points, or a mesh.
Is there a dedicated format to do so?
Ideally, this format would
- be a single file containing all results over time
- not repeat data (My CSV files contain repeatdly the same coordinates many many times)

I have looked at VTK format, but I can't figure out which one would answer my needs.
Can HDf5 file format help? (If it is possible to import hdf5 package in python interpreter)

My data could be represented like this

ti, y0, y1, y2, y3
x0,z00,z01,z02,z03
x1,z10,z11,z12,z13
x2,z20,z21,z22,z23
x3,z30,z31,z32,z33
x4,z40,z41,z42,z43
x5,z50,z51,z52,z53

where ti represents a timestep


Guillaume Jacquenot
Thanks


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

FORMAT
type: ensight gold
GEOMETRY
model:                   1  1  fmaego.data.geom    change_coords_only
VARIABLE
vector per node:         1  1  Displacement          fmaego.data.ndis
vector per node:         1  1  Velocity              fmaego.data.nvel
vector per node:         1  1  Acceleration          fmaego.data.nacc
vector per node:         1  1  Max-Velocity          fmaego.data.nvmx
vector per node:         1  1  Min-Velocity          fmaego.data.nvmn
scalar per node:         1  1  Min-Velocity-Mag      fmaego.data.nvnm
scalar per node:         1  1  Max-Velocity-Mag      fmaego.data.nvxm
scalar per element:      1  1  Material              fmaego.data.emat
scalar per element:      1  1  Material-State        fmaego.data.esta
scalar per element:      1  1  Pressure              fmaego.data.eprs
scalar per element:      1  1  Bulk-Strain           fmaego.data.elnv
scalar per element:      1  1  Strain-Energy-Density fmaego.data.esed
scalar per element:      1  1  Effective-Stress      fmaego.data.edev
vector per element:      1  1  Stress*Vel            fmaego.data.estv
tensor symm per element: 1  1  Stress                fmaego.data.estr
TIME
time set:                1
number of steps:        51
time values:                  7.583666201834E-05      4.550199721100E-04
      9.100399442200E-04      1.365059916330E-03      1.802424622983E-03
      2.230961696908E-03      2.659498770833E-03      3.088035844757E-03
      3.587995764336E-03      4.016532838261E-03      4.445069912186E-03
      4.873606986111E-03      5.302144060035E-03      5.730681133960E-03
      6.230641053539E-03      6.659178127464E-03      7.087715201388E-03
      7.516252275295E-03      7.944789349220E-03      8.373326423114E-03
      8.801863497039E-03      9.301823416617E-03      9.730360490542E-03
      1.015889756447E-02      1.058743463839E-02      1.101597171024E-02
      1.144450878157E-02      1.194446870107E-02      1.237300577468E-02
      1.280154284848E-02      1.323007992229E-02      1.365861699620E-02
      1.408715407013E-02      1.458712292673E-02      1.501566000067E-02
      1.544419707462E-02      1.587254185280E-02      1.630081112318E-02
      1.672905989218E-02      1.722866851498E-02      1.765688637839E-02
      1.808507855692E-02      1.851323771922E-02      1.894135782720E-02
      1.936943388840E-02      1.986879521384E-02      2.029676314159E-02
      2.072467588843E-02      2.115253073291E-02      2.158032510936E-02
      2.200805654067E-02
FILE
file set:                   1
number of steps:           51
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to