[Paraview] Movie using multiple grids at each time step

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Nov 25 16:51:04 EST 2013


Couldn't you use two xmf files?

On Tue, Oct 22, 2013 at 2:04 AM, Pradeep Jha
<pradeep at ccs.engg.nagoya-u.ac.jp> wrote:
> 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>
>
>
>
> _______________________________________________
> 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://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list