How to plot particle trajectory in paraview
Hello all,
I have Lagrangian data (particle id, diameter, and velocity) came from particulate flow simulation with OpenFOAM and I wanted to plot the particle trajectories inside the paraview. I have created the VTK files through the time. Thank you very much for your help. Behzad |
Hi,
this is an old question, but maybe someone still needs this. Please look here: https://openfoamwiki.net/index.php/H..._based_methods You probably already did Code:
foamToVTK Next, you need the particleTracksProperties dict: Code:
cp $FOAM_UTILITIES/postProcessing/lagrangian/particleTracks/particleTracksProperties <CASE>/constant/ Next, you need to create the particle positions in VTK format: Code:
particleTracks Then, in paraview, open the vtk files from VTK/lagrangian/kinematicCloud, apply glyph filter, and apply temporalParticlesToPathlines filter. Klick the play button, and trajectories should start to be displayed with the particle movement. |
All times are GMT -4. The time now is 12:37. |