Go to the documentation of this file.
37 #ifndef basicSolidChemistryModel_H
38 #define basicSolidChemistryModel_H
82 TypeName(
"basicSolidChemistryModel");
143 const label reactionI,
Foam::solidReactionThermo.
basicSolidChemistryModel(const basicSolidChemistryModel &)
Construct as copy (not implemented)
A class for handling words, derived from string.
virtual tmp< DimensionedField< scalar, volMesh > > RRs() const =0
Return total solids mass source term [kg/m3/s].
virtual ~basicSolidChemistryModel()
Destructor.
A class for managing temporary objects.
Base class for chemistry models.
virtual void setCellReacting(const label cellI, const bool active)=0
Set reacting status of cell, cellI.
virtual const DimensionedField< scalar, volMesh > & RR(const label i) const
Return const access to the total source terms.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A wordList with hashed indices for faster lookup by name.
const fvMesh & mesh() const
Return const access to the mesh database.
solidReactionThermo & solidThermo()
Return access to the solid thermo package.
Chemistry model for solid thermodynamics.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator=(const basicSolidChemistryModel &)
Disallow default bitwise assignment.
static autoPtr< basicSolidChemistryModel > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
virtual tmp< DimensionedField< scalar, volMesh > > calculateRR(const label reactionI, const label speciei) const
Returns the reaction rate of the speciei in reactionI.
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< DimensionedField< scalar, volMesh > > RRg() const =0
Return total gases mass source term [kg/m3/s].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
TypeName("basicSolidChemistryModel")
Runtime type information.
static const word null
An empty word.
virtual void calculate()=0
Calculates the reaction rates.
declareRunTimeSelectionTable(autoPtr, basicSolidChemistryModel, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
Declare run-time constructor selection tables.
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].
Generic GeometricField class.
autoPtr< solidReactionThermo > solidThermo_
Solid thermo package.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...