[Paraview] xyz or zyx in XDMF-files?

Jens jens-devel at gmx.de
Mon May 25 04:54:49 EDT 2009


Hello Paraview-Experts,

I am using XDMF-file-format to display flow-simulation results.
I just figured out, that XDMF is somehow mixing the dimensions :(

If I store a 3d-dataset using hdf5 in xyz-style. I have to access these
dataset using xdmf in zyx-style.

This is some kind of strange. Is there any reason for that behavior?

Greetings
Jens

Example:
	HyperSlab x=32, y=64, z=128
	Dataset   x=128, y=256, z=512

<Grid Name="1-1-1_t0.0" Type="Uniform">
 <Topology Type="3DCORECTMESH" Dimensions="128 64 32"> </Topology>
  <Geometry Type="ORIGIN_DXDYDZ">
   <DataItem
     DataType="Float"
     Dimensions="3" Format="XML">
      0.0 0.0 0.0
   </DataItem>
   <DataItem
     DataType="Float"
     Dimensions="3"
     Format="XML">
      1.0 1.0 1.0
   </DataItem>
  </Geometry>

 <!-- u-Field -->
 <Attribute Active="1" Type="Scalar" Center="Node" Name="u">
  <DataItem ItemType="HyperSlab"
    Dimensions="128 64 32"
    Type="HyperSlab">
   <DataItem Dimensions="3 3" Format="XML">
     0  0  0 	<!-- Start  -->
     1  1  1 	<!-- Stride -->
     128 64 32	<!-- Count  -->
   </DataItem>
   <DataItem ItemType="Uniform" Format="HDF"
     NumberType="Float" Precision="8"
     Dimensions="512 256 128">
     dns.h5:/flow/DNSdata/u
   </DataItem>
  </DataItem>
 </Attribute>
</Grid>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdmf_hdf5_hyperslab_example.xdmf
Type: text/xml
Size: 2956 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090525/8de1e255/attachment.bin>


More information about the ParaView mailing list