Here's a more expanded list of steps outlining the solution David gave in case 
you are not very familiar with the contour filter and animation controls in 
ParaView.

1. Create the streamlines as you normally would.

2. Add a Contour filter to the streamline (third toolbar, second button from 
the left).
2.a. Change the Contour By property to IntegrationTime.
2.b. Press Apply.
This little trick will create a point on each streamline at a particular time 
in the particle advection simulation that created the streamlines.

3. Open the Animation View (View -> Animation View)
3.a. On the bottom row, select the contour filter in the first chooser box and 
Isosurfaces in the second chooser box. Then hit the blue plus button at the 
left.
3.b. Make sure Mode is set to Sequence and change No. Frames to 100.
3.c. Hit the play button in the VCR controls (green triangle in the top 
toolbar). You will see the dots animate over the streamlines.
3.d. You can adjust the speed of the animation by changing the No. Frames.

4. If you want to see glyphs instead of dots, just add the glyph filter to the 
output of the contour filter.

BTW, props to Jean Favre for originally posting this solution to the ParaView 
mailing list (http://markmail.org/message/ms57z7jjubh2pzjg).

-Ken

From: David E DeMarle 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 5, 2014 8:07 AM
To: minh hien <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] Re: [Paraview] Make animation from steady state result

Make an isocontour of the streamlines' integrationTime variable.
Then in animation view, make a track for the isocontour value.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Thu, Jun 5, 2014 at 9:52 AM, minh hien 
<[email protected]<mailto:[email protected]>> wrote:
Hi all,

I got steady state solution for my problem. After plotting streamlines at 
steady state, I would like to make animation showing moving of spheres 
(resulted from Glyph filter) on the streamlines, the spheres' velocity should 
be defined by the flow velocity. How can I make this?
Any suggestion would be very much appreciated.

Thank you in advance.

Minh

_______________________________________________
Powered by www.kitware.com<http://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

Reply via email to