30 template<
class CloudType>
33 if (this->phaseProps().size() == 0)
37 "void Foam::SinglePhaseMixture<CloudType>::constructIds()" 40 else if (this->phaseProps().size() > 1)
44 "void Foam::SinglePhaseMixture<CloudType>::constructIds()" 48 switch (this->phaseProps()[0].phase())
50 case phaseProperties::GAS:
55 case phaseProperties::LIQUID:
60 case phaseProperties::SOLID:
69 "void Foam::SinglePhaseMixture<CloudType>::constructIds()" 78 template<
class CloudType>
94 template<
class CloudType>
102 idLiquid_(cm.idLiquid_),
103 idSolid_(cm.idSolid_)
109 template<
class CloudType>
116 template<
class CloudType>
120 return this->phaseProps()[0].Y();
124 template<
class CloudType>
131 template<
class CloudType>
138 template<
class CloudType>
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.
SinglePhaseMixture(const dictionary &dict, CloudType &owner)
Construct from dictionary.
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...
virtual label idLiquid() const
Liquid id.
errorManip< error > abort(error &err)
virtual const scalarField & YMixture0() const
Return the list of mixture mass fractions.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
virtual ~SinglePhaseMixture()
Destructor.
Templated reacting parcel composition model class Consists of carrier species (via thermo package)...
Templated base class for dsmc cloud.
virtual label idSolid() const
Solid id.
Templated parcel single phase, multi-component class.