This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispersed bubbly or particulate flows. It can hold any number of sizeGroups from which the Sauter mean diameter is calculated. It can also be used as a diameterModel without a populationBalance and would then behave like a constantDiameter model. In this case, some arbitrary name must be entered for the populationBalance keyword. More...
Additional Inherited Members | |
![]() | |
static autoPtr< diameterModel > | New (const dictionary &dict, const phaseModel &phase) |
static autoPtr< diameterModel > | New (const dictionary &diameterProperties, const phaseModel &phase) |
static autoPtr< diameterModel > | New (const dictionary &dict, const phaseModel &phase) |
![]() | |
const dictionary & | dict_ |
const phaseModel & | phase_ |
dictionary | diameterProperties_ |
This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispersed bubbly or particulate flows. It can hold any number of sizeGroups from which the Sauter mean diameter is calculated. It can also be used as a diameterModel without a populationBalance and would then behave like a constantDiameter model. In this case, some arbitrary name must be entered for the populationBalance keyword.
Property | Description |
---|---|
populationBalance | Name of the corresponding populationBalance |
formFactor | Form factor for converting diameter into volume |
sizeGroups | List of sizeGroups |
Example
diameterModel velocityGroup; velocityGroupCoeffs { populationBalance bubbles; formFactor 0.5235987756; sizeGroups ( f0{d 1.00e-3; value 0;} f1{d 1.08e-3; value 0;} f2{d 1.16e-3; value 0.25;} f3{d 1.25e-3; value 0.5;} f4{d 1.36e-3; value 0.25;} f5{d 1.46e-3; value 0;} ... ); }
Definition at line 103 of file velocityGroup.H.
velocityGroup | ( | const dictionary & | diameterProperties, |
const phaseModel & | phase | ||
) |
Definition at line 140 of file velocityGroup.C.
References Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::mag(), Foam::max(), Foam::min(), phaseModel::name(), and Foam::nl.
|
virtual |
Definition at line 270 of file velocityGroup.C.
TypeName | ( | "velocityGroup" | ) |
|
inline |
Definition at line 24 of file velocityGroupI.H.
|
inline |
Definition at line 31 of file velocityGroupI.H.
|
inline |
Definition at line 38 of file velocityGroupI.H.
Referenced by sizeDistribution::write().
|
inline |
Definition at line 45 of file velocityGroupI.H.
Referenced by phaseChange::addToDriftRate(), constantNucleation::correct(), wallBoiling::correct(), and phaseChange::correct().
|
inline |
Definition at line 52 of file velocityGroupI.H.
Referenced by populationBalanceModel::solve().
|
inline |
Definition at line 59 of file velocityGroupI.H.
Referenced by populationBalanceModel::solve().
|
inline |
Definition at line 65 of file velocityGroupI.H.
void preSolve | ( | ) |
Definition at line 277 of file velocityGroup.C.
void postSolve | ( | ) |
Definition at line 283 of file velocityGroup.C.
References Foam::endl(), Foam::Info, Foam::max(), Foam::min(), and phaseModel::name().
|
virtual |
Implements diameterModel.
Definition at line 316 of file velocityGroup.C.
References diameterModel::read().
|
virtual |
Implements diameterModel.
Definition at line 325 of file velocityGroup.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.