Loading...
Searching...
No Matches
driftModel Class Referenceabstract

Base class for drift models. More...

#include <driftModel.H>

Inheritance diagram for driftModel:
Collaboration diagram for driftModel:

Classes

class  iNew
 Class used for the read-construction of. More...

Public Member Functions

 TypeName ("driftModel")
 Runtime type information.
 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.
const populationBalanceModelpopBal () const
 Return reference to the populationBalanceModel.
virtual void correct ()
 Correct diameter independent expressions.
virtual void addToDriftRate (volScalarField &driftRate, const label i)=0
 Add to driftRate.

Static Public Member Functions

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

Protected Attributes

const populationBalanceModelpopBal_
 Reference to the populationBalanceModel.

Detailed Description

Base class for drift models.

Source files

Definition at line 48 of file driftModel.H.

Constructor & Destructor Documentation

◆ driftModel()

driftModel ( const populationBalanceModel & popBal,
const dictionary & dict )

Definition at line 66 of file driftModel.C.

References dict, popBal(), and popBal_.

Referenced by constantDrift::constantDrift(), declareRunTimeSelectionTable(), densityChangeDrift::densityChangeDrift(), and phaseChange::phaseChange().

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

◆ ~driftModel()

virtual ~driftModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "driftModel" )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

References dict, driftModel(), and popBal().

Here is the call graph for this function:

◆ clone()

autoPtr< driftModel > clone ( ) const
inline

Definition at line 116 of file driftModel.H.

References NotImplemented.

◆ New()

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

Definition at line 40 of file driftModel.C.

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

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

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

◆ popBal()

◆ correct()

void correct ( )
virtual

Correct diameter independent expressions.

Reimplemented in constantDrift, and phaseChange.

Definition at line 78 of file driftModel.C.

◆ addToDriftRate()

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

Add to driftRate.

Implemented in constantDrift, densityChangeDrift, and phaseChange.

Member Data Documentation

◆ popBal_


The documentation for this class was generated from the following files:
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/populationBalanceModel/driftModels/driftModel/driftModel.H
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/populationBalanceModel/driftModels/driftModel/driftModel.C