[Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Ryan Abernathey
Hello, I am continuing my ongoing quest to do something like this http://earth.nullschool.net/#current/wind/isobaric/1000hPa/orthographic=267.73,5.54,350 or this http://www.youtube.com/watch?v=xusdWPuWAoU in Paraview using ***time dependent velocity vectors***. While the LIC plugin is very cool,

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Berk Geveci
Hi Ryan, When I look at these movies carefully, it looks like they are using streaklines that are seeded for a short burst. It looks like they pick a number of seeds each time step and start a streakline from each and keep them active for a few time steps. Then those streaklines seem to be

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Dan Lipsa
Hi Ryan, The following thread might be useful in trying to get pathlines/streaklines to work in paraview. http://paraview.markmail.org/search/?q=Dan%20Lipsa#query:Dan%20Lipsa+page:1+mid:lr6wjdwan2ixidlg+state:results Dan On Tue, Jan 14, 2014 at 2:20 PM, Ryan Abernathey

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Ryan Abernathey
Berk, That might be the correct interpretation for the first video, which I think uses a steady (i.e. not time-dependent) flow field. For steady flows, streamlines, streaklines, and trajectories are all identical. But if you look at the second video, I think you can see that they are plotting

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Berk Geveci
I got it. I think that the correct way of doing this would be: 1. Seed particles 2. Integrate 1 time step 3. Kill particles that are older that threshold 4. Connect particles to generate streaklets 5. If time step % n == 0, update seed source randomly 6. Go to 1 if time step left Does this make

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Ryan Abernathey
Yes, that sounds very sensible! Of course, the difficult part (for me, a relative noob) is to actually implement those steps in terms of a Paraview pipeline. Or would you recommend creating a new custom filter? Unfortunately experimentation has been difficult because of the slowness /

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Berk Geveci
Hi Ryan, (4) and (5) won't work out of box and need some thinking. (3) can be implemented by applying Threshold after the particle tracer. I am not aware of any particular issues - other than general slowness but not as bad as you describe - with the particle tracer. Do you have some data that I

Re: [Paraview] ParticleTracer particle lifetime

2014-01-14 Thread Biddiscombe, John A.
Note that if you jump around in time, the particle filter can be very slow specially with time dependent data. It has to regenerate the particle paths for all of the times in between if you do that, which means loading a lot of data from disk. It should be relatively fast when animating forward