30template<
class ParcelType>
35 hRetentionCoeff_(this->dict_, 0.0)
39template<
class ParcelType>
47 hRetentionCoeff_(
cp.hRetentionCoeff_)
51template<
class ParcelType>
59 hRetentionCoeff_(this->dict_,
"hRetentionCoeff")
63template<
class ParcelType>
79template<
class ParcelType>
87 ParcelType(
mesh, position, celli),
93template<
class ParcelType>
102 const scalar nParticle0,
104 const scalar dTarget0,
107 const vector& angularMomentum0,
140template<
class ParcelType>
145 scalar value = hRetentionCoeff_.value();
147 if ((value < 0) || (value > 1))
150 <<
"hRetentionCoeff must be in the range 0 to 1" <<
nl
160template<
class ParcelType>
168template<
class ParcelType>
176template<
class ParcelType>
184template<
class ParcelType>
Class to hold reacting particle constant properties.
constantProperties()
Null constructor.
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
ReactingHeterogeneousParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
label canCombust() const
Return const access to the canCombust flag.
scalarField F_
Progress variables for reactions.
const scalarField & F() const
const scalarField & Y() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const barycentric & coordinates() const noexcept
Return current particle coordinates.
Mesh consisting of general polyhedral cells.
PtrList< coordinateSystem > coordinates(solidRegions.size())
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).