[Paraview] Using real timesteps in pvd files

Christian Wellmann wellmann at ikm.uni-hannover.de
Thu Jan 29 05:09:26 EST 2009


Thanks Stephen and John for your quick answers.
Unfortunately any changes to the group and/or part tag not seem to
solve the problem.
What is strange is that, although ParaView seems to read an int value,
it is able
to handle

<DataSet timestep="-922337203685477580825263735124730" group=""
part="0" file="sp_test0000000.vtp"/>
<DataSet timestep=" 922337203685477580825263735124730" group=""
part="0" file="sp_test0002498.vtp"/>

correctly, what gives me

Index      Value
0            -9.22337e+32
1             9.22337e+32

in the time table although the values are out of range of any standard
integer representation I guess.
However, as a workaround -considering the large range of representable
integer values- I will simpliy
change my scale to micro- or even nano-seconds to get integer time values.


2009/1/29 John Biddiscombe <biddisco at cscs.ch>:
> Christian
>
> <?xml version="1.0"?>
> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
>  <Collection>
>  <DataSet timestep="1.08267" file="1800_001-static-00000.vtmb"/>
>  <DataSet timestep="1.08367" file="1800_001-static-00001.vtmb"/>
>  <DataSet timestep="1.08467" file="1800_001-static-00002.vtmb"/>
> ...
>  <DataSet timestep="1.34967" file="1800_001-static-00267.vtmb"/>
>  </Collection>
> </VTKFile>
>
> This works for me. Can't comment on why you are having trouble, but maybe
> try to remove the group, part unused tags.
>
> I use CVS paraview (3.4 should work)
>
> JB
>
>> Dear all,
>>
>> I'm using ParaView 3.4 to load the results of a transient simulation
>> via a pvd file and a set
>> of vtp XML PolyData files. Each vtp file corresponds to a particular real
>> time
>> value which are not evenly spaced. I tried to provide the real time
>> values via the timestep key
>> in the pvd file:
>>
>> <?xml version="1.0"?>
>> <VTKFile type="Collection" version="0.1" byte_order="LittleEndian">
>> <Collection>
>> <DataSet timestep="1.23"  group="" part="0" file="sp_test0000000.vtp"/>
>> <DataSet timestep="2.34"  group="" part="0" file="sp_test0002498.vtp"/>
>> <DataSet timestep="3.15"  group="" part="0" file="sp_test0004496.vtp"/>
>> </Collection>
>> </VTKFile>
>>
>> It seems that ParaView expects integer values for the timestep key,
>> because
>> it loads the files like expected but the time table in the Object
>> Inspector -> Information
>> tab shows for the above pvd file:
>> Index   Value
>> 0         1
>> 1         2
>> 2         3
>>
>> I would be grateful for any help/suggestions.
>>
>> Thanks,
>> Christian Wellmann
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
> --
> John Biddiscombe,                            email:biddisco @ cscs.ch
> http://www.cscs.ch/
> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
> Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82
>
>
>


More information about the ParaView mailing list