driftModel Class Referenceabstract

Base class for drift models. More...

Inheritance diagram for driftModel:
Collaboration diagram for driftModel:


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

Static Public Member Functions

static autoPtr< driftModelNew (const word &type, const populationBalanceModel &popBal, const dictionary &dict)

Protected Attributes

const populationBalanceModelpopBal_
 Reference to the populationBalanceModel. More...

Detailed Description

Base class for drift models.

Source files

Definition at line 52 of file driftModel.H.

Constructor & Destructor Documentation

◆ driftModel()

driftModel ( const populationBalanceModel popBal,
const dictionary dict 

Definition at line 74 of file driftModel.C.

◆ ~driftModel()

virtual ~driftModel ( )


Member Function Documentation

◆ TypeName()

TypeName ( "driftModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
driftModel  ,
dictionary  ,
(const populationBalanceModel &popBal, const dictionary &dict ,
(popBal, dict  

◆ clone()

autoPtr<driftModel> clone ( ) const

Definition at line 113 of file driftModel.H.

References NotImplemented.

◆ New()

Foam::autoPtr< Foam::diameterModels::driftModel > New ( const word type,
const populationBalanceModel popBal,
const dictionary dict 

Definition at line 48 of file driftModel.C.

References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInLookup.

Referenced by driftModel::iNew::operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popBal()

const populationBalanceModel& popBal ( ) const

Return reference to the populationBalanceModel.

Definition at line 137 of file driftModel.H.

References driftModel::popBal_.

◆ correct()

void correct ( )

Correct diameter independent expressions.

Reimplemented in phaseChange, and constantDrift.

Definition at line 85 of file driftModel.C.

◆ addToDriftRate()

virtual void addToDriftRate ( volScalarField driftRate,
const label  i 
pure virtual

Add to driftRate.

Implemented in phaseChange, constantDrift, and densityChangeDrift.

Member Data Documentation

◆ popBal_

const populationBalanceModel& popBal_

Reference to the populationBalanceModel.

Definition at line 59 of file driftModel.H.

Referenced by constantDrift::correct(), phaseChange::correct(), and driftModel::popBal().

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