Constant drift rate within all classes. Used for verification and validation of the drift formulation implemented in the populationBalanceModel class. Rate is calculated from fvOptions mass source. More...
Public Member Functions | |
TypeName ("constant") | |
Runtime type information. More... | |
constantDrift (const populationBalanceModel &popBal, const dictionary &dict) | |
virtual | ~constantDrift ()=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... | |
virtual void | correct () |
Correct diameter independent expressions. More... | |
virtual void | addToDriftRate (volScalarField &driftRate, const label i)=0 |
Add to driftRate. 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... | |
Constant drift rate within all classes. Used for verification and validation of the drift formulation implemented in the populationBalanceModel class. Rate is calculated from fvOptions mass source.
Definition at line 57 of file constantDrift.H.
constantDrift | ( | const populationBalanceModel & | popBal, |
const dictionary & | dict | ||
) |
Definition at line 49 of file constantDrift.C.
References Foam::dimVolume, and Foam::inv().
|
virtualdefault |
Destructor.
TypeName | ( | "constant" | ) |
Runtime type information.
|
virtual |
Correct diameter independent expressions.
Reimplemented from driftModel.
Definition at line 72 of file constantDrift.C.
References forAll, sizeGroup::phase(), and sizeGroup::x().
|
virtual |
Add to driftRate.
Implements driftModel.
Definition at line 85 of file constantDrift.C.
References sizeGroup::phase(), rho, and phase::rho().