Public Member Functions | Protected Attributes | List of all members
PurePhaseModel< BasePhaseModel, phaseThermo > 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, phaseThermo >:
Inheritance graph
[legend]
Collaboration diagram for PurePhaseModel< BasePhaseModel, phaseThermo >:
Collaboration graph
[legend]

Public Member Functions

 PurePhaseModel (const phaseSystem &fluid, const word &phaseName)
 
virtual ~PurePhaseModel ()=default
 
virtual const PtrList< volScalarField > & Y () const
 
virtual PtrList< volScalarField > & Y ()
 
virtual void solveYi (PtrList< volScalarField::Internal > &, PtrList< volScalarField::Internal > &)
 
virtual const phaseThermo & thermo () const
 
virtual phaseThermo & thermo ()
 
 PurePhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~PurePhaseModel ()
 
virtual bool pure () const
 
virtual tmp< fvScalarMatrixYiEqn (volScalarField &Yi)
 
virtual const PtrList< volScalarField > & Y () const
 
virtual const volScalarFieldY (const word &name) const
 
virtual PtrList< volScalarField > & YRef ()
 
virtual const UPtrList< volScalarField > & YActive () const
 
virtual UPtrList< volScalarField > & YActiveRef ()
 

Protected Attributes

PtrList< volScalarFieldY_
 
autoPtr< phaseThermo > thermoPtr_
 

Detailed Description

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

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

Source files

Source files

Definition at line 52 of file PurePhaseModel.H.

Constructor & Destructor Documentation

◆ PurePhaseModel() [1/2]

PurePhaseModel ( const phaseSystem fluid,
const word phaseName 
)

Definition at line 29 of file PurePhaseModel.C.

References dictName(), fluid, and Foam::New().

Here is the call graph for this function:

◆ ~PurePhaseModel() [1/2]

~PurePhaseModel
virtualdefault

Definition at line 41 of file PurePhaseModel.C.

◆ PurePhaseModel() [2/2]

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

Definition at line 28 of file PurePhaseModel.C.

◆ ~PurePhaseModel() [2/2]

virtual ~PurePhaseModel ( )
virtual

Member Function Documentation

◆ Y() [1/4]

const Foam::PtrList< Foam::volScalarField > & Y
virtual

Definition at line 64 of file PurePhaseModel.C.

◆ Y() [2/4]

virtual PtrList<volScalarField>& Y ( )
virtual

◆ solveYi()

void solveYi ( PtrList< volScalarField::Internal > &  ,
PtrList< volScalarField::Internal > &   
)
virtual

Definition at line 53 of file PurePhaseModel.C.

References NotImplemented.

◆ thermo() [1/2]

phaseThermo & thermo
virtual

Definition at line 80 of file PurePhaseModel.C.

◆ thermo() [2/2]

virtual phaseThermo& thermo ( )
virtual

◆ pure()

bool pure
virtual

Definition at line 48 of file PurePhaseModel.C.

◆ YiEqn()

Foam::tmp< Foam::fvScalarMatrix > YiEqn ( volScalarField Yi)
virtual

Definition at line 56 of file PurePhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ Y() [3/4]

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

◆ Y() [4/4]

const Foam::volScalarField & Y ( const word name) const
virtual

Definition at line 78 of file PurePhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ YRef()

Definition at line 90 of file PurePhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ YActive()

const Foam::UPtrList< Foam::volScalarField > & YActive
virtual

Definition at line 102 of file PurePhaseModel.C.

◆ YActiveRef()

Foam::UPtrList< Foam::volScalarField > & YActiveRef
virtual

Definition at line 112 of file PurePhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

Member Data Documentation

◆ Y_

PtrList< volScalarField > Y_
protected

Definition at line 61 of file PurePhaseModel.H.

◆ thermoPtr_

autoPtr<phaseThermo> thermoPtr_
protected

Definition at line 64 of file PurePhaseModel.H.


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