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...
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
static Ostream & printThermoNames(Ostream &os, const wordList &cmptNames, const wordList &thermoNames)
Print (filtered) table of thermo names, splits on " ,<>".
static const word dictName
The dictionary name ("thermophysicalProperties").
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
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
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.
static const word null
An empty word.
const dictionary & thermoDict
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
List< word > wordList
List of word.
messageStream Info
Information stream (stdout output on master, null elsewhere).
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)