33template<
class CompType,
class Sol
idThermo>
57 nReaction_(reactions_.size()),
59 reactingCells_(this->
mesh().nCells(), true)
87template<
class CompType,
class Sol
idThermo>
95template<
class CompType,
class Sol
idThermo>
106template<
class CompType,
class Sol
idThermo>
115template<
class CompType,
class Sol
idThermo>
126 this->mesh_.time().timeName(),
137 if (this->chemistry_)
145 scalar hf = solidThermo_[i].Hc();
146 Qdot[celli] -= hf*RRs_[i][celli];
155template<
class CompType,
class Sol
idThermo>
162 reactingCells_[celli] = active;
ReactionThermo reactionThermo
Thermo type.
static const GeometricField< scalar, fvPatchField, volMesh > & null()
Return a null geometric field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Abstract base class for the systems of ordinary differential equations.
Extends base solid chemistry model by adding a thermo package, and ODE functions.
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
virtual ~solidChemistryModel()
Destructor.
PtrList< volScalarField > & Ys_
Reference to solid mass fractions.
PtrList< volScalarField::Internal > RRs_
List of reaction rate per solid [kg/m3/s].
virtual tmp< volScalarField > Qdot() const
Return the heat release rate [kg/m/s3].
void setCellReacting(const label celli, const bool active)
Set reacting status of cell, celli.
Fundamental solid thermodynamic properties.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
basicSpecieMixture & composition
PtrList< volScalarField > & Y
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimEnergy
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVolume(pow3(dimLength))
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.