<HTML>
<HEAD>
<TITLE>Re: [Paraview] multiple time steps and particle tracing</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I can see the problem with the data set you sent. I posted a bug report for it:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><a href="http://www.paraview.org/Bug/view.php?id=9435">http://www.paraview.org/Bug/view.php?id=9435</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
I’m pretty sure that this bug is caused by a non-feature of ParaView that causes the data type of the input of a temporal shift scale (and some other temporal filters) to spontaneously convert to temporal data. John B. is supposed to be working on that. I have no idea what the eta is.<BR>
<BR>
I still think the particle tracer does about what you are looking for. I’m not really the right person to give advice here as I have limited experience with the filter (again John B is the expert), but if you only want to inject points at the first time step, you should be able to do that by setting the “Force Reinjection Every NSteps” parameter to something very large.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 8/11/09 2:36 PM, "Adam Wiktor" <<a href="awiktor@emory.edu">awiktor@emory.edu</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi John and Ken,<BR>
<BR>
Paraview seems to read the data fine. If I just load the data and don't apply the temporal shift scale, I don't get any error messages as I go through the frames. As soon as I apply the temporal shift scale and try to change time points, though, I get the error.<BR>
<BR>
I've attached three time points out of the twenty that I'm using (the number in the file name is the time in ms). I checked, and paraview still gives me the error when only using these three. What I do is open the "Velocity-..vti" in paraview. I then click apply, and everything is still fine. When I apply the temporal shift scale filter, I don't get a message right away, but as soon as I go to the next frame (or any other frame) I get the error I mentioned. Do you know what could be wrong?<BR>
<BR>
Also, I'm not completely sure that particletracer is what I'm looking for. What I need is something that's basically the same as the streamtracer, but that would incorporate the differences in the velocity in each of the time points. It would place a seed and integrate like the streamtracer up to the next time step, but then use the velocities in the next frame to continue the integration. Is that what the particle tracer does? And if so, what do I use as the input for port 1?<BR>
<BR>
Thanks for the help,<BR>
<BR>
Adam<BR>
<BR>
<BR>
On Tue, Aug 11, 2009 at 1:43 AM, John Biddiscombe <<a href="biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Adam<BR>
<BR>
The first error is nothing to do with time, check how you are reading the data, something is not right. but I cannot diagnose it from here.<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Also, back when I wasn't getting this error message, I tried applying the ParticleTracer filter, and got the following error message:<BR>
<BR>
ERROR: In /home/awiktor/Desktop/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 728 vtkCompositeDataPipeline (0x11e2a10): Input port 1 of algorithm vtkTemporalStreamTracer(0x5be0420) has 0 connections but is not optional.<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The ParticleTracer requires an input vector field and a seed point input. Same as for the Streamtracer, the first error you mentioned is probably causing one input to be null (port 0 = vector field, port 1 = seed points).<BR>
<BR>
JB<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>