[Paraview] time series with Xdmf-Files
Natalie Happenhofer
nataliehapp at hotmail.com
Tue Nov 11 06:02:18 EST 2008
Hi!
This might be a stupid question.. but I have now such a .xmf file with the temporal collection, but how do I play it? I load it into paraview, and then I press the "play" button above, but I can´t see anything moving..
thx,
NH
CC: paraview at paraview.org
From: emonson at cs.duke.edu
To: nataliehapp at hotmail.com
Subject: Re: [Paraview] time series with Xdmf-Files
Date: Mon, 10 Nov 2008 09:38:31 -0500
Hello Natalie,
I don't know if this will be helpful (since you already have all of those XMF files), but the standard way of doing the time animation with Xdmf and ParaView is to have all of the time steps in one XMF file as a "temporal collection". Each time step in the file could refer to a separate HDF5 file for its data. There are ways of enabling animation for a series of files using a time-unaware reader in ParaView, but I think it would be easier to write a script to combine all of your XMF files together into the time-aware format that is supported by Xdmf.
I'll put an example below.-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
==================<Xdmf> <Domain Name="MSI"> <Grid Name="CellTime" GridType="Collection" CollectionType="Temporal">
<Grid Name="Cells" GridType="Uniform"> <Time Value="0.00" /> <Topology TopologyType="Polyvertex" NodesPerElement="100"> </Topology> <Geometry GeometryType="XYZ"> <DataItem DataType="Float" Dimensions="100 3" Format="HDF"> fiber_run3.h5:/iter00/cells/position </DataItem> </Geometry> <Attribute AttributeType="Scalar" Center="Node" Name="CellType"> <DataItem DataType="Int" Dimensions="100 1" Format="HDF"> fiber_run3.h5:/iter00/cells/numtype </DataItem> </Attribute> </Grid>
<Grid Name="Cells" GridType="Uniform"> <Time Value="0.01" /> <Topology TopologyType="Polyvertex" NodesPerElement="100"> </Topology> <Geometry GeometryType="XYZ"> <DataItem DataType="Float" Dimensions="100 3" Format="HDF"> fiber_run3.h5:/iter01/cells/position </DataItem> </Geometry> <Attribute AttributeType="Scalar" Center="Node" Name="CellType"> <DataItem DataType="Int" Dimensions="100 1" Format="HDF"> fiber_run3.h5:/iter01/cells/numtype </DataItem> </Attribute> </Grid>
<Grid Name="Cells" GridType="Uniform"> <Time Value="0.02" /> <Topology TopologyType="Polyvertex" NodesPerElement="100"> </Topology> <Geometry GeometryType="XYZ"> <DataItem DataType="Float" Dimensions="100 3" Format="HDF"> fiber_run3.h5:/iter02/cells/position </DataItem> </Geometry> <Attribute AttributeType="Scalar" Center="Node" Name="CellType"> <DataItem DataType="Int" Dimensions="100 1" Format="HDF"> fiber_run3.h5:/iter02/cells/numtype </DataItem> </Attribute> </Grid>
</Grid> </Domain></Xdmf>
On Nov 10, 2008, at 5:34 AM, Natalie Happenhofer wrote:Hi!
I have a lot of Xdmf - Files which I would like to animate as a video in paraview. For every Time Step I have a separate .xmf -File and a corresponding .h5 file. Does anyone know how to do that?
thx a lot,
NH
Express yourself instantly with MSN Messenger! MSN Messenger_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081111/37ff9c18/attachment-0001.htm>
More information about the ParaView
mailing list