Go to the documentation of this file.
33 template<
class CompType,
class Sol
idThermo>
36 typename CompType::reactionThermo&
thermo
57 nReaction_(reactions_.size()),
59 reactingCells_(this->
mesh().nCells(),
true)
71 "RRs." + Ys_[fieldi].
name(),
87 template<
class CompType,
class Sol
idThermo>
95 template<
class CompType,
class Sol
idThermo>
106 template<
class CompType,
class Sol
idThermo>
111 return volScalarField::null();
115 template<
class CompType,
class Sol
idThermo>
126 this->mesh_.time().timeName(),
129 IOobject::AUTO_WRITE,
137 if (this->chemistry_)
145 scalar hf = solidThermo_[i].Hc();
146 Qdot[celli] -= hf*RRs_[i][celli];
155 template<
class CompType,
class Sol
idThermo>
162 reactingCells_[celli] = active;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimEnergy
virtual ~solidChemistryModel()
Destructor.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
basicSpecieMixture & composition
#define forAll(list, i)
Loop across all elements in list.
Fundamental solid thermodynamic properties.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Extends base solid chemistry model by adding a thermo package, and ODE functions.
word name(const complex &c)
Return string representation of complex.
void setCellReacting(const label celli, const bool active)
Set reacting status of cell, celli.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
PtrList< volScalarField > & Y
virtual tmp< volScalarField > Qdot() const
Return the heat release rate [kg/m/s3].
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
Abstract base class for the systems of ordinary differential equations.
const dimensionSet dimVolume(pow3(dimLength))
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...