[Paraview] Load timesteps

Zenker, Dr. Matthias Matthias.Zenker at erbe-med.com
Thu Mar 8 05:26:28 EST 2012


Hi,

I have many tvu files, each one representing a timestep, and want to display the right time in Paraview instead of the timestep number. Looking for information, I have found a presentation "Working with time in Paraview" here: http://www.vgtc.org/PDF/slides/2008/visweek/tutorial6_biddiscombe_working.pdf. One possibility sems to be to create a file with extension pvd, containing a list of all vtu files with their associated time, like this:

<VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
  <Collection>
    <DataSet timestep="0" group="" part="0" file="case_var0001.vtu"/>
    <DataSet timestep="10" group="" part="0" file="case_var0002.vtu"/>
    <DataSet timestep="20" group="" part="0" file="case_var0003.vtu"/>
    <DataSet timestep="30" group="" part="0" file="case_var0004.vtu"/>
    <DataSet timestep="40" group="" part="0" file="case_var0005.vtu"/>
    <DataSet timestep="50" group="" part="0" file="case_var0006.vtu"/>
    <DataSet timestep="60" group="" part="0" file="case_var0007.vtu"/>
    <DataSet timestep="70" group="" part="0" file="case_var0008.vtu"/>
    <DataSet timestep="80" group="" part="0" file="case_var0009.vtu"/>
    <DataSet timestep="90" group="" part="0" file="case_var0010.vtu"/>
    <DataSet timestep="100" group="" part="0" file="case_var0011.vtu"/>
    <DataSet timestep="110" group="" part="0" file="case_var0012.vtu"/>
    <DataSet timestep="120" group="" part="0" file="case_var0013.vtu"/>
    <DataSet timestep="130" group="" part="0" file="case_var0014.vtu"/>
    <DataSet timestep="140" group="" part="0" file="case_var0015.vtu"/>
    <DataSet timestep="150" group="" part="0" file="case_var0015.vtu"/>
  </Collection>
</VTKFile>

I have tried that, but it apparently does not work like that. I get the error message attached below (ParaVoew 3.14.0, WIN XP).
What have I done wrong?

Thank you for a hint,

Matthias

ERROR: In ..\..\..\..\src\VTK\IO\vtkXMLParser.cxx, line 483
vtkXMLDataParser (1ED92578): Error parsing XML in stream at line 4, column 22, byte index 178: not well-formed (invalid token)


ERROR: In ..\..\..\..\src\VTK\IO\vtkXMLReader.cxx, line 362
vtkPVDReader (1EDADBE8): Error parsing input file.  ReadXMLInformation aborting.


ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line 147
vtkPVDReader (1EDADBE8): Could not read file information


ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8) returned failure for request: vtkInformation (1EEE77E8)
  Debug: Off
  Modified Time: 94271
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1




ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line 147
vtkPVDReader (1EDADBE8): Could not read file information


ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8) returned failure for request: vtkInformation (1EEE77E8)
  Debug: Off
  Modified Time: 94271
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1




ERROR: In ..\..\..\..\src\ParaViewCore\VTKExtensions\vtkPVDReader.cxx, line 147
vtkPVDReader (1EDADBE8): Could not read file information


ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (1EEA2C50): Algorithm vtkPVDReader(1EDADBE8) returned failure for request: vtkInformation (1EEE77E8)
  Debug: Off
  Modified Time: 94271
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1



_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120308/d2c87028/attachment.htm>


More information about the ParaView mailing list