35 #ifndef combustionModel_H 36 #define combustionModel_H 61 const word& combustionProperties
101 const word& modelType,
104 const word& combustionProperties
106 (modelType, thermo, turb, combustionProperties)
115 const word& modelType,
118 const word& combustionProperties = combustionPropertiesName
132 const word& combustionProperties = combustionPropertiesName
void operator=(const combustionModel &)=delete
Disallow default bitwise assignment.
const fvMesh & mesh_
Reference to the mesh database.
combustionModel(const word &modelType, const fluidReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties=combustionPropertiesName)
Construct from components.
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.
Base-class for multi-component fluid thermodynamic properties.
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const =0
Fuel consumption rate matrix, i.e. source term for fuel equation.
declareRunTimeSelectionTable(autoPtr, combustionModel, dictionary,(const word &modelType, const fluidReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties),(modelType, thermo, turb, combustionProperties))
Declare run-time constructor selection tables.
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/s^3].
static autoPtr< combustionModel > New(const fluidReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties=combustionPropertiesName)
Select using thermo and turbulence.
A class for handling words, derived from string.
const compressibleMomentumTransportModel & turbulence() const
Return access to turbulence.
virtual ~combustionModel()
Destructor.
dictionary coeffs_
Dictionary of the model.
const fluidReactionThermo & thermo_
Reference to the thermo.
virtual bool read()
Update properties from given dictionary.
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.
const compressibleMomentumTransportModel & turb_
Reference to the turbulence 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...
Abstract base class for turbulence models (RAS, LES and laminar).
TypeName("combustionModel")
Runtime type information.
static const word combustionPropertiesName
Default combustionProperties dictionary name.
const fluidReactionThermo & thermo() const
Return const access to the thermo.