Public Member Functions | Protected Attributes | List of all members
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 ( const phaseSystem fluid,
const word phaseName,
const label  index 
)
virtual ~PurePhaseModel ( )
virtual

Destructor.

Member Function Documentation

virtual tmp<fvScalarMatrix> YiEqn ( volScalarField Yi)
virtual

Return the species fraction equation.

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

Return the species mass fractions.

virtual PtrList<volScalarField>& Y ( )
virtual

Access the species mass fractions.

Member Data Documentation

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: