35 #ifndef combustionModel_H 36 #define combustionModel_H 66 const word& combustionProperties
104 const word& modelType,
107 const word& combustionProperties=combustionPropertiesName
114 template<
class CombustionModel>
119 const word& combustionProperties
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 any number of values (e...
const fvMesh & mesh() const
Return const access to the mesh database.
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, y/n, t/f, or none.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const =0
Fuel consumption rate matrix, i.e. source term for fuel equation.
const Switch & active() const
Is combustion active?
rhoReactionThermo & thermo
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 string.
const compressibleTurbulenceModel & turb_
Reference to the turbulence model.
virtual ~combustionModel()
Destructor.
dictionary coeffs_
Dictionary of the model.
virtual bool read()
Update properties from given dictionary.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
TypeName("combustionModel")
Runtime type information.
static const word combustionPropertiesName
Default combustionProperties dictionary name.