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),
103 template<
class ParcelType>
107 return TDevol_.
value();
111 template<
class ParcelType>
115 return LDevol_.
value();
119 template<
class ParcelType>
124 scalar value = hRetentionCoeff_.
value();
126 if ((value < 0) || (value > 1))
129 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl 139 template<
class ParcelType>
147 template<
class ParcelType>
155 template<
class ParcelType>
163 template<
class ParcelType>
171 template<
class ParcelType>
178 template<
class ParcelType>
185 template<
class ParcelType>
192 template<
class ParcelType>
label canCombust() const
Return const access to the canCombust flag.
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.