33 template<
class CompType,
class Sol
idThermo>
36 typename CompType::reactionThermo&
thermo 57 nReaction_(reactions_.size()),
59 reactingCells_(this->
mesh().nCells(), true)
87 template<
class CompType,
class Sol
idThermo>
95 template<
class CompType,
class Sol
idThermo>
106 template<
class CompType,
class Sol
idThermo>
115 template<
class CompType,
class Sol
idThermo>
126 this->mesh_.time().timeName(),
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;
Abstract base class for the systems of ordinary differential equations.
void setCellReacting(const label celli, const bool active)
Set reacting status of cell, celli.
basicSpecieMixture & composition
Ignore writing from objectRegistry::writeObject()
Extends base solid chemistry model by adding a thermo package, and ODE functions. ...
virtual ~solidChemistryModel()
Destructor.
PtrList< volScalarField::Internal > RRs_
List of reaction rate per solid [kg/m3/s].
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
const dimensionSet dimVolume(pow3(dimLength))
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
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].
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Fundamental solid thermodynamic properties.
const dimensionSet dimEnergy
static const GeometricField< scalar, fvPatchField, volMesh > & null()
Return a null geometric field.
PtrList< volScalarField > & Ys_
Reference to solid mass fractions.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Automatically write from objectRegistry::writeObject()
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.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)