40 thermo.phasePropertyName(
"chemistryProperties"),
41 thermo.db().time().constant(),
50 chemistryDict.
subDict(
"chemistryType");
52 Info<<
"Selecting chemistry type " << chemistryTypeDict <<
endl;
59 thermo.db().time().constant(),
68 const word solidThermoTypeName
70 solidThermoTypeDict.
get<
word>(
"transport") +
'<'
71 + solidThermoTypeDict.
get<
word>(
"thermo") +
'<'
72 + solidThermoTypeDict.
get<
word>(
"equationOfState") +
'<'
73 + solidThermoTypeDict.
get<
word>(
"specie") +
">>,"
74 + solidThermoTypeDict.
get<
word>(
"energy") +
">"
78 const word gasThermoTypeName
80 gasThermoTypeDict.
get<
word>(
"transport") +
'<'
81 + gasThermoTypeDict.
get<
word>(
"thermo") +
'<'
82 + gasThermoTypeDict.
get<
word>(
"equationOfState") +
'<'
83 + gasThermoTypeDict.
get<
word>(
"specie") +
">>,"
84 + gasThermoTypeDict.
get<
word>(
"energy") +
">"
88 const word chemistryTypeName
90 chemistryTypeDict.
get<
word>(
"chemistrySolver") +
'<'
91 + chemistryTypeDict.
get<
word>(
"chemistryThermo") +
'<'
93 + solidThermoTypeName +
',' + gasThermoTypeName +
">>"
96 Info<<
"chemistryTypeName " << chemistryTypeName <<
endl;
98 const auto& cnstrTable = *(thermoConstructorTablePtr_);
100 auto* ctorPtr = cnstrTable.lookup(chemistryTypeName,
nullptr);
132 cnstrTable.sortedToc()
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static Ostream & printThermoNames(Ostream &os, const wordList &cmptNames, const wordList &thermoNames)
Print (filtered) table of thermo names, splits on " ,<>".
static const word dictName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
Foam::solidReactionThermo.
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.
const dictionary & thermoDict
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)