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

[OpenFOAM] MPPICFoam in Paraview - Density of particles

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2019, 16:46
Default MPPICFoam in Paraview - Density of particles
  #1
New Member
 
Adrien
Join Date: Jan 2018
Posts: 19
Rep Power: 8
Destouches is on a distinguished road
Hi all,


I'm enjoying some particle tracking with MPPICFoam, compiling it with foamToEnsight and visualizing it in salome/Paraview.



I'm doing everything I can, but there is no way to visualize a colored map of particule density, the only way is a monochrome particle cloud, which is not that useful.







My work is based on the glorious "injectionChannel" tutorial (if you never ran it, do it, it is really nice to look at).


Is there a trick I am missing ? How to extract and visualize a particles/cm³ 2D map ?

Do I have to write a dedicated script ?



Cheers,


A.
Destouches is offline   Reply With Quote

Old   May 10, 2019, 07:01
Default
  #2
New Member
 
bob
Join Date: Jan 2012
Posts: 5
Rep Power: 14
piranha007 is on a distinguished road
Hi Destouches, nice simulation. I also came across the same question, how to visualize the density of the particles, and my solution was:

1- Extract cloud position and save it in a .csv file (File -> Save Data)
2- Use a gaussian-KDE(Gaussian kernel density estimation), to visualize the cloud density https://python-graph-gallery.com/86-...th-2d-density/
piranha007 is offline   Reply With Quote

Reply

Tags
density, mppicfoam, paraview, particles


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
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 02:52
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release FJSJ OpenFOAM Installation 2 July 23, 2017 06:48
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 14:24
Lagrangian particles (change density and diameter) kel85uk OpenFOAM 1 July 22, 2011 05:01


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