31 template<
class BasePhaseModel>
34 const phaseSystem&
fluid,
35 const word& phaseName,
36 const bool referencePhase,
40 BasePhaseModel(fluid, phaseName, referencePhase, index)
46 template<
class BasePhaseModel>
53 template<
class BasePhaseModel>
60 template<
class BasePhaseModel>
65 <<
"Cannot construct a species fraction equation for a pure phase" 68 return tmp<fvScalarMatrix>();
72 template<
class BasePhaseModel>
82 template<
class BasePhaseModel>
87 <<
"Cannot get a species fraction by name from a pure phase" 90 return NullObjectRef<volScalarField>();
94 template<
class BasePhaseModel>
99 <<
"Cannot access the species fractions of for a pure phase" 106 template<
class BasePhaseModel>
116 template<
class BasePhaseModel>
121 <<
"Cannot access the species fractions of for a pure phase" virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
virtual ~PurePhaseModel()
Destructor.
word name(const complex &)
Return a string representation of a complex.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
PurePhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
A class for managing temporary objects.