28 template<
class ParcelType>
33 TDevol_(this->dict_, 0.0),
34 LDevol_(this->dict_, 0.0),
35 hRetentionCoeff_(this->dict_, 0.0)
39 template<
class ParcelType>
46 ParcelType::constantProperties(cp),
49 hRetentionCoeff_(cp.hRetentionCoeff_)
53 template<
class ParcelType>
60 ParcelType::constantProperties(parentDict),
61 TDevol_(this->dict_,
"TDevol"),
62 LDevol_(this->dict_,
"LDevol"),
63 hRetentionCoeff_(this->dict_,
"hRetentionCoeff")
67 template<
class ParcelType>
77 ParcelType(mesh, position, cellI, tetFaceI, tetPtI),
85 template<
class ParcelType>
94 const scalar nParticle0,
96 const scalar dTarget0,
99 const vector& angularMomentum0,
135 template<
class ParcelType>
139 return TDevol_.
value();
143 template<
class ParcelType>
147 return LDevol_.
value();
151 template<
class ParcelType>
156 scalar value = hRetentionCoeff_.
value();
158 if ((value < 0) || (value > 1))
162 "ReactingMultiphaseParcel<ParcelType>::constantProperties::" 164 ) <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl 174 template<
class ParcelType>
182 template<
class ParcelType>
190 template<
class ParcelType>
198 template<
class ParcelType>
206 template<
class ParcelType>
213 template<
class ParcelType>
220 template<
class ParcelType>
227 template<
class ParcelType>
scalarField YSolid_
Mass fractions of solids [].
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
const scalarField & YSolid() const
Return const access to mass fractions of solids.
constantProperties()
Null constructor.
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...
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label canCombust() const
Return const access to the canCombust flag.
scalarField YLiquid_
Mass fractions of liquids [].
const scalarField & YGas() const
Return const access to mass fractions of gases.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Mesh consisting of general polyhedral cells.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
Class to hold reacting multiphase particle constant properties.
scalar TDevol() const
Return const access to the devolatilisation temperature.
const Type & value() const
Return the value.
ReactingMultiphaseParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
scalarField YGas_
Mass fractions of gases [].