[Paraview] load several vtk files - transient dataset.

Berk Geveci berk.geveci at kitware.com
Fri Mar 20 08:16:14 EDT 2009


Unfortunately, there is no way of doing this with .vtk files at the
moment. If you convert your files to the XML based format, you can use
the pvd file. I suggest reporting a feature request for pvd -> vtk at
http://paraview.org/Bug.

-berk

2009/3/19 Pei-Ying Hsieh <phsieh2005 at yahoo.com>:
> Dear PV experts:
>
> Sorry to bother you guys about this.
>
> I have a list of vtk files, something like:
>
> a_0.vtk
> a_60.vtk
> a_360.vtk
> a_660.vtk
> a_960.vtk
>
> The numbers about is in seconds from OpenFOAM simulation.  I load the files
> into paraview-3.4.0.  I am able to to animation and plot transient data.
> However, the time step indicates 0, 1, 2, 3, 4 instead of the real time.
>
> I wrote a pvd file like:
>
>
> <?xml version="1.0"?>
>
> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
>
> <Collection>
>
> <DataSet timestep="0" group="" part="0" file="a_0.vtk">
>
> <DataSet timestep="60" group="" part="0" file="a_60.vtk">
>
> <DataSet timestep="360" group="" part="0" file="a_360.vtk">
>
> <DataSet timestep="660" group="" part="0" file="a_660.vtk">
>
> <DataSet timestep="960" group="" part="0" file="a_960.vtk">
>
> </Collection>
>
> </VTKFile>
>
>
>
> but got vtkPVDReader error.
>
>
>
> Can you shed some light on this?  How to get time stamp read into PV
> correctly?
>
>
>
> Pei
>
> _______________________________________________
> 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