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

#include <phaseChange.H>

Inheritance diagram for phaseChange:
Collaboration diagram for phaseChange:

Public Member Functions

 TypeName ("phaseChange")
 Runtime type information.
 phaseChange (const populationBalanceModel &popBal, const dictionary &dict)
 Construct from a population balance model and a dictionary.
virtual ~phaseChange ()=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

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 52 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 44 of file phaseChange.C.

References dict, Foam::dimLength, Foam::dimVolume, driftModel::driftModel(), fluid, forAll, IOobject::groupName(), Foam::inv(), phasePair::name(), driftModel::popBal(), driftModel::popBal_, IOobject::scopedName(), 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.

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 86 of file phaseChange.C.

References phasePair::contains(), sizeGroup::d(), fluid, forAll, k, Foam::max(), diameterModel::phase(), sizeGroup::phase(), driftModel::popBal_, velocityGroup::sizeGroups(), and sizeGroup::x().

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:
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/populationBalanceModel/driftModels/phaseChange/phaseChange.H
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/populationBalanceModel/driftModels/phaseChange/phaseChange.C