40 #ifndef combustionModel_H 41 #define combustionModel_H 71 const word& combustionProperties
109 const word& modelType,
119 template<
class CombustionModel>
124 const word& combustionProperties
172 #include "combustionModelI.H" const fvMesh & mesh_
Reference to the mesh database.
Abstract base-class for fluid and solid thermodynamic properties.
const compressibleTurbulenceModel & turbulence() const
Return access to turbulence.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Switch active() const noexcept
Is combustion active?
const fvMesh & mesh() const
Return const access to the mesh database.
compressible::turbulenceModel & turb
virtual void correct()=0
Correct combustion rate.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const =0
Fuel consumption rate matrix, i.e. source term for fuel equation.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dictionary & coeffs() const
Return const dictionary of the model.
const volScalarField & rho() const
Return const access to rho.
virtual tmp< volScalarField > Qdot() const =0
Heat release rate [kg/m/s3].
ReactionThermo reactionThermo
Thermo type.
A class for handling words, derived from Foam::string.
const compressibleTurbulenceModel & turb_
Reference to the turbulence model.
virtual ~combustionModel()
Destructor.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
dictionary coeffs_
Dictionary of the model.
virtual bool read()
Update properties from given dictionary.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Abstract base class for turbulence models (RAS, LES and laminar).
Base class for combustion models.
const word modelType_
Model type.
tmp< surfaceScalarField > phi() const
Return const access to phi.
PtrList< volScalarField > & Y
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< CombustionModel > New(typename CombustionModel::reactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties)
Generic New for each of the related chemistry model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
TypeName("combustionModel")
Runtime type information.
static const word combustionPropertiesName
Default combustionProperties dictionary name.