30 template<
class ParcelType>
35 hRetentionCoeff_(this->dict_, 0.0)
39 template<
class ParcelType>
47 hRetentionCoeff_(
cp.hRetentionCoeff_)
51 template<
class ParcelType>
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,
111 const constantProperties& constProps
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>
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
ReactingHeterogeneousParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
constantProperties()
Null constructor.
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
const scalarField & F() const
Return const access to F.
Class to hold reacting particle constant properties.
volVectorField F(fluid.F())
label canCombust() const
Return const access to the canCombust flag.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const volScalarField & cp
PtrList< coordinateSystem > coordinates(solidRegions.size())
PtrList< volScalarField > & Y
Mesh consisting of general polyhedral cells.