Go to the documentation of this file.
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>
const scalarField & YGas() const
Return const access to mass fractions of gases.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
Mesh consisting of general polyhedral cells.
label canCombust() const
Return const access to the canCombust flag.
Class to hold reacting multiphase particle constant properties.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalarList Y0(nSpecie, 0.0)
scalar TDevol() const
Return const access to the devolatilisation temperature.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
scalarField YLiquid_
Mass fractions of liquids [].
const scalarField & YSolid() const
Return const access to mass fractions of solids.
constantProperties()
Null constructor.
scalarField YGas_
Mass fractions of gases [].
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
ReactingMultiphaseParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
scalarField YSolid_
Mass fractions of solids [].