[Paraview] Animation / Loading of different files

Jean Favre jfavre at cscs.ch
Thu Jul 19 02:15:11 EDT 2007


On 17, Jul 2007 05:44 PM, Olaf Schenk <olaf.schenk at unibas.ch> wrote:

>Hi,
>
>We are using the current development distribution of Paraview and we
>would like to animate a transient simulation that is is stored in the
>following files: 0000xxx-solution.vtu [with xxx starting from zero to
>200].
>
>Unfortunately, we can not find a mode so that the Paraview3
>automatically identifies that this is a transient simulation and
>automatically load the solution files when creating an animation. This
>option was part of the 2.6 version ....

You can create a file describing the time-series as a collection: the
following syntax would do it:

<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian"
compressor="vtkZLibDataCompressor">
 <Collection>
   <DataSet timestep="0" file="0000000-solution.vtu"/>
   <DataSet timestep="1" file="0000001-solution.vtu"/>
   <DataSet timestep="2" file="0000002-solution.vtu"/>
.........//please fill in the missing files
   <DataSet timestep="200" file="0000200-solution.vtu"/>
 </Collection>
</VTKFile>

when loading this file, paraview will be able to animate the different
timesteps.

Jean



More information about the ParaView mailing list