36 #ifndef basicChemistryModel_H
37 #define basicChemistryModel_H
161 const label reactioni
169 virtual scalar
solve(
const scalar deltaT) = 0;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for chemistry models.
virtual tmp< volScalarField > tc() const =0
Return the chemical time scale.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
virtual tmp< volScalarField > Qdot() const =0
Return the heat release rate [kg/m/s^3].
virtual ~basicChemistryModel()
Destructor.
const fvMesh & mesh_
Reference to the mesh.
virtual void calculate()=0
Calculates the reaction rates.
basicChemistryModel(const fluidMulticomponentThermo &thermo)
Construct from thermo.
jacobianType
Enumeration for the type of Jacobian to be calculated by the.
virtual label nSpecie() const =0
The number of species.
virtual PtrList< volScalarField::Internal > reactionRR(const label reactioni) const =0
Return reaction rates of the species in reactioni [kg/m^3/s].
const fluidMulticomponentThermo & thermo_
Reference to the thermo.
static autoPtr< basicChemistryModel > New(const fluidMulticomponentThermo &thermo)
Select based on fluid reaction thermo.
virtual scalar solve(const scalar deltaT)=0
Solve the reaction system for the given time step.
const scalar deltaTChemIni_
Initial chemical time step.
Switch chemistry_
Chemistry activation switch.
const volScalarField::Internal & deltaTChem() const
Return the latest estimation of integration step.
TypeName("basicChemistryModel")
Runtime type information.
virtual const PtrList< volScalarField::Internal > & RR() const =0
Return reaction rates of the species [kg/m^3/s].
void operator=(const basicChemistryModel &)=delete
Disallow default bitwise assignment.
virtual label nReaction() const =0
The number of reactions.
const fvMesh & mesh() const
Return const access to the mesh.
declareRunTimeSelectionTable(autoPtr, basicChemistryModel, thermo,(const fluidMulticomponentThermo &thermo),(thermo))
Declare run-time constructor selection tables.
const scalar deltaTChemMax_
Maximum chemical time step.
Switch chemistry() const
Chemistry activation switch.
volScalarField::Internal deltaTChem_
Latest estimation of integration step.
static const NamedEnum< jacobianType, 2 > jacobianTypeNames_
Jacobian type names.
Base-class for multi-component fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.