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))
161 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl 171 template<
class ParcelType>
179 template<
class ParcelType>
187 template<
class ParcelType>
195 template<
class ParcelType>
203 template<
class ParcelType>
210 template<
class ParcelType>
217 template<
class ParcelType>
224 template<
class ParcelType>
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.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return the value.
scalar TDevol() const
Return const access to the devolatilisation temperature.
label canCombust() const
Return const access to the canCombust flag.
scalarField YGas_
Mass fractions of gases [].
constantProperties()
Null constructor.
ReactingMultiphaseParcel(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from owner, position, and cloud owner.
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
const scalarField & YGas() const
Return const access to mass fractions of gases.
scalarField YSolid_
Mass fractions of solids [].
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
scalarField YLiquid_
Mass fractions of liquids [].
const scalarField & YSolid() const
Return const access to mass fractions of solids.
Mesh consisting of general polyhedral cells.
Class to hold reacting multiphase particle constant properties.