40#ifndef combustionModel_H
41#define combustionModel_H
71 const word& combustionProperties
109 const word& modelType,
119 template<
class CombustionModel>
124 const word& combustionProperties
#define R(A, B, C, D, E, F, K, M)
compressible::turbulenceModel & turb
ReactionThermo reactionThermo
Thermo type.
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,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base-class for fluid and solid thermodynamic properties.
Base class for combustion models.
virtual tmp< volScalarField > Qdot() const =0
Heat release rate [kg/m/s3].
const word modelType_
Model type.
const fvMesh & mesh_
Reference to the mesh database.
const compressibleTurbulenceModel & turbulence() const
Return access to turbulence.
static const word combustionPropertiesName
Default combustionProperties dictionary name.
const dictionary & coeffs() const
Return const dictionary of the model.
TypeName("combustionModel")
Runtime type information.
const volScalarField & rho() const
Return const access to rho.
static autoPtr< CombustionModel > New(typename CombustionModel::reactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties)
Generic New for each of the related chemistry model.
dictionary coeffs_
Dictionary of the model.
virtual void correct()=0
Correct combustion rate.
const Switch & active() const
Is combustion active?
virtual ~combustionModel()
Destructor.
const fvMesh & mesh() const
Return const access to the mesh database.
tmp< surfaceScalarField > phi() const
Return const access to phi.
const compressibleTurbulenceModel & turb_
Reference to the turbulence model.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const =0
Fuel consumption rate matrix, i.e. source term for fuel equation.
virtual bool read()
Update properties from given dictionary.
Abstract base class for turbulence models (RAS, LES and laminar).
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.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
PtrList< volScalarField > & Y
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.