32template<
class CloudType>
33void Foam::SinglePhaseMixture<CloudType>::constructIds()
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>
81 CompositionModel<CloudType>(
dict, owner, typeName),
90template<
class CloudType>
98 idLiquid_(cm.idLiquid_),
105template<
class CloudType>
112template<
class CloudType>
120template<
class CloudType>
127template<
class CloudType>
134template<
class CloudType>
const CloudType & owner() const
Return const access to the owner cloud.
Templated reacting parcel composition model class Consists of carrier species (via thermo package),...
CompositionModel(CloudType &owner)
Construct null from owner.
const phasePropertiesList & phaseProps() const
Return the list of phase properties.
Templated parcel single phase, multi-component class.
virtual const scalarField & YMixture0() const
Return the list of mixture mass fractions.
SinglePhaseMixture(const dictionary &dict, CloudType &owner)
Construct from dictionary.
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,...
const dictionary & dict() const
Return const access to the cloud dictionary.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
DSMCCloud< dsmcParcel > CloudType
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)