phaseChange Class Reference

Drift induced by phase change. By default phase change mass flux is distributed between sizeGroups of each velocityGroup with phase change based on interfacial area of each size group. More...

Inheritance diagram for phaseChange:
Collaboration diagram for phaseChange:

Public Member Functions

 TypeName ("phaseChange")
 Runtime type information. More...
 
 phaseChange (const populationBalanceModel &popBal, const dictionary &dict)
 Construct from a population balance model and a dictionary. More...
 
virtual ~phaseChange ()
 Destructor. More...
 
virtual void precompute ()
 Precompute 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 ()
 Destructor. More...
 
const populationBalanceModelpopBal () const
 Return reference to the populationBalanceModel. More...
 
const dictionarydict () const
 Return reference to model dictionary. 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 induced by phase change. By default phase change mass flux is distributed between sizeGroups of each velocityGroup with phase change based on interfacial area of each size group.

Source files

Definition at line 54 of file phaseChange.H.

Constructor & Destructor Documentation

◆ phaseChange()

phaseChange ( const populationBalanceModel popBal,
const dictionary dict 
)

Construct from a population balance model and a dictionary.

Definition at line 47 of file phaseChange.C.

References Foam::dimLength, Foam::dimVolume, forAll, IOobject::groupName(), Foam::inv(), populationBalanceModel::mesh(), dimensioned< Type >::name(), Foam::name(), driftModel::popBal_, fvMesh::time(), Foam::typedName(), and Foam::Zero.

Here is the call graph for this function:

◆ ~phaseChange()

virtual ~phaseChange ( )
inlinevirtual

Destructor.

Definition at line 94 of file phaseChange.H.

Member Function Documentation

◆ TypeName()

TypeName ( "phaseChange"  )

Runtime type information.

◆ precompute()

void precompute ( )
virtual

Precompute diameter independent expressions.

Reimplemented from driftModel.

Definition at line 91 of file phaseChange.C.

References sizeGroup::a(), phaseModel::diameter(), forAll, forAllConstIter, k, Foam::max(), sizeGroup::phase(), velocityGroup::sizeGroups(), sizeGroup::x(), and Foam::Zero.

Here is the call graph for this function:

◆ addToDriftRate()

void addToDriftRate ( volScalarField driftRate,
const label  i 
)
virtual

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