CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   plot particles and animation in paraview (http://www.cfd-online.com/Forums/openfoam-paraview/71138-plot-particles-animation-paraview.html)

phsieh2005 December 16, 2009 14:51

plot particles and animation in paraview
 
Hi,

This is not CFD (or OpenFOAM) related. but, it will be highly appreciated if someone familar with paraview can help. I cannot post question on the paraview mailing list yet. So, I thought that I will try this forum first.

I did a simple particles under magnetic field calculation using perl as following:

initially, a couple of hundreds of particles are randomly distributed inside a domain (say, Xmin, Ymin, Xmax, Ymax) using a random generator. The size of the particles are also randomly generated.

The domain is then under magnetic field, this starts to track the particles toward the magnetic source.

I have aleady calculated the particle positions as a function of time. Now, I would like to plot the particles (including the size) as function of time, ie, animation.

What format should I use so that paraview can read the dataset in?
Any tutorial on paraview on something like this (how to do animation of particles in paraview)?

Thanks!

Pei

startingWithCFD July 26, 2013 05:35

Hello! Sorry to bump this old thread, but have you found an answer to your problem?
Could you please provide a small example of a particle file?


All times are GMT -4. The time now is 14:41.