Go to the documentation of this file.
30 template<
class ParcelType>
35 hRetentionCoeff_(this->dict_, 0.0)
39 template<
class ParcelType>
46 ParcelType::constantProperties(
cp),
47 hRetentionCoeff_(
cp.hRetentionCoeff_)
51 template<
class ParcelType>
58 ParcelType::constantProperties(parentDict),
59 hRetentionCoeff_(this->dict_,
"hRetentionCoeff")
63 template<
class ParcelType>
79 template<
class ParcelType>
87 ParcelType(
mesh, position, celli),
93 template<
class ParcelType>
102 const scalar nParticle0,
104 const scalar dTarget0,
107 const vector& angularMomentum0,
140 template<
class ParcelType>
145 scalar value = hRetentionCoeff_.value();
147 if ((value < 0) || (value > 1))
150 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl
160 template<
class ParcelType>
168 template<
class ParcelType>
176 template<
class ParcelType>
184 template<
class ParcelType>
label canCombust() const
Return const access to the canCombust flag.
Class to hold reacting particle constant properties.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
scalarField F_
Progress variables for reactions.
PtrList< coordinateSystem > coordinates(solidRegions.size())
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
ReactingHeterogeneousParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
PtrList< volScalarField > & Y
errorManipArg< error, int > exit(error &err, const int errNo=1)
const scalarField & F() const
Return const access to F.
constantProperties()
Null constructor.
#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).
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.