31 template<
class CompType,
class Sol
idThermo>
39 CompType(mesh, phaseName),
57 nReaction_(reactions_.size()),
59 reactingCells_(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 Sh[celli] -= hf*RRs_[i][celli];
155 template<
class CompType,
class Sol
idThermo>
166 this->mesh_.time().timeName(),
177 if (this->chemistry_)
180 dQ.
ref() = this->mesh_.V()*
Sh()();
187 template<
class CompType,
class Sol
idThermo>
194 reactingCells_[celli] = active;
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > Sh() const
Return source for enthalpy equation [kg/m/s3].
Abstract base class for the systems of ordinary differential equations.
void setCellReacting(const label celli, const bool active)
Set reacting status of cell, celli.
basicMultiComponentMixture & composition
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Extends base solid chemistry model by adding a thermo package, and ODE functions. Introduces chemistr...
virtual ~solidChemistryModel()
Destructor.
const dimensionSet dimVolume(pow3(dimLength))
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
A class for handling words, derived from string.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
Fundamental solid thermodynamic properties.
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimEnergy
Internal & ref()
Return a reference to the dimensioned internal field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const Time & time() const
Return the top-level database.
virtual tmp< volScalarField > dQ() const
Return the heat release, i.e. enthalpy/sec [m2/s3].