<div dir="ltr">Yes, that sounds very sensible!<div><br></div><div>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?</div>
<div><br></div><div>Unfortunately experimentation has been difficult because of the slowness / instability of the ParticleTracer filter. Even with a very modest number of particles (~10), I experience crippling delays when advancing timesteps. Perhaps pre-generating the trajectories is the answer.</div>
<div><br></div><div>Thanks a lot for your suggestions.</div><div>-Ryan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 3:32 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got it. I think that the correct way of doing this would be:<br>
<br>
1. Seed particles<br>
2. Integrate 1 time step<br>
3. Kill particles that are older that threshold<br>
4. Connect particles to generate streaklets<br>
5. If time step % n == 0, update seed source randomly<br>
6. Go to 1 if time step left<br>
<br>
Does this make sense?<br>
<br>
-berk<br>
<br>
<br>
On Tue, Jan 14, 2014 at 3:17 PM, Ryan Abernathey<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:ryan.abernathey@gmail.com">ryan.abernathey@gmail.com</a>> wrote:<br>
> Berk,<br>
> That might be the correct interpretation for the first video, which I think<br>
> uses a steady (i.e. not time-dependent) flow field. For steady flows,<br>
> streamlines, streaklines, and trajectories are all identical.<br>
> But if you look at the second video, I think you can see that they are<br>
> plotting Lagrangian trajectories. My velocity data is time-dependent, so I<br>
> think I need the trajectories.<br>
> -Ryan<br>
><br>
><br>
> On Tue, Jan 14, 2014 at 2:47 PM, Berk Geveci <<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Hi Ryan,<br>
>><br>
>> When I look at these movies carefully, it looks like they are using<br>
>> streaklines that are seeded for a short burst. It looks like they pick<br>
>> a number of seeds each time step and start a streakline from each and<br>
>> keep them active for a few time steps. Then those streaklines seem to<br>
>> be killed eventually. It also appears as if they are playing with<br>
>> transparency depending on the age of the streakline. Am I right?<br>
>><br>
>> -berk<br>
>><br>
>> On Tue, Jan 14, 2014 at 2:20 PM, Ryan Abernathey<br>
>> <<a href="mailto:ryan.abernathey@gmail.com">ryan.abernathey@gmail.com</a>> wrote:<br>
>> > Hello,<br>
>> ><br>
>> > I am continuing my ongoing quest to do something like this<br>
>> ><br>
>> > <a href="http://earth.nullschool.net/#current/wind/isobaric/1000hPa/orthographic=267.73,5.54,350" target="_blank">http://earth.nullschool.net/#current/wind/isobaric/1000hPa/orthographic=267.73,5.54,350</a><br>
>> > or this<br>
>> > <a href="http://www.youtube.com/watch?v=xusdWPuWAoU" target="_blank">http://www.youtube.com/watch?v=xusdWPuWAoU</a><br>
>> > in Paraview using ***time dependent velocity vectors***.<br>
>> ><br>
>> > While the LIC plugin is very cool, it does something different. I<br>
>> > followed<br>
>> > the previous suggestion and tried to use the streamline filter:<br>
>> > <a href="http://paraview.org/Wiki/ParaView/Custom_Filters" target="_blank">http://paraview.org/Wiki/ParaView/Custom_Filters</a><br>
>> > Unfortunately that is not quite right either.<br>
>> ><br>
>> > The problem with the streamline filter is that it treats each timestep<br>
>> > as<br>
>> > completely independent and regenerates the streamlines whenever the<br>
>> > velocity<br>
>> > field changes. (This is the correct behavior: streamlines are defined by<br>
>> > the<br>
>> > *instantaneous* flow.)<br>
>> ><br>
>> > What we see in those videos are truly particle trajectories. In<br>
>> > particular:<br>
>> > - particles are seeded randomly (in space and time)<br>
>> > - they leave a decaying trail (sometimes called a streaklet)<br>
>> > - the particles disappear after a short lifetime<br>
>> > This is the combination of ingredients I need to reproduce in paraview.<br>
>> ><br>
>> > The best candidate is clearly the ParticleTracer filter. However, I have<br>
>> > hit<br>
>> > a serious problem: it doesn't appear that this filter is able to make<br>
>> > the<br>
>> > particles "die" after a temporal lifetime. Compare the v 3.3<br>
>> > documentation<br>
>> > <a href="http://paraview.org/OnlineHelpCurrent/ParticleTracer.html" target="_blank">http://paraview.org/OnlineHelpCurrent/ParticleTracer.html</a><br>
>> > with the current documentation<br>
>> ><br>
>> > <a href="http://paraview.org/Wiki/ParaView/Users_Guide/List_of_filters#ParticleTracer" target="_blank">http://paraview.org/Wiki/ParaView/Users_Guide/List_of_filters#ParticleTracer</a><br>
>> > In the old version, there was an option called "Termination Time" that<br>
>> > is<br>
>> > missing from the new version.<br>
>> ><br>
>> > Without such an option, the particles will never disappear, the domain<br>
>> > will<br>
>> > get more and more crowded, and the computational expense will grow with<br>
>> > time.<br>
>> ><br>
>> > Let me know if you have any suggestions or if you know how to re-enable<br>
>> > this<br>
>> > Termination Time option.<br>
>> ><br>
>> > Thanks a lot,<br>
>> > Ryan<br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>