Public Member Functions | Protected Attributes | List of all members
MultiComponentPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a phase with multiple species. Returns the species' mass fractions, and their governing equations. More...

Inheritance diagram for MultiComponentPhaseModel< BasePhaseModel >:
Inheritance graph
[legend]
Collaboration diagram for MultiComponentPhaseModel< BasePhaseModel >:
Collaboration graph
[legend]

Public Member Functions

 MultiComponentPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~MultiComponentPhaseModel ()
 Destructor. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual tmp< fvScalarMatrixYiEqn (volScalarField &Yi)
 Return the species fraction equation. More...
 
virtual const PtrList< volScalarField > & Y () const
 Constant access the species mass fractions. More...
 
virtual PtrList< volScalarField > & Y ()
 Access the species mass fractions. More...
 

Protected Attributes

dimensionedScalar Sc_
 Schmidt number. More...
 
dimensionedScalar residualAlpha_
 Residual phase fraction. More...
 
label inertIndex_
 Inert species index. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::MultiComponentPhaseModel< BasePhaseModel >

Class which represents a phase with multiple species. Returns the species' mass fractions, and their governing equations.

Source files

Definition at line 50 of file MultiComponentPhaseModel.H.

Constructor & Destructor Documentation

MultiComponentPhaseModel ( const phaseSystem fluid,
const word phaseName,
const label  index 
)
virtual ~MultiComponentPhaseModel ( )
virtual

Destructor.

Member Function Documentation

virtual void correctThermo ( )
virtual

Correct the thermodynamics.

virtual tmp<fvScalarMatrix> YiEqn ( volScalarField Yi)
virtual

Return the species fraction equation.

virtual const PtrList<volScalarField>& Y ( ) const
virtual

Constant access the species mass fractions.

virtual PtrList<volScalarField>& Y ( )
virtual

Access the species mass fractions.

Member Data Documentation

dimensionedScalar Sc_
protected

Schmidt number.

Definition at line 59 of file MultiComponentPhaseModel.H.

dimensionedScalar residualAlpha_
protected

Residual phase fraction.

Definition at line 62 of file MultiComponentPhaseModel.H.

label inertIndex_
protected

Inert species index.

Definition at line 65 of file MultiComponentPhaseModel.H.


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