<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi, Utkarsh,</DIV>
<DIV> </DIV>
<DIV>Yap! That is the issue. After unchecked the "Have Headers" box, now I am able to animate through time. Thansk a lot! Now I am REALLY happy!</DIV>
<DIV> </DIV>
<DIV>Wish you all the paraview developers/users have a Merry Christmas and a Happy New Year!</DIV>
<DIV> </DIV>
<DIV>Pei<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Utkarsh Ayachit <utkarsh.ayachit@kitware.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Pei-Ying Hsieh <phsieh2005@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> paraview <paraview@paraview.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Fri, December 18, 2009 1:02:21 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Paraview] particle motion animation - can someone help?<BR></FONT><BR>Since your csv files don't have any header column, make sure that you<BR>uncheck the "Have Headers" check box on the reader panel.<BR><BR>Utkarsh<BR><BR>On Fri, Dec 18, 2009 at 10:22 AM, Pei-Ying Hsieh <<A href="mailto:phsieh2005@yahoo.com" ymailto="mailto:phsieh2005@yahoo.com">phsieh2005@yahoo.com</A>> wrote:<BR>> Dear Paraview user group:<BR>><BR>> I would like to plot/animate the motion of particles. The particles
were<BR>> initially randomly distributed within a Xmin Ymin Xmax Ymax domain. The<BR>> particles are then start to move toward a magnetic source. I can done<BR>> calculating the positions of each partcile at each time step. What format<BR>> should I use so that paraview can handle ploting/animate the positions of<BR>> the particles? (the particle sizes are also randomly distributed, it will be<BR>> nice to show the particle size based on the same scaling).<BR>><BR>> I made up 10 csv files each with x,y,z,d. Each csv corresponds to each time<BR>> step. I am using paraview 3.6.1 (MS windows version).<BR>><BR>> the filenames are output1.csv, output2.csv, output3.csv....<BR>><BR>> When I first opened the files, I chose output..csv (I think that this will<BR>> open all the csv files). Hit apply, I got output* in the pipeline browser.<BR>> Then, I did filter/TableToPoints and
chose the X Column, Y Column, Z Column.<BR>> Hit apply.<BR>> Then did "Split Horizontal" to create a new display window and select "3D<BR>> View".<BR>> Then, Filter/Glyph. change Glyph type to sphere, change scale mode to<BR>> scalar, hit apply.<BR>><BR>> This got me all the particles with correct size.<BR>> However, when I press "Play" button to animate, I got the following error:<BR>><BR>> ERROR: In ..\..\..\src\VTK\Graphics\vtkTableToPolyData.cxx, line 111<BR>> vtkTableToPolyData (06CC5D88): Failed to locate the columns to use for the<BR>> point coordinates<BR>> ERROR: In ..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 757<BR>> vtkCompositeDataPipeline (06CC6028): Algorithm vtkTableToPolyData(06CC5D88)<BR>> returned failure for request: vtkInformation (06C661F0)<BR>> Debug: Off<BR>> Modified Time: 314249<BR>> Reference Count: 1<BR>> Registered Events:
(none)<BR>> Request: REQUEST_DATA<BR>> FROM_OUTPUT_PORT: 0<BR>> FORWARD_DIRECTION: 0<BR>> ALGORITHM_AFTER_FORWARD: 1<BR>> -----------------------------------------------<BR>><BR>> If I open each .csv file indivisually and go through the steps above<BR>> (without the animation), I got a nice plot of the particles. So, each csv<BR>> file seems to be fine.<BR>><BR>> Did I miss any step so that animation does not work?<BR>><BR>> Pei<BR>><BR>> I attached the csv file I made up so that you can check if the csv files are<BR>> not correctly formatted.<BR>><BR>><BR>> _______________________________________________<BR>> Powered by <A href="http://www.kitware.com/" target=_blank>www.kitware.com</A><BR>><BR>> Visit other Kitware open-source projects at<BR>> http://www.kitware.com/opensource/opensource.html<BR>><BR>> Please keep messages on-topic and check
the ParaView Wiki at:<BR>> http://paraview.org/Wiki/ParaView<BR>><BR>> Follow this link to subscribe/unsubscribe:<BR>> http://www.paraview.org/mailman/listinfo/paraview<BR>><BR>><BR></DIV></DIV></div><br>
</body></html>