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, coordinates, celli, tetFacei, tetPti),
85 template<
class ParcelType>
93 ParcelType(mesh, position, celli),
101 template<
class ParcelType>
107 const label tetFacei,
110 const scalar nParticle0,
112 const scalar dTarget0,
115 const vector& angularMomentum0,
151 template<
class ParcelType>
155 return TDevol_.
value();
159 template<
class ParcelType>
163 return LDevol_.
value();
167 template<
class ParcelType>
172 scalar value = hRetentionCoeff_.
value();
174 if ((value < 0) || (value > 1))
177 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl 187 template<
class ParcelType>
195 template<
class ParcelType>
203 template<
class ParcelType>
211 template<
class ParcelType>
219 template<
class ParcelType>
226 template<
class ParcelType>
233 template<
class ParcelType>
240 template<
class ParcelType>
label canCombust() const
Return const access to the canCombust flag.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
const Type & value() const
Return the value.
ReactingMultiphaseParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
scalarField YGas_
Mass fractions of gases [].
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
const scalarField & YGas() const
Return const access to mass fractions of gases.
constantProperties()
Null constructor.
scalar TDevol() const
Return const access to the devolatilisation temperature.
scalarField YSolid_
Mass fractions of solids [].
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
scalarField YLiquid_
Mass fractions of liquids [].
Mesh consisting of general polyhedral cells.
Class to hold reacting multiphase particle constant properties.
const scalarField & YSolid() const
Return const access to mass fractions of solids.