34template<
class CompType,
class Sol
idThermo>
35Foam::solidChemistryModel<CompType, SolidThermo>::solidChemistryModel
37 typename CompType::reactionThermo&
thermo
88template<
class CompType,
class Sol
idThermo>
96template<
class CompType,
class Sol
idThermo>
107template<
class CompType,
class Sol
idThermo>
116template<
class CompType,
class Sol
idThermo>
129 if (this->chemistry_)
135 scalar hf = solidThermo_[i].Hc();
136 Qdot[celli] -= hf*RRs_[i][celli];
145template<
class CompType,
class Sol
idThermo>
152 reactingCells_[celli] = active;
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
static const this_type & null() noexcept
DimensionedField< scalar, volMesh > Internal
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
ODESystem()
Construct null.
virtual tmp< volScalarField > tc() const
Return the chemical time scale.
virtual ~solidChemistryModel()
Destructor.
PtrList< volScalarField > & Ys_
Reference to solid mass fractions.
const PtrList< Reaction< SolidThermo > > & reactions_
Reactions.
label nSolids_
Number of solid components.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
PtrList< volScalarField::Internal > RRs_
List of reaction rate per solid [kg/m3/s].
const PtrList< SolidThermo > & solidThermo_
Thermodynamic data of solids.
List< bool > reactingCells_
List of active reacting cells.
label nReaction_
Number of solid reactions.
virtual tmp< volScalarField > Qdot() const
Return the heat release rate [kg/m/s3].
void setCellReacting(const label celli, const bool active)
Set reacting status of cell, celli.
Fundamental solid thermodynamic properties.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
basicSpecieMixture & composition
PtrList< volScalarField > & Y
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionSet dimEnergy
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static constexpr const zero Zero
Global zero (0).
const dimensionSet dimVolume(pow3(dimLength))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.