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...
Public Member Functions | |
TypeName ("velocityGroup") | |
Runtime type information. More... | |
velocityGroup (const dictionary &diameterProperties, const phaseModel &phase) | |
Construct from dictionary and phase. More... | |
virtual | ~velocityGroup () |
Destructor. More... | |
const word & | popBalName () const |
Return name of populationBalance this velocityGroup belongs to. More... | |
const volScalarField & | f () const |
Return reference field for sizeGroup's. More... | |
const PtrList< sizeGroup > & | sizeGroups () const |
Return sizeGroups belonging to this velocityGroup. More... | |
virtual tmp< volScalarField > | d () const |
Get the diameter field. More... | |
virtual tmp< volScalarField > | a () const |
Get the surface area per unit volume field. More... | |
virtual void | correct () |
Correct the model. More... | |
virtual bool | read (const dictionary &diameterProperties) |
Read diameterProperties dictionary. More... | |
Public Member Functions inherited from diameterModel | |
TypeName ("diameterModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &diameterProperties, const phaseModel &phase),(diameterProperties, phase)) | |
diameterModel (const dictionary &diameterProperties, const phaseModel &phase) | |
Construct from dictionary and phase. More... | |
virtual | ~diameterModel () |
Destructor. More... | |
const dictionary & | diameterProperties () const |
Return the phase diameter properties dictionary. More... | |
const phaseModel & | phase () const |
Return the phase. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from diameterModel | |
static autoPtr< diameterModel > | New (const dictionary &diameterProperties, const phaseModel &phase) |
Select from dictionary and phase. More... | |
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 |
sizeGroups | List of sizeGroups |
Example
diameterModel velocityGroup; velocityGroupCoeffs { populationBalance bubbles; shapeModel constant; sizeGroups ( f0{dSph 1.00e-3; value 0;} f1{dSph 1.08e-3; value 0;} f2{dSph 1.16e-3; value 0.25;} f3{dSph 1.25e-3; value 0.5;} f4{dSph 1.36e-3; value 0.25;} f5{dSph 1.46e-3; value 0;} ... ); }
Definition at line 102 of file velocityGroup.H.
velocityGroup | ( | const dictionary & | diameterProperties, |
const phaseModel & | phase | ||
) |
Construct from dictionary and phase.
|
virtual |
Destructor.
TypeName | ( | "velocityGroup" | ) |
Runtime type information.
|
inline |
Return name of populationBalance this velocityGroup belongs to.
Definition at line 29 of file velocityGroupI.H.
Referenced by populationBalanceModel::isVelocityGroupPair().
|
inline |
Return reference field for sizeGroup's.
Definition at line 36 of file velocityGroupI.H.
|
inline |
Return sizeGroups belonging to this velocityGroup.
Definition at line 43 of file velocityGroupI.H.
|
virtual |
Get the diameter field.
Implements diameterModel.
|
virtual |
Get the surface area per unit volume field.
Implements diameterModel.
|
virtual |
Correct the model.
Reimplemented from diameterModel.
|
virtual |
Read diameterProperties dictionary.
Reimplemented from diameterModel.