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