|
[Sponsors] |
August 2, 2016, 09:57 |
Updating rho in ReactingMultiphaseParcel
|
#1 |
New Member
Amir
Join Date: Feb 2012
Posts: 12
Rep Power: 14 |
I'm using ReactingMultiphaseParcel in my simulation. I found that in a particle either volume or density can change .
Code:
// Update particle density or diameter if (td.cloud().constProps().constantVolume()) { this->rho_ = mass1/this->volume(); } else { this->d_ = cbrt(mass1/this->rho_*6.0/pi); } Is'n it better to calculate effective density based on mass fraction of different components (similar to CpEff) and then calculate particle diameter? In this way both density and size can change at the same time. Does anyone have any idea about this? |
|
August 2, 2016, 10:21 |
|
#2 |
New Member
Amir
Join Date: Feb 2012
Posts: 12
Rep Power: 14 |
Some thing like this
Code:
// Update particle density or diameter if (td.cloud().constProps().constantVolume()) { this->rho_ = mass1/this->volume(); } else { this->rho_ = rhoEff(td, pc, T0, idG, idL, idS); this->d_ = cbrt(mass1/this->rho_*6.0/pi); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem about Rotor simulation whit high rotating speed | Thomas pan | OpenFOAM Running, Solving & CFD | 4 | June 20, 2018 06:24 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |
what does this verbose error mean? | immortality | OpenFOAM Running, Solving & CFD | 1 | February 6, 2013 16:47 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
Error log | vw.cfd | OpenFOAM | 6 | August 7, 2009 05:44 |