39#ifndef CombustionModel_H
40#define CombustionModel_H
55template<
class ReactionThermo>
86 const word& modelType,
89 const word& combustionProperties
91 (modelType,
thermo,
turb, combustionProperties)
100 const word& modelType,
103 const word& combustionProperties
123 virtual ReactionThermo&
thermo() = 0;
126 virtual const ReactionThermo&
thermo()
const = 0;
compressible::turbulenceModel & turb
Combustion models for templated thermodynamics.
virtual ~CombustionModel()
Destructor.
declareRunTimeSelectionTable(autoPtr, CombustionModel, dictionary,(const word &modelType, ReactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties),(modelType, thermo, turb, combustionProperties))
Declare run-time constructor selection tables.
virtual const ReactionThermo & thermo() const =0
Return const access to the thermo package.
ReactionThermo reactionThermo
Thermo type.
TypeName("CombustionModel")
Runtime type information.
virtual ReactionThermo & thermo()=0
Return access to the thermo package.
virtual bool read()
Update properties from given dictionary.
static autoPtr< CombustionModel > New(ReactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties=combustionPropertiesName)
Selector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for combustion models.
static const word combustionPropertiesName
Default combustionProperties dictionary name.
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,...
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.