Public Member Functions | Protected Attributes
PurePhaseModel< BasePhaseModel > Class Template Reference

Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions. More...

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

Public Member Functions

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

Protected Attributes

PtrList< volScalarFieldY_
 Empty mass fraction field list. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::PurePhaseModel< BasePhaseModel >

Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions.

Source files

Definition at line 50 of file PurePhaseModel.H.

Constructor & Destructor Documentation

◆ PurePhaseModel()

PurePhaseModel ( const phaseSystem fluid,
const word phaseName,
const label  index 
)

◆ ~PurePhaseModel()

virtual ~PurePhaseModel ( )
virtual

Destructor.

Member Function Documentation

◆ YiEqn()

virtual tmp<fvScalarMatrix> YiEqn ( volScalarField Yi)
virtual

Return the species fraction equation.

◆ Y() [1/2]

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

Return the species mass fractions.

◆ Y() [2/2]

virtual PtrList<volScalarField>& Y ( )
virtual

Access the species mass fractions.

Field Documentation

◆ Y_

PtrList<volScalarField> Y_
protected

Empty mass fraction field list.

Definition at line 59 of file PurePhaseModel.H.


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