phaseChange Class Reference

Drift induced by interfacial 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:
[legend]
Collaboration diagram for phaseChange:
[legend]

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 ()=default
 Destructor. More...
 
virtual void correct ()
 Correct 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 ()=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...
 

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

Detailed Description

Drift induced by interfacial 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 56 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 51 of file phaseChange.C.

References Foam::dimLength, Foam::dimVolume, fluid, populationBalanceModel::fluid(), forAll, IOobject::groupName(), Foam::inv(), populationBalanceModel::mesh(), phasePair::name(), phaseSystem::phasePairs(), driftModel::popBal_, fvMesh::time(), Time::timeName(), Foam::type(), and Foam::Zero.

Here is the call graph for this function:

◆ ~phaseChange()

virtual ~phaseChange ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "phaseChange"  )

Runtime type information.

◆ correct()

void correct ( )
virtual

Correct diameter independent expressions.

Reimplemented from driftModel.

Definition at line 93 of file phaseChange.C.

References phasePair::contains(), sizeGroup::d(), fluid, forAll, k, Foam::max(), diameterModel::phase(), sizeGroup::phase(), velocityGroup::sizeGroups(), 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 128 of file phaseChange.C.

References phasePair::contains(), sizeGroup::d(), FixedList< T, N >::first(), forAll, IOobject::groupName(), k, DimensionedField< Type, GeoMesh >::mesh(), phaseModel::name(), phasePair::name(), diameterModel::phase(), sizeGroup::phase(), tmp< T >::ref(), phaseModel::rho(), velocityGroup::sizeGroups(), and sizeGroup::x().

Here is the call graph for this function:

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