37 #ifndef CombustionModel_H 38 #define CombustionModel_H 53 template<
class ReactionThermo>
75 const word& modelType,
78 const word& combustionProperties
80 (modelType, thermo, turb, combustionProperties)
89 const word& modelType,
90 ReactionThermo& thermo,
92 const word& combustionProperties
99 ReactionThermo& thermo,
112 virtual ReactionThermo&
thermo() = 0;
115 virtual const ReactionThermo&
thermo()
const = 0;
CombustionModel(const word &modelType, ReactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties)
Construct from components.
static autoPtr< CombustionModel > New(ReactionThermo &thermo, const compressibleTurbulenceModel &turb, const word &combustionProperties=combustionPropertiesName)
Selector.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~CombustionModel()
Destructor.
TypeName("CombustionModel")
Runtime type information.
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.
ReactionThermo reactionThermo
Thermo type.
A class for handling words, derived from string.
virtual bool read()
Update properties from given dictionary.
Abstract base class for turbulence models (RAS, LES and laminar).
Base class for combustion models.
Combustion models for templated thermodynamics.
virtual ReactionThermo & thermo()=0
Return access to the thermo package.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
static const word combustionPropertiesName
Default combustionProperties dictionary name.