30 template<
class CloudType>
33 if (this->phaseProps().size() == 0)
38 else if (this->phaseProps().size() > 1)
44 switch (this->phaseProps()[0].phase())
46 case phaseProperties::GAS:
51 case phaseProperties::LIQUID:
56 case phaseProperties::SOLID:
72 template<
class CloudType>
88 template<
class CloudType>
96 idLiquid_(cm.idLiquid_),
103 template<
class CloudType>
110 template<
class CloudType>
114 return this->phaseProps()[0].Y();
118 template<
class CloudType>
125 template<
class CloudType>
132 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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#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.