Drift induced by interfacial phase change. By default phase change mass flux is distributed between sizeGroups of each velocityGroup with phase change based on interfacial area of each size group. More...
Public Member Functions | |
TypeName ("phaseChange") | |
Runtime type information. More... | |
phaseChange (const populationBalanceModel &popBal, const dictionary &dict) | |
Construct from a population balance model and a dictionary. More... | |
virtual | ~phaseChange ()=default |
Destructor. More... | |
virtual void | correct () |
Correct diameter independent expressions. More... | |
virtual void | addToDriftRate (volScalarField &driftRate, const label i) |
Add to driftRate. More... | |
Public Member Functions inherited from driftModel | |
TypeName ("driftModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, driftModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict)) | |
driftModel (const populationBalanceModel &popBal, const dictionary &dict) | |
autoPtr< driftModel > | clone () const |
virtual | ~driftModel ()=default |
Destructor. More... | |
const populationBalanceModel & | popBal () const |
Return reference to the populationBalanceModel. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from driftModel | |
static autoPtr< driftModel > | New (const word &type, const populationBalanceModel &popBal, const dictionary &dict) |
Protected Attributes inherited from driftModel | |
const populationBalanceModel & | popBal_ |
Reference to the populationBalanceModel. More... | |
Drift induced by interfacial phase change. By default phase change mass flux is distributed between sizeGroups of each velocityGroup with phase change based on interfacial area of each size group.
Definition at line 52 of file phaseChange.H.
phaseChange | ( | const populationBalanceModel & | popBal, |
const dictionary & | dict | ||
) |
Construct from a population balance model and a dictionary.
Definition at line 45 of file phaseChange.C.
References Foam::dimLength, Foam::dimVolume, fluid, forAll, Foam::inv(), phasePair::name(), and Foam::Zero.
|
virtualdefault |
Destructor.
TypeName | ( | "phaseChange" | ) |
Runtime type information.
|
virtual |
Correct diameter independent expressions.
Reimplemented from driftModel.
Definition at line 86 of file phaseChange.C.
References phasePair::contains(), sizeGroup::d(), fluid, populationBalanceModel::fluid(), forAll, k, Foam::max(), diameterModel::phase(), sizeGroup::phase(), driftModel::popBal_, velocityGroup::sizeGroups(), populationBalanceModel::velocityGroups(), and sizeGroup::x().
|
virtual |
Add to driftRate.
Implements driftModel.
Definition at line 122 of file phaseChange.C.
References phasePair::contains(), sizeGroup::d(), Pair< T >::first(), forAll, IOobject::groupName(), k, DimensionedField< Type, GeoMesh >::mesh(), phasePair::name(), phaseModel::name(), diameterModel::phase(), sizeGroup::phase(), tmp< T >::ref(), phaseModel::rho(), velocityGroup::sizeGroups(), and sizeGroup::x().