densityChangeDrift Class Reference

Drift rate induced by changes in density. More...

Inheritance diagram for densityChangeDrift:
Collaboration diagram for densityChangeDrift:

Public Member Functions

 TypeName ("densityChange")
 Runtime type information. More...
 densityChangeDrift (const populationBalanceModel &popBal, const dictionary &dict)
virtual ~densityChangeDrift ()
 Destructor. 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 ()
 Destructor. More...
const populationBalanceModelpopBal () const
 Return reference to the populationBalanceModel. More...
const dictionarydict () const
 Return reference to model dictionary. More...
virtual void precompute ()
 Precompute diameter independent expressions. 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...
const dictionary dict_
 Model dictionary. More...

Detailed Description

Drift rate induced by changes in density.

Source files

Definition at line 52 of file densityChange.H.

Constructor & Destructor Documentation

◆ densityChangeDrift()

densityChangeDrift ( const populationBalanceModel popBal,
const dictionary dict 

Definition at line 49 of file densityChange.C.

◆ ~densityChangeDrift()

virtual ~densityChangeDrift ( )


Definition at line 71 of file densityChange.H.

Member Function Documentation

◆ TypeName()

TypeName ( "densityChange"  )

Runtime type information.

◆ addToDriftRate()

void addToDriftRate ( volScalarField driftRate,
const label  i 

Add to driftRate.

Implements driftModel.

Definition at line 61 of file densityChange.C.

References alpha(), phaseModel::alphaPhi(), phaseModel::alphaRhoPhi(), Foam::fvc::ddt(), Foam::fvc::div(), sizeGroup::phase(), phaseModel::rho(), rho, Foam::fvc::Sp(), and sizeGroup::x().

Here is the call graph for this function:

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