35 const word& reactionProperties
58 Info<<
"Reaction model not active: "
60 <<
" not found" <<
endl;
67 if (cmpts2.
size() == 2 || cmpts3.
size() == 3)
69 modelType = cmpts2.
size() ? cmpts2[0] : cmpts3[0];
72 <<
"Template parameters are no longer required when selecting a "
74 <<
"obtained directly from the thermodynamics. Actually selecting "
75 <<
"reaction model " << modelType <<
"." <<
endl;
78 typename dictionaryConstructorTable::iterator cstrIter =
79 dictionaryConstructorTablePtr_->find(modelType);
81 if (cstrIter == dictionaryConstructorTablePtr_->end())
85 << modelType <<
nl <<
nl
87 << dictionaryConstructorTablePtr_->sortedToc()
90 const wordList names(dictionaryConstructorTablePtr_->sortedToc());
95 cstrIter()(modelType,
thermo, turb, reactionProperties)
const GeoMesh & mesh() const
Return mesh.
IOdictionary(const IOobject &io, const word &wantedType)
Construct given an IOobject, supply wanted typeName.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void size(const label)
Override size to be inconsistent with allocated storage.
static word phasePropertyName(const word &name, const word &phaseName)
Name of a property for a given phase.
static wordList splitThermoName(const word &thermoName, const int nCmpt)
Split name of thermo package into a list of the components names.
virtual const volScalarField & T() const =0
Temperature [K].
Base class for single-phase compressible momentum transport models.
Base-class for multi-component fluid thermodynamic properties.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
static autoPtr< reactionModel > New(const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &reactionProperties=reactionPropertiesName)
Select using thermo and turbulence.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define WarningInFunction
Report a warning using Foam::Warning.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
fluidMulticomponentThermo & thermo