31 template<
class BasePhaseModel>
34 const phaseSystem&
fluid,
35 const word& phaseName,
39 BasePhaseModel(fluid, phaseName, index)
45 template<
class BasePhaseModel>
52 template<
class BasePhaseModel>
59 template<
class BasePhaseModel>
64 <<
"Cannot construct a species fraction equation for a pure phase" 67 return tmp<fvScalarMatrix>();
71 template<
class BasePhaseModel>
81 template<
class BasePhaseModel>
86 <<
"Cannot get a species fraction by name from a pure phase" 89 return NullObjectRef<volScalarField>();
93 template<
class BasePhaseModel>
98 <<
"Cannot access the species fractions of for a pure phase" 105 template<
class BasePhaseModel>
115 template<
class BasePhaseModel>
120 <<
"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.
PurePhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A class for managing temporary objects.