Base class for drift models. More...
Classes | |
class | iNew |
Class used for the read-construction of. More... | |
Public Member Functions | |
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... | |
Static Public Member Functions | |
static autoPtr< driftModel > | New (const word &type, const populationBalanceModel &popBal, const dictionary &dict) |
Protected Attributes | |
const populationBalanceModel & | popBal_ |
Reference to the populationBalanceModel. More... | |
driftModel | ( | const populationBalanceModel & | popBal, |
const dictionary & | dict | ||
) |
Definition at line 73 of file driftModel.C.
|
virtualdefault |
Destructor.
TypeName | ( | "driftModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
driftModel | , | ||
dictionary | , | ||
(const populationBalanceModel &popBal, const dictionary &dict) | , | ||
(popBal, dict) | |||
) |
|
inline |
Definition at line 113 of file driftModel.H.
References NotImplemented.
|
static |
Definition at line 47 of file driftModel.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, driftModel::popBal(), and Foam::type().
|
inline |
Return reference to the populationBalanceModel.
Definition at line 137 of file driftModel.H.
References driftModel::popBal_.
Referenced by driftModel::New().
|
virtual |
Correct diameter independent expressions.
Reimplemented in constantDrift, and phaseChange.
Definition at line 85 of file driftModel.C.
|
pure virtual |
Add to driftRate.
Implemented in constantDrift, densityChangeDrift, and phaseChange.
|
protected |
Reference to the populationBalanceModel.
Definition at line 59 of file driftModel.H.
Referenced by phaseChange::phaseChange(), and driftModel::popBal().