[Paraview] Seeking help with display hdf5 file in paraview using xdmf
Xiaoxue Gong
xiaoxue198912 at gmail.com
Thu Sep 5 11:15:04 EDT 2013
Hi All!
I have a technique issue with displaying hdf5 file in paraview.
I have to store a surface into hdf5 file and to display it in paraview.
The surface is made up by base grid triangles and planer graphs on each
basegrid triangle. The planar graphs in base grid triangle includes points
and edges.
I store the coordinate of the vertex of base grid triangles in
surface.h5:/xbasetrianglecoords
surface.h5:/ybasetrianglecoords
surface.h5:/zbasetrianglecoords
and the coordinate of nodes on planer graphs in
surface.h5:/xnodescoords
surface.h5:/ynodescoords
surface.h5:/znodescoords
If I only need to display the base triangle coords, I would write the xdmf
as
<Geometry GeometryType="X_Y_Z">
<DataItem Dimensions="318" NumberType="Float" Format="HDF">
surface.h5:/xbasetrianglecoords
</DataItem>
<DataItem Dimensions="318" NumberType="Float" Format="HDF">
surface.h5:/ybasetrianglecoords
</DataItem>
<DataItem Dimensions="318" NumberType="Float" Format="HDF">
surface.h5:/zbasetrianglecoords
</DataItem>
</Geometry>
What if I want to display both of them?
I tried to do this:
<Geometry GeometryType="X_Y_Z">
<DataItem Dimensions="1212" NumberType="Float" Format="HDF">
surface.h5:/xbasetrianglecoords
surface.h5:/xnodescoords
</DataItem>
<DataItem Dimensions="1212" NumberType="Float" Format="HDF">
surface.h5:/ybasetrianglecoords
surface.h5:/ynodescoords
</DataItem>
<DataItem Dimensions="1212" NumberType="Float" Format="HDF">
surface.h5:/zbasetrianglecoords
surface.h5:/znodescoords
</DataItem>
</Geometry>
But it does no work. I am wondering if anyone on this list have any
experience with this problem(put 2 hdf5 files in one entry)?
Best,
Xiaoxue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130905/4a0f2777/attachment-0001.htm>
More information about the ParaView
mailing list