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 Qdot[celli] -= hf*RRs_[i][celli];
155 template<
class CompType,
class Sol
idThermo>
162 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.
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
T & ref() const
Return non-const reference or generate a fatal error.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
Extends base solid chemistry model by adding a thermo package, and ODE functions. Introduces chemistr...
virtual ~solidChemistryModel()
Destructor.
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
const dimensionSet dimVolume(pow3(dimLength))
A class for handling words, derived from string.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
virtual tmp< volScalarField > Qdot() const
Return the heat release rate [kg/m/s3].
Fundamental solid thermodynamic properties.
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimEnergy
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.
#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...