Loading...
Searching...
No Matches
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...

#include <constantDrift.H>

Inheritance diagram for constantDrift:
Collaboration diagram for constantDrift:

Public Member Functions

 TypeName ("constant")
 Runtime type information.
 constantDrift (const populationBalanceModel &popBal, const dictionary &dict)
virtual ~constantDrift ()=default
 Destructor.
virtual void correct ()
 Correct diameter independent expressions.
virtual void addToDriftRate (volScalarField &driftRate, const label i)
 Add to driftRate.
Public Member Functions inherited from driftModel
 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.

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.

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 53 of file constantDrift.H.

Constructor & Destructor Documentation

◆ constantDrift()

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

Definition at line 42 of file constantDrift.C.

References dict, Foam::dimVolume, driftModel::driftModel(), Foam::inv(), mesh, driftModel::popBal(), timeName, and Foam::Zero.

Here is the call graph for this function:

◆ ~constantDrift()

virtual ~constantDrift ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "constant" )

Runtime type information.

References dict, and driftModel::popBal().

Here is the call graph for this function:

◆ correct()

void correct ( )
virtual

Correct diameter independent expressions.

Reimplemented from driftModel.

Definition at line 65 of file constantDrift.C.

References forAll, sizeGroup::phase(), driftModel::popBal_, 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 78 of file constantDrift.C.

References fvOptions, sizeGroup::phase(), driftModel::popBal_, phase::rho(), and rho.

Here is the call graph for this function:

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