32 template<
class CompType,
class Sol
idThermo>
40 CompType(mesh, phaseName),
58 nReaction_(reactions_.size()),
60 reactingCells_(mesh.
nCells(),
true)
72 "RRs." + Ys_[fieldI].
name(),
88 template<
class CompType,
class Sol
idThermo>
96 template<
class CompType,
class Sol
idThermo>
104 "solidChemistryModel::solve(const scalarField& deltaT)" 110 template<
class CompType,
class Sol
idThermo>
116 "solidChemistryModel::tc()" 118 return volScalarField::null();
122 template<
class CompType,
class Sol
idThermo>
133 this->mesh_.time().timeName(),
136 IOobject::AUTO_WRITE,
141 zeroGradientFvPatchScalarField::typeName
145 if (this->chemistry_)
153 scalar hf = solidThermo_[i].Hc();
154 Sh[cellI] -= hf*RRs_[i][cellI];
163 template<
class CompType,
class Sol
idThermo>
174 this->mesh_.time().timeName(),
182 zeroGradientFvPatchScalarField::typeName
186 if (this->chemistry_)
196 template<
class CompType,
class Sol
idThermo>
203 reactingCells_[cellI] = active;
Extends base solid chemistry model by adding a thermo package, and ODE functions. Introduces chemistr...
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...
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
DimensionedInternalField & dimensionedInternalField()
Return dimensioned internal field.
const dimensionSet dimEnergy
virtual tmp< volScalarField > Sh() const
Return source for enthalpy equation [kg/m/s3].
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
const Time & time() const
Return the top-level database.
virtual tmp< volScalarField > dQ() const
Return the heat release, i.e. enthalpy/sec [m2/s3].
Abstract base class for the systems of ordinary differential equations.
basicMultiComponentMixture & composition
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void setCellReacting(const label cellI, const bool active)
Set reacting status of cell, cellI.
PtrList< volScalarField > & Y
Fundamental solid thermodynamic properties.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual ~solidChemistryModel()
Destructor.
const dimensionSet dimVolume(pow3(dimLength))
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.