Go to the documentation of this file.
39 #ifndef basicSolidChemistryModel_H
40 #define basicSolidChemistryModel_H
84 TypeName(
"basicSolidChemistryModel");
145 const label reactionI,
164 virtual void setCellReacting(
const label celli,
const bool active) = 0;
Foam::solidReactionThermo.
declareRunTimeSelectionTable(autoPtr, basicSolidChemistryModel, thermo,(solidReactionThermo &thermo),(thermo))
Declare run-time constructor selection tables.
virtual void setCellReacting(const label celli, const bool active)=0
Set reacting status of cell, celli.
solidReactionThermo & solidThermo()
Return access to the solid thermo package.
virtual ~basicSolidChemistryModel()
Destructor.
A class for managing temporary objects.
virtual tmp< volScalarField::Internal > RRg() const =0
Return total gases mass source term [kg/m3/s].
Base class for chemistry models.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
solidReactionThermo & solidThermo_
Solid thermo.
virtual const volScalarField::Internal & RR(const label i) const
Return const access to the total source terms.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
Chemistry model for solid thermodynamics.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
solidReactionThermo reactionThermo
Thermo type.
virtual tmp< volScalarField::Internal > calculateRR(const label reactionI, const label speciei) const
Returns the reaction rate of the speciei in reactionI.
virtual tmp< DimensionedField< scalar, volMesh > > RRsHs() const =0
Return net solid sensible enthalpy [J/Kg].
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
TypeName("basicSolidChemistryModel")
Runtime type information.
virtual void calculate()=0
Calculates the reaction rates.
virtual tmp< volScalarField::Internal > RRs() const =0
Return total solids mass source term [kg/m3/s].
virtual const speciesTable & gasTable() const =0
Return specie Table for gases.
virtual tmp< volScalarField > gasHs(const volScalarField &p, const volScalarField &T, const label i) const =0
Return sensible enthalpy for gas i [J/Kg].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...