Drift induced by 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 () |
Destructor. More... | |
virtual void | precompute () |
Precompute 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 () |
Destructor. More... | |
const populationBalanceModel & | popBal () const |
Return reference to the populationBalanceModel. More... | |
const dictionary & | dict () const |
Return reference to model dictionary. 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... | |
const dictionary | dict_ |
Model dictionary. More... | |
Drift induced by 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 54 of file phaseChange.H.
phaseChange | ( | const populationBalanceModel & | popBal, |
const dictionary & | dict | ||
) |
Construct from a population balance model and a dictionary.
Definition at line 47 of file phaseChange.C.
References Foam::dimLength, Foam::dimVolume, forAll, IOobject::groupName(), Foam::inv(), populationBalanceModel::mesh(), dimensioned< Type >::name(), Foam::name(), driftModel::popBal_, fvMesh::time(), Foam::typedName(), and Foam::Zero.
|
inlinevirtual |
Destructor.
Definition at line 94 of file phaseChange.H.
TypeName | ( | "phaseChange" | ) |
Runtime type information.
|
virtual |
Precompute diameter independent expressions.
Reimplemented from driftModel.
Definition at line 91 of file phaseChange.C.
References sizeGroup::a(), phaseModel::diameter(), forAll, forAllConstIter, k, Foam::max(), sizeGroup::phase(), velocityGroup::sizeGroups(), sizeGroup::x(), and Foam::Zero.
|
virtual |
Add to driftRate.
Implements driftModel.
Definition at line 127 of file phaseChange.C.
References sizeGroup::a(), forAll, IOobject::groupName(), k, DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), diameterModel::phase(), sizeGroup::phase(), tmp< T >::ref(), phaseModel::rho(), and velocityGroup::sizeGroups().