Go to the documentation of this file.
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>
48 ParcelType::constantProperties(
cp),
51 hRetentionCoeff_(
cp.hRetentionCoeff_)
55 template<
class ParcelType>
62 ParcelType::constantProperties(parentDict),
63 TDevol_(this->dict_,
"TDevol"),
64 LDevol_(this->dict_,
"LDevol"),
65 hRetentionCoeff_(this->dict_,
"hRetentionCoeff")
69 template<
class ParcelType>
87 template<
class ParcelType>
95 ParcelType(
mesh, position, celli),
103 template<
class ParcelType>
109 const label tetFacei,
112 const scalar nParticle0,
114 const scalar dTarget0,
117 const vector& angularMomentum0,
153 template<
class ParcelType>
157 return TDevol_.value();
161 template<
class ParcelType>
165 return LDevol_.value();
169 template<
class ParcelType>
174 scalar value = hRetentionCoeff_.value();
176 if ((value < 0) || (value > 1))
179 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl
189 template<
class ParcelType>
197 template<
class ParcelType>
205 template<
class ParcelType>
213 template<
class ParcelType>
221 template<
class ParcelType>
228 template<
class ParcelType>
235 template<
class ParcelType>
242 template<
class ParcelType>
const scalarField & YGas() const
Return const access to mass fractions of gases.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar TDevol() const
Return const access to the devolatilisation temperature.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
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 barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
scalarList Y0(nSpecie, Zero)
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
scalarField YSolid_
Mass fractions of solids [].