constantDrift Class Reference

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...

Inheritance diagram for constantDrift:
[legend]
Collaboration diagram for constantDrift:
[legend]

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< driftModelclone () const
 
virtual ~driftModel ()=default
 Destructor. More...
 
const populationBalanceModelpopBal () 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< driftModelNew (const word &type, const populationBalanceModel &popBal, const dictionary &dict)
 
- Protected Attributes inherited from driftModel
const populationBalanceModelpopBal_
 Reference to the populationBalanceModel. More...
 

Detailed Description

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.

Source files

Definition at line 57 of file constantDrift.H.

Constructor & Destructor Documentation

◆ constantDrift()

constantDrift ( const populationBalanceModel popBal,
const dictionary dict 
)

Definition at line 49 of file constantDrift.C.

References Foam::dimVolume, and Foam::inv().

Here is the call graph for this function:

◆ ~constantDrift()

virtual ~constantDrift ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "constant"  )

Runtime type information.

◆ correct()

void correct ( )
virtual

Correct diameter independent expressions.

Reimplemented from driftModel.

Definition at line 72 of file constantDrift.C.

References forAll, sizeGroup::phase(), and sizeGroup::x().

Here is the call graph for this function:

◆ addToDriftRate()

void addToDriftRate ( volScalarField driftRate,
const label  i 
)
virtual

Add to driftRate.

Implements driftModel.

Definition at line 85 of file constantDrift.C.

References sizeGroup::phase(), rho, and phase::rho().

Here is the call graph for this function:

The documentation for this class was generated from the following files: