40 "combustionProperties"
49 const word& combustionProperties
54 thermo.phasePropertyName(combustionProperties),
55 thermo.db().time().constant(),
76Foam::combustionModel::combustionModel
78 const word& modelType,
81 const word& combustionProperties
87 active_(getOrDefault<
Switch>(
"active", true)),
105 this->readEntry(
"active", active_);
106 coeffs_ = optionalSubDict(modelType_ +
"Coeffs");
compressible::turbulenceModel & turb
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_READ
Nothing to be read.
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
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,...
Abstract base-class for fluid and solid thermodynamic properties.
Base class for combustion models.
const word modelType_
Model type.
const fvMesh & mesh_
Reference to the mesh database.
static const word combustionPropertiesName
Default combustionProperties dictionary name.
dictionary coeffs_
Dictionary of the model.
virtual ~combustionModel()
Destructor.
const fvMesh & mesh() const
Return const access to the mesh database.
const compressibleTurbulenceModel & turb_
Reference to the turbulence model.
virtual bool read()
Update properties from given dictionary.
Abstract base class for turbulence models (RAS, LES and laminar).
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
virtual bool read()
Read object.
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.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.