<div dir="ltr"><p><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font></p><div style="margin-top:0px;margin-bottom:0px"><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black">Dear all, <br><br>Sorry to post onto an old thread. I have been reading this thread and the related write up here:<br></font></div><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"><div style="margin-top:0px;margin-bottom:0px"><a href="https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field" target="_blank" rel="noopener noreferrer" id="gmail-LPlnk128746"><span id="gmail-LPlnk128746">https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field</span></a></div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">This thread (and the tips and tricks post) is really close to what I
want to do, but I have a
few follow-up questions. I too have a steady-state solution field. I
want to trace particles from the inlet
of my domain to the exit, following the steady-state velocity field, and
report for each particle the temperature-time history (or any other scalar from my simulation) that the particle
sees. In additional and crucially, the time the particle has within the domain: a residence time. The residence time would be the maximum value or IntegrationTime
each particle attains before it leaves the domain.<br>
</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">I see that if I follow the
notes I can plot (using Glyphs) the temperature as it varies across my
domain as the particles are animated down the streamlines: this is
working. What I do not seem to be able to find however, is the IntegrationTime. It appears as point-field data after
the streamlines are created, but vanishes after the contour filter is
applied. I guess the contour filter is computing a singular value for
all values of the IntegrationTime from T=0 to T=N with a specific level of granularity. However, I can't seem to extract
the specific value of IntegrationTime (the contour value) when I
stop the
simulation at any given point. Do you know how to do that? The "time"
scale in the VCR window always goes from 0->1 not from 0->(max
value of IntegrationTime in seconds). Can the actual value of time be backed out or animated? If so how
do I do that, or am I applying the Contour filter wrongly: as per the
post, I am only using the default values in the Counter filter panel.<br>
</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"><div style="margin-top:0px;margin-bottom:0px">Finally, and importantly for
me, while the Glyphs move across the screen following the streamlines,
and render via the temperature field,
how to I actually extract information from
this pseudo time series to perform analysis? For example, the min and max
temperature seen by a particle as it moved across the streamline for
instance? I'm actually hoping to plot offline (as a function of
IntegrationTime) the min and max temperature obtained for each particle:
I can then take the min and max of that set for the quickest and slowest
particles.<br></div></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"></span></font><font size="3" face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols" color="black"><span style="font-size:12pt" id="gmail-divtagdefaultwrapper"><div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">Using the latest stock version of paraview.<br>
<br>
Cheers,<br>
Andy<br>
</div></span></font>
</div><div class="gmail_extra"><br><div class="gmail_quote">On 6 June 2014 at 20:30, Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div class="m_8937041987328481919WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ken and Jean, excellent idea! I liked it so much that I wrote it up in the SNL ParaView tutorials, tips and tricks page. It is located here:Â
<a href="http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks" target="_blank">http://www.paraview.org/Wiki/<wbr>Advanced_Tips_and_Tricks</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u>Â <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Alan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u>Â <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@<wbr>paraview.org</a>]
<b>On Behalf Of </b>Moreland, Kenneth<br>
<b>Sent:</b> Friday, June 06, 2014 11:43 AM<br>
<b>To:</b> David E DeMarle; minh hien<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> [EXTERNAL] Re: [Paraview] Make animation from steady state result<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal" style="margin-left:.5in"><u></u>Â <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">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.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">1. Create the streamlines as you normally would.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">2. Add a Contour filter to the streamline (third toolbar, second button from the left).<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">2.a. Change the Contour By property to IntegrationTime.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">2.b. Press Apply.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">This little trick will create a point on each streamline at a particular time in the particle advection simulation that created the streamlines.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">3. Open the Animation View (View -> Animation View)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">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.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">3.b. Make sure Mode is set to Sequence and change No. Frames to 100.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">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.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">3.d. You can adjust the speed of the animation by changing the No. Frames.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">4. If you want to see glyphs instead of dots, just add the glyph filter to the output of the contour filter.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">BTW, props to Jean Favre for originally posting this solution to the ParaView mailing list (<a href="http://markmail.org/message/ms57z7jjubh2pzjg" target="_blank">http://markmail.org/message/<wbr>ms57z7jjubh2pzjg</a>).<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">-Ken<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">From:
</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>><br>
<b>Date: </b>Thursday, June 5, 2014 8:07 AM<br>
<b>To: </b>minh hien <<a href="mailto:minh.cfd@gmail.com" target="_blank">minh.cfd@gmail.com</a>><br>
<b>Cc: </b>"<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>Subject: </b>[EXTERNAL] Re: [Paraview] Make animation from steady state result<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Make an isocontour of the streamlines' integrationTime variable.
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Then in animation view, make a track for the isocontour value.<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank">518-881-4909</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">On Thu, Jun 5, 2014 at 9:52 AM, minh hien <<a href="mailto:minh.cfd@gmail.com" target="_blank">minh.cfd@gmail.com</a>> wrote:<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Hi all,</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">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?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Any suggestion would be very much appreciated.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Thank you in advance.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888"><u></u>Â <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Minh<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/<wbr>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/<wbr>mailman/listinfo/paraview</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u>Â <u></u></span></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://www.paraview.org/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>