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()
word dictName() const
The local dictionary name (final part of scoped name)
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static Ostream & printThermoNames(Ostream &os, const wordList &cmptNames, const wordList &thermoNames)
Print (filtered) table of thermo names, splits on " ,<>".
Foam::solidReactionThermo.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ignore writing from objectRegistry::writeObject()
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.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static autoPtr< basicSolidChemistryModel > New(solidReactionThermo &thermo)
Selector.
A class for handling words, derived from Foam::string.
Reading required, file watched for runTime modification.
static const word null
An empty word.
const dictionary & thermoDict
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...