40#ifndef combustionModel_H
41#define combustionModel_H
62 combustionModel(
const combustionModel&) =
delete;
65 void operator=(
const combustionModel&) =
delete;
71 const word& combustionProperties
109 const word& modelType,
119 template<
class CombustionModel>
124 const word& combustionProperties
172#include "combustionModelI.H"
compressible::turbulenceModel & turb
ReactionThermo reactionThermo
Thermo type.
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
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.
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.
Switch active() const noexcept
Is combustion active?
dictionary coeffs_
Dictionary of the model.
virtual void correct()=0
Correct combustion rate.
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
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.