30 template<
class ParcelType>
35 TDevol_(this->dict_, 0.0),
36 LDevol_(this->dict_, 0.0),
37 hRetentionCoeff_(this->dict_, 0.0)
41 template<
class ParcelType>
51 hRetentionCoeff_(
cp.hRetentionCoeff_)
55 template<
class ParcelType>
63 TDevol_(this->dict_,
"TDevol"),
64 LDevol_(this->dict_,
"LDevol"),
65 hRetentionCoeff_(this->dict_,
"hRetentionCoeff")
69 template<
class ParcelType>
80 ParcelType(mesh, coordinates, celli, tetFacei, tetPti, facei),
89 template<
class ParcelType>
95 label& nLocateBoundaryHits
98 ParcelType(mesh, position, celli, nLocateBoundaryHits),
109 template<
class ParcelType>
113 return TDevol_.value();
117 template<
class ParcelType>
121 return LDevol_.value();
125 template<
class ParcelType>
130 scalar value = hRetentionCoeff_.value();
132 if ((value < 0) || (value > 1))
135 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl
145 template<
class ParcelType>
152 template<
class ParcelType>
160 template<
class ParcelType>
168 template<
class ParcelType>
176 template<
class ParcelType>
184 template<
class ParcelType>
191 template<
class ParcelType>
198 template<
class ParcelType>
205 template<
class ParcelType>
212 template<
class ParcelType>
Class to hold reacting multiphase particle constant properties.
constantProperties()
Null constructor.
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
scalar TDevol() const
Return const access to the devolatilisation temperature.
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
scalarField YLiquid_
Mass fractions of liquids [].
scalarField YSolid_
Mass fractions of solids [].
label canCombust_
Flag to identify if the particle can devolatilise and combust.
scalarField YGas_
Mass fractions of gases [].
label canCombust() const
Return const access to the canCombust flag.
const scalarField & YGas() const
Return const access to mass fractions of gases.
scalar mass0() const
Return const access to initial mass [kg].
ReactingMultiphaseParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
scalar mass0_
Initial mass [kg].
const scalarField & YSolid() const
Return const access to mass fractions of solids.
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.