[Paraview] Movie using multiple grids at each time step
David E DeMarle
dave.demarle at kitware.com
Mon Nov 25 18:25:32 EST 2013
What is the specific problem when you give it your file? Without that it is
hard to say but I am _guessing_ that xdmf doesn't like the fact that it
can't pick which atomic grids to get for each time in the temporal
collection.
<Grid Name="mesh1" GridType="Uniform">
...
<Time Value="00000"/>
...
vor_00000_445_coarsed.h5:/vor
...
</Grid>
<Grid Name="mesh1" GridType="Uniform">
...
<Time Value="00000"/>
...
vor_00000_455_coarsed.h5:/vor
...
</Grid>
To fix, put each pair of atomic data sets inside a spatial collection in
the temporal one.
< temporal
< spatial
time=0
< grid 1 >
< grid 2 >
>
< spatial
time=1
< grid 1 >
< grid 2 >
>
...
>
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, Nov 25, 2013 at 2:51 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> 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
> >
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131125/0ae23fd3/attachment.htm>
More information about the ParaView
mailing list