Particle streamlines with paraview
hi all,
does somebody know how to generate streamlines of lagrangian particles? thanx in advance stephan |
From my experience with paravi
From my experience with paraview (and the data that is written out by Foam) I'd tend to this answer: not without doing some programming
As it is that positional data of the particles is written out for the current timestep. So there are two routes: - write a filter for paraview that merges the particle data for some timesteps (good luck) - rewrite the solver (==write a subclass to the particle class) to write data for one particle to one file (and then you'd still have to write a converter to get that stuff into paraview/VTK in a usable form) The second approach has the avantage that you could visualize these trajectories with something like gnuplot if you don't need the fields-data. |
Forgot. There's an 'easier' wa
Forgot. There's an 'easier' way: if your particles are identified by an id and that id is written out (indexedParticle) the trajectory can be reconstructed from the regular data without modifying the solver (you'll have to write a script or a program anyway)
If I'm totally mistaken and there is another (easier) way to plot particle trajectories I'd be interested too. |
hi bernhard,,
thanx for the
hi bernhard,,
thanx for the answer. since i am not sure how to write the paraview filter, i will go the script-way. maybe it is enough to change the position-files... stephan |
Hi Stephan,
Do you have made some script or you have some method to plot the particle pathline? I am thinking about this as well. Bin |
Hey gschaider:
Do you have finished the work? Would you like to give me some hint on it? Thanks a lot |
Quote:
Bernhard |
All times are GMT -4. The time now is 11:16. |