Hi Burlen, <div><br></div><div>I am hoping that Utkarsh could help figure things out. </div><div>If you elaborate more on what you do and what happens, I could at least share my experience. </div><div>I use *.vtr type files to generate particle trace and pathlines. </div>
<div>The problem I have/had is that as soon as I apply any Temporal Filter to the *.vtr file series, it either gives me error message or crashes. </div><div>I was very very very lucky that I found out that for the same dataset, if I use *.vtu format, no problems or crashing occurred. So, for now, I just used a Clip filter to extract my data into a *.vtu format and rewrite them, re-read them and do the ParticleTrace and ParticlePathlines. </div>
<div>That was my experience. </div><div><br></div><div>Let me know if I could be of any help. </div><div>Good luck, </div><div>Mohamad</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 11:15 AM, Burlen Loring <span dir="ltr"><<a href="mailto:bloring@lbl.gov">bloring@lbl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
Hi Mohamad,<br>
<br>
I've been quietly following this thread in hopes that your interest
in particle tracing will spark a response from the developers. I was
unable to generate pathlines in image data in vti format I beleive I
was using 3.10.0 at the time. It was not clear to me if there was a
bug or if I had the pipeline built incorrectly out of my own
ignorance on how this works in PV. I posted a question with test
data hoping for some advise,
<a href="http://paraview.markmail.org/message/ek67niwr7xagaajz?q=burlen+order:date-backward&page=15" target="_blank">http://paraview.markmail.org/message/ek67niwr7xagaajz?q=burlen+order:date-backward&page=15</a>
however I did not receive any reply.<br>
<br>
Burlen<div><div class="h5"><br>
<br>
On 04/07/2012 05:28 AM, Mohamad M. Nasr-Azadani wrote:
</div></div><blockquote type="cite"><div><div class="h5">I apologize for some mistakes.
<div>The Powerpoint I was refering to can be found here. </div>
<div><br>
</div>
<div><b style="line-height:13px;color:rgb(0,153,51);font-family:arial,sans-serif">paraview</b><span style="line-height:13px;color:rgb(0,153,51);font-family:arial,sans-serif">.org/Wiki/images/2/20/IEEE08_</span><b style="line-height:13px;color:rgb(0,153,51);font-family:arial,sans-serif">Time-In-ParaView</b><span style="line-height:13px;color:rgb(0,153,51);font-family:arial,sans-serif">.ppt</span></div>
<div><font color="#009933" face="arial, sans-serif"><span style="line-height:13px"><br>
</span></font></div>
<div><br>
</div>
<div>Best, </div>
<div>Mohamad</div>
<div><br>
</div>
<div>
<div class="gmail_quote">On Sat, Apr 7, 2012 at 5:22 AM, Mohamad
M. Nasr-Azadani <span dir="ltr"><<a href="mailto:mmnasr@gmail.com" target="_blank">mmnasr@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,
<div><br>
</div>
<div>This is what I doing: </div>
<div><br>
</div>
<div>1- Load the PVD file (which holds the real time
information associated with each *.vtr file)</div>
<div>
<div><br>
</div>
<div><?xml version="1.0"?></div>
<div> <VTKFile type="Collection" version="0.1"
byte_order="LittleEndian"
compressor="vtkZLibDataCompressor"> </div>
<div> <Collection></div>
<div> <DataSet timestep="0.0" group="" part="0"
file="vel_vec_0.vtr"/></div>
<div> <DataSet timestep="0.2" group="" part="0"
file="vel_vec_1.vtr"/></div>
<div> <DataSet timestep="0.4" group="" part="0"
file="vel_vec_2.vtr"/></div>
<div> <DataSet timestep="0.6" group="" part="0"
file="vel_vec_3.vtr"/></div>
<div> <DataSet timestep="0.8" group="" part="0"
file="vel_vec_4.vtr"/></div>
<div> <DataSet timestep="1.0" group="" part="0"
file="vel_vec_5.vtr"/></div>
<div> <DataSet timestep="1.2" group="" part="0"
file="vel_vec_6.vtr"/></div>
<div> <DataSet timestep="1.4" group="" part="0"
file="vel_vec_7.vtr"/></div>
<div> <DataSet timestep="1.6" group="" part="0"
file="vel_vec_8.vtr"/></div>
<div> <DataSet timestep="1.8" group="" part="0"
file="vel_vec_9.vtr"/></div>
<div> <DataSet timestep="2.0" group="" part="0"
file="vel_vec_10.vtr"/></div>
<div> </Collection></div>
<div></VTKFile></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>2- Click on my data and create a "Temporal Cache" with
"Cache Size=2". </div>
<div><br>
</div>
<div>3- From "Sources", I create a "Line". </div>
<div><br>
</div>
<div>4- Click on TemporalCache1 and create a
ParticleTracer. </div>
<div> When the menu pops up, I choose </div>
<div> a) Input: TemporalCache1</div>
<div> b) Source: Line1</div>
<div>
Right after I click Ok, this is the message I get
(note that this message is shown even before giving me the
chance to change any flags on the "Properties" section
related to the "ParticleTracer1".</div>
<div>
<table style="margin:4px">
<tbody>
<tr>
<td style="border-style:none">
<p style="margin:0px"><span style="font-family:Courier;font-size:9pt;color:rgb(128,0,0)">/home/utkarsh/Kitware/superbuild/paraview/src/paraview/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx,
line 934</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:9pt;color:rgb(128,0,0)">vtkPVPostFilterExecutive (0x4db4870): No
maximum number of pieces has been set in the
information for output port 0 on algorithm
vtkPVPostFilter(0x4777fd0).</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:9pt;color:rgb(128,0,0)"><br>
</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>Luckily, Paraview does not crash and I can continue. </div>
<div>After doing some research, I am guessing that this has
something to do with the time conflicts (Pipeline fed into
the filter and the animation viewer time). </div>
<div><br>
</div>
<div><b>Observation:</b> Right after I create the
ParticleTracer and receive the error message, the time
shown in the animation viewer is increased from "0.0" to
"0.2". Why? </div>
<div><br>
</div>
<div>5- Recommended by the powerpoint, I set </div>
<div> a) Time Step: True (1) </div>
<div> b) Ignore Pipeline Time: True (1)</div>
<div><br>
</div>
<div><br>
</div>
<div>6- Now, I use "Animation View" as directed by the same
powerpoint to feed the time into the ParticleTracer1
filter. </div>
<div> a) Mode: Sequence</div>
<div> b) Create a keyframe for "ParticleTracer1".
Double click on the bar and set: </div>
<div>
<div> 1: time: 0.2, (interpolation
ramp), value: 1</div>
</div>
<div>
<div> 2: time: 1.8, (), value: 9 </div>
</div>
<div><br>
</div>
<div>Note: I have varied all the combinations listed above
to include/exclude the last/first steps. No luck! Nothing
really happening. </div>
<div> </div>
<div>7- Play animation. Result: nothing happening? What is
going on? </div>
<div><br>
</div>
<div><br>
</div>
<div><b>Observation: Using Paraview 3.8, I could see the
animation without adjusting any parameters in the
"Animation View" menu. Just the annoying error message
was shown. However, I could do the same thing with
Paraview 3.14, but it crashes after a few timesteps. </b></div>
<div><b><br>
</b></div>
<div>Anybody could share some hints on how to go about
this? </div>
<div><br>
</div>
<div>Thanks, </div>
<div>Mohanad</div>
<div><br>
</div>
<div> </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
</div>
<br>
</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>