Go to the documentation of this file.
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(),
73 mesh.time().timeName(),
88 template<
class CompType,
class Sol
idThermo>
96 template<
class CompType,
class Sol
idThermo>
107 template<
class CompType,
class Sol
idThermo>
112 return volScalarField::null();
116 template<
class CompType,
class Sol
idThermo>
127 this->mesh_.time().timeName(),
130 IOobject::AUTO_WRITE,
135 zeroGradientFvPatchScalarField::typeName
139 if (this->chemistry_)
147 scalar hf = solidThermo_[i].Hc();
148 Sh[cellI] -= hf*RRs_[i][cellI];
157 template<
class CompType,
class Sol
idThermo>
168 this->mesh_.time().timeName(),
176 zeroGradientFvPatchScalarField::typeName
180 if (this->chemistry_)
183 dQ.dimensionedInternalField() = this->mesh_.V()*
Sh()();
190 template<
class CompType,
class Sol
idThermo>
197 reactingCells_[cellI] = active;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
const dimensionSet dimEnergy
virtual ~solidChemistryModel()
Destructor.
virtual tmp< volScalarField > Sh() const
Return source for enthalpy equation [kg/m/s3].
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)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual tmp< volScalarField > dQ() const
Return the heat release, i.e. enthalpy/sec [m2/s3].
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
void setCellReacting(const label cellI, const bool active)
Set reacting status of cell, cellI.
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
Abstract base class for the systems of ordinary differential equations.
basicMultiComponentMixture & composition
const dimensionSet dimVolume(pow3(dimLength))
Generic GeometricField class.
solidChemistryModel(const solidChemistryModel &)
Disallow copy constructor.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
word name(const complex &)
Return a string representation of a complex.
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...