[Paraview] Particle tracer

Berk Geveci berk.geveci at kitware.com
Thu Apr 19 16:29:43 EDT 2012


Leo and I will have an answer for you guys soon. FYI we just started
working on the particle tracker with the purpose of cleaning it up as well
as making its interface easier to use.

Best,
-berk

On Wed, Apr 18, 2012 at 4:08 PM, Mohamad M. Nasr-Azadani
<mmnasr at gmail.com>wrote:

> Hi Burlen,
>
> I am hoping that Utkarsh could help figure things out.
> If you elaborate more on what you do and what happens, I could at least
> share my experience.
> I use *.vtr type files to generate particle trace and pathlines.
> The problem I have/had is that as soon as I apply any Temporal Filter to
> the *.vtr file series, it either gives me error message or crashes.
> I was very very very lucky that I found out that for the same dataset, if
> I use *.vtu format, no problems or crashing occurred. So, for now, I just
> used a Clip filter to extract my data into a *.vtu format and rewrite them,
> re-read them and do the ParticleTrace and ParticlePathlines.
> That was my experience.
>
> Let me know if I could be of any help.
> Good luck,
> Mohamad
>
>
>
>
> On Wed, Apr 18, 2012 at 11:15 AM, Burlen Loring <bloring at lbl.gov> wrote:
>
>> **
>> Hi Mohamad,
>>
>> I've been quietly following this thread in hopes that your interest in
>> particle tracing will spark a response from the developers. I was unable to
>> generate pathlines in image data in vti format I beleive I was using 3.10.0
>> at the time. It was not clear to me if there was a bug or if I had the
>> pipeline built incorrectly out of my own ignorance on how this works in PV.
>> I posted a question with test data hoping for some advise,
>> http://paraview.markmail.org/message/ek67niwr7xagaajz?q=burlen+order:date-backward&page=15however I did not receive any reply.
>>
>> Burlen
>>
>>
>> On 04/07/2012 05:28 AM, Mohamad M. Nasr-Azadani wrote:
>>
>> I apologize for some mistakes.
>> The Powerpoint I was refering to can be found here.
>>
>>  *paraview*.org/Wiki/images/2/20/IEEE08_*Time-In-ParaView*.ppt
>>
>>
>>  Best,
>> Mohamad
>>
>>  On Sat, Apr 7, 2012 at 5:22 AM, Mohamad M. Nasr-Azadani <
>> mmnasr at gmail.com> wrote:
>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120419/635ca637/attachment.htm>


More information about the ParaView mailing list