[Paraview] Transient time values in VTK format.

Magician f_magician at mac.com
Wed Mar 7 09:27:01 EST 2012


Dear David,


Thank you for your advice.
I tried to make .pvd file and succeeded to add time values
to my transient data.


Magician


On 2012/03/07, at 0:21, David E DeMarle wrote:

> You can use a pvd file to associate a time value with each vtm file like so:
> 
> <?xml version="1.0"?>
> <VTKFile type="Collection" version="0.1">
>  <Collection>
>    <DataSet timestep="0" group="" part="0" file="foo_0.vtm"/>
>    <DataSet timestep="0.5" group="" part="0" file="foo_1.vtm"/>
>  </Collection>
> </VTKFile>
> 
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
> 
> 
> 
> On Tue, Mar 6, 2012 at 9:57 AM,  <f_magician at mac.com> wrote:
>> Hi.
>> 
>> I'm now using ParaView v3.12.0 and want to export
>> VTK transient data from my own postprocessors.
>> I'm familiar with EnSight Case format, so I'm trying
>> to study VTK format by importing EnSight-formatted data
>> and exporting in VTK format on ParaView.
>> 
>> EnSight Case format data has transient time values
>> in .case file.
>> My transient data has variable time steps, so I want to
>> remain original time values.
>> 
>> If I read the .case data on ParaView, I can find
>> these values at Information tab too.
>> But next I save this data in VTK Multi Block Files (.vtm) format
>> and reload it, the original time values seems to be removed.
>> 
>> Which is the best way to add the time values in VTK format?
>> 
>> 
>> Magician



More information about the ParaView mailing list