[Paraview] Movie using multiple grids at each time step

Pradeep Jha pradeep at ccs.engg.nagoya-u.ac.jp
Tue Oct 22 02:04:43 EDT 2013


Hello,

I have two HDF5 (in the *h5 format) for each time step. I have an *xmf file
to read the h5 file in paraview. I know how to make a movie using the xmf
file with just one *h5 file at each time step. But I am not able to plot it
using Paraview for multiple files at each time step. The current xmf file I
am using follows the structure given below:

Please let me know to modify the following xmf file (this one is not
working):


<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.0">
  <Domain>
    <Grid Name="Box" GridType="Collection" CollectionType="Temporal">
    <Grid Name="mesh1" GridType="Uniform">
      <Topology TopologyType="3DCoRectMesh" Dimensions="64 64 64"/>
      <Geometry GeometryType="ORIGIN_DXDYDZ">
        <DataItem DataType="Float" Dimensions="3" Format="XML">0 0
0</DataItem>
        <DataItem DataType="Float" Dimensions="3" Format="XML">1 1
1</DataItem>
      </Geometry>
      <Time Value="00000"/>
      <Attribute Name="vor" AttributeType="Scalar" Center="Node">
       <DataItem Dimensions="64 64 64" NumberType="Float" Precision="8"
Format="HDF">
        vor_00000_445_coarsed.h5:/vor
       </DataItem>
      </Attribute>
    </Grid>
    <Grid Name="mesh1" GridType="Uniform">
      <Topology TopologyType="3DCoRectMesh" Dimensions="64 64 64"/>
      <Geometry GeometryType="ORIGIN_DXDYDZ">
        <DataItem DataType="Float" Dimensions="3" Format="XML">0 64
0</DataItem>
        <DataItem DataType="Float" Dimensions="3" Format="XML">1 1
1</DataItem>
      </Geometry>
      <Time Value="00000"/>
      <Attribute Name="vor" AttributeType="Scalar" Center="Node">
       <DataItem Dimensions="64 64 64" NumberType="Float" Precision="8"
Format="HDF">
        vor_00000_455_coarsed.h5:/vor
       </DataItem>
      </Attribute>
    </Grid>
    <Grid Name="mesh1" GridType="Uniform">
      <Topology TopologyType="3DCoRectMesh" Dimensions="64 64 64"/>
      <Geometry GeometryType="ORIGIN_DXDYDZ">
        <DataItem DataType="Float" Dimensions="3" Format="XML">0 0
0</DataItem>
        <DataItem DataType="Float" Dimensions="3" Format="XML">1 1
1</DataItem>
      </Geometry>
      <Time Value="00006"/>
      <Attribute Name="vor" AttributeType="Scalar" Center="Node">
       <DataItem Dimensions="64 64 64" NumberType="Float" Precision="8"
Format="HDF">
        vor_00006_445_coarsed.h5:/vor
       </DataItem>
      </Attribute>
    </Grid>
    <Grid Name="mesh1" GridType="Uniform">
      <Topology TopologyType="3DCoRectMesh" Dimensions="64 64 64"/>
      <Geometry GeometryType="ORIGIN_DXDYDZ">
        <DataItem DataType="Float" Dimensions="3" Format="XML">0 64
0</DataItem>
        <DataItem DataType="Float" Dimensions="3" Format="XML">1 1
1</DataItem>
      </Geometry>
      <Time Value="00006"/>
      <Attribute Name="vor" AttributeType="Scalar" Center="Node">
       <DataItem Dimensions="64 64 64" NumberType="Float" Precision="8"
Format="HDF">
        vor_00006_455_coarsed.h5:/vor
       </DataItem>
      </Attribute>
    </Grid>
    </Grid>
 </Domain>
</Xdmf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131022/622244ac/attachment.htm>


More information about the ParaView mailing list