<div dir="ltr">Dear Utkarsh,<div> </div><div style>Thanks a lot for your detailed instructions and they are very helpful! I can show the difference along time now as a movie. </div><div style>However, I still have another question. By doing this, only the difference between current timestep and 0 is shown while the image for timestep 0 which contains the initial land/sea information is not represented. Do you have some idea on showing not only the surface changes but also the initial surface at the same time?</div>
<div style> </div><div style>Many thanks!</div><div style>Xiao </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/4 Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Xiao,<br>
<br>
You can make ParaView compute a new data array that&#39;s the difference<br>
between the values at 0 and the current timestep and then color with<br>
that. To do that, do the following:<br>
<br>
+ Open your snapshot000*.vtk file series as before.<br>
+ Now, open just the  snapshoot0000.vtk file (the file for the first<br>
time step) separately. In the file dialog, you can click on the &quot;+&quot;<br>
icon next to the file group to expand the group and select a specific<br>
file instead.<br>
+ Next, select the filter series source as well as the<br>
snapshoot0000.vtk source and create the Python calculator. Your<br>
pipeline browser should like the one in the attached image.<br>
+ Now for the Python calculator select Array Association as &quot;Cell<br>
Data&quot; and setup an expression as follows to compare the quantities of<br>
interest (as shown in the attached image).<br>
<br>
    inputs[0].CellData[&quot;U&quot;] - inputs[1].CellData[&quot;U&quot;]<br>
<br>
Now when you color by result, you&#39;ll be coloring by the difference in<br>
the quantities  between timestep 0 and the current timestep.<br>
<span class="HOEnZb"><font color="#888888"><br>
Utkarsh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, Nov 25, 2013 at 2:47 PM, Utkarsh Ayachit<br>
&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt; Xiao Guo,<br>
&gt;<br>
&gt; I am sure what you want could be done. Do you have a sample dataset so<br>
&gt; I can play with it figure out what would be easiest route?<br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Thu, Nov 21, 2013 at 1:19 PM, xiao guo &lt;<a href="mailto:xiao.guo.math@gmail.com">xiao.guo.math@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I am trying to visualize some vtk files which are generally a series of<br>
&gt;&gt; values of wave and sea level of some area. Now I can just save an animation<br>
&gt;&gt; to show some movies of frame1,2,3,....<br>
&gt;&gt; However, it is not clear for some regions that the values there are changed.<br>
&gt;&gt; For example, when the wave goes to land, the value for the land increases<br>
&gt;&gt; from saying 5m to 6m, so there is 1m flood however which is not easy to see<br>
&gt;&gt; such small difference especially the change is even smaller saying 0.2 m..<br>
&gt;&gt; What I am thinking is to 1) keep the first frame which is the initial value<br>
&gt;&gt; for the area as one layer or background with some color scheme; then 2)<br>
&gt;&gt; based on the background from 1), difference between the values at step i<br>
&gt;&gt; (i=2,3,...) and the initial value (step 0, background) are shown with<br>
&gt;&gt; another color scheme, so both the initial image for the area and the changes<br>
&gt;&gt; afterwards can be shown clearly.<br>
&gt;&gt;<br>
&gt;&gt; But I am really not expert in such visualizing work or Paraview, so I come<br>
&gt;&gt; here and ask for help. Anyone knows that if I can do such complicated work<br>
&gt;&gt; in Paraview and how? Thank you all for attention!<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Xiao Guo<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>