MPPICFoam in Paraview - Density of particles
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. :confused: http://www.cadene.net/Images/Profil_ATR.png 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. |
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/ |
All times are GMT -4. The time now is 10:40. |