32 template<
class CloudType>
35 if (this->phaseProps().size() == 0)
40 else if (this->phaseProps().size() > 1)
46 switch (this->phaseProps()[0].phase())
48 case phaseProperties::GAS:
53 case phaseProperties::LIQUID:
58 case phaseProperties::SOLID:
74 template<
class CloudType>
90 template<
class CloudType>
98 idLiquid_(cm.idLiquid_),
105 template<
class CloudType>
112 template<
class CloudType>
116 return this->phaseProps()[0].Y();
120 template<
class CloudType>
127 template<
class CloudType>
134 template<
class CloudType>
virtual label idLiquid() const
Liquid id.
virtual const scalarField & YMixture0() const
Return the list of mixture mass fractions.
virtual label idGas() const
Gas id.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
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.
virtual ~SinglePhaseMixture()
Destructor.
SinglePhaseMixture(const dictionary &dict, CloudType &owner)
Construct from dictionary.
errorManip< error > abort(error &err)
virtual label idSolid() const
Solid id.
Templated parcel single phase, multi-component class.
Templated reacting parcel composition model class Consists of carrier species (via thermo package)...
Templated base class for dsmc cloud.