CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] How to plot particle trajectory in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2016, 17:07
Default How to plot particle trajectory in paraview
  #1
New Member
 
Behzad
Join Date: Nov 2010
Posts: 4
Rep Power: 15
Behzad60 is on a distinguished road
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
Behzad60 is offline   Reply With Quote

Old   September 29, 2021, 08:05
Default
  #2
New Member
 
Kathrin Skinder
Join Date: Apr 2021
Location: Germany, Clausthal-Zellerfeld
Posts: 12
Rep Power: 5
ktron is on a distinguished road
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.
ktron is offline   Reply With Quote

Reply

Tags
openfoam 3.0.1, paraview 4.3, particle trajectories


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
visualize the particle with various diameter using Paraview openfoammaofnepo OpenFOAM 3 June 25, 2018 17:18
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 16:30
[OpenFOAM] Obtain the data which have been plot in paraView. izna ParaView 5 August 25, 2013 15:39
[OpenFOAM] Overlay scatter plot of experimental data on 'plot over line' in ParaView gcengineer ParaView 4 August 6, 2013 19:35
How to report the particle trajectory to a file Devy FLUENT 0 January 11, 2005 09:26


All times are GMT -4. The time now is 11:55.