39#ifndef CombustionModel_H
40#define CombustionModel_H
55template<
class ReactionThermo>
58 public combustionModel
63 CombustionModel(
const CombustionModel&) =
delete;
66 void operator=(
const CombustionModel&) =
delete;
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
virtual ~CombustionModel()
Destructor.
CombustionModel(const word &modelType, ReactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties)
Construct from components.
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 psiReactionThermo & thermo()=0
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.
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,...
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.