32template<
class CloudType>
35 if (this->phaseProps().size() == 0)
38 <<
"Phase list is empty" <<
exit(FatalError);
40 else if (this->phaseProps().size() > 1)
43 <<
"Only one phase permitted" <<
exit(FatalError);
46 switch (this->phaseProps()[0].phase())
48 case phaseProperties::GAS:
53 case phaseProperties::LIQUID:
58 case phaseProperties::SOLID:
66 <<
"Unknown phase enumeration" <<
abort(FatalError);
74template<
class CloudType>
90template<
class CloudType>
98 idLiquid_(cm.idLiquid_),
105template<
class CloudType>
112template<
class CloudType>
116 return this->phaseProps()[0].Y();
120template<
class CloudType>
127template<
class CloudType>
134template<
class CloudType>
Templated reacting parcel composition model class Consists of carrier species (via thermo package),...
Templated base class for dsmc cloud.
Templated parcel single phase, multi-component class.
virtual const scalarField & YMixture0() const
Return the list of mixture mass fractions.
virtual ~SinglePhaseMixture()
Destructor.
virtual label idGas() const
Gas id.
virtual label idLiquid() const
Liquid id.
virtual label idSolid() const
Solid id.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)