[Paraview] Particle tracer

Mohamad M. Nasr-Azadani mmnasr at gmail.com
Sat Apr 7 08:22:45 EDT 2012


Hi all,

This is what I doing:

1- Load the PVD file (which holds the real time information associated with
each *.vtr file)

<?xml version="1.0"?>
 <VTKFile type="Collection" version="0.1" byte_order="LittleEndian"
compressor="vtkZLibDataCompressor">
   <Collection>
    <DataSet timestep="0.0" group="" part="0" file="vel_vec_0.vtr"/>
    <DataSet timestep="0.2" group="" part="0" file="vel_vec_1.vtr"/>
    <DataSet timestep="0.4" group="" part="0" file="vel_vec_2.vtr"/>
    <DataSet timestep="0.6" group="" part="0" file="vel_vec_3.vtr"/>
    <DataSet timestep="0.8" group="" part="0" file="vel_vec_4.vtr"/>
    <DataSet timestep="1.0" group="" part="0" file="vel_vec_5.vtr"/>
    <DataSet timestep="1.2" group="" part="0" file="vel_vec_6.vtr"/>
    <DataSet timestep="1.4" group="" part="0" file="vel_vec_7.vtr"/>
    <DataSet timestep="1.6" group="" part="0" file="vel_vec_8.vtr"/>
    <DataSet timestep="1.8" group="" part="0" file="vel_vec_9.vtr"/>
    <DataSet timestep="2.0" group="" part="0" file="vel_vec_10.vtr"/>
  </Collection>
</VTKFile>


2- Click on my data and create a "Temporal Cache" with "Cache Size=2".

3- From "Sources", I create a "Line".

4- Click on TemporalCache1 and create a ParticleTracer.
     When the menu pops up, I choose
             a) Input: TemporalCache1
             b) Source: Line1
     Right after I click Ok, this is the message I get (note that this
message is shown even before giving me the chance to change any flags on
the "Properties" section related to the "ParticleTracer1".

/home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx,
line 934

vtkPVPostFilterExecutive (0x4db4870): No maximum number of pieces has been
set in the information for output port 0 on algorithm
vtkPVPostFilter(0x4777fd0).


Luckily, Paraview does not crash and I can continue.
After doing some research, I am guessing that this has something to do with
the time conflicts (Pipeline fed into the filter and the animation viewer
time).

*Observation:* Right after I create the ParticleTracer and receive the
error message, the time shown in the animation viewer is increased from
"0.0" to "0.2". Why?

5- Recommended by the powerpoint, I set
         a) Time Step: True (1)
         b) Ignore Pipeline Time: True (1)


6- Now, I use "Animation View" as directed by the same powerpoint to feed
the time into the ParticleTracer1 filter.
         a) Mode: Sequence
         b) Create a keyframe for "ParticleTracer1". Double click on the
bar and set:
                   1: time: 0.2, (interpolation ramp), value: 1
                   2: time: 1.8, (), value: 9

Note: I have varied all the combinations listed above to include/exclude
the last/first steps. No luck! Nothing really happening.

7- Play animation. Result: nothing happening? What is going on?


*Observation: Using Paraview 3.8, I could see the animation without
adjusting any parameters in the "Animation View" menu. Just the annoying
error message was shown. However, I could do the same thing with Paraview
3.14, but it crashes after a few timesteps. *
*
*
Anybody could share some hints on how to go about this?

Thanks,
Mohanad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120407/2fec31d9/attachment.htm>


More information about the ParaView mailing list