|
[Sponsors] |
[OpenFOAM] MPPICFoam in Paraview - Density of particles |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2019, 16:46 |
MPPICFoam in Paraview - Density of particles
|
#1 |
New Member
Adrien
Join Date: Jan 2018
Posts: 19
Rep Power: 8 |
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. |
|
May 10, 2019, 07:01 |
|
#2 |
New Member
bob
Join Date: Jan 2012
Posts: 5
Rep Power: 14 |
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/ |
|
Tags |
density, mppicfoam, paraview, particles |
|
|
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 |