41 IOobject::groupName(
"chemistryProperties", phaseName),
52 chemistryDict.
subDict(
"chemistryType")
55 Info<<
"Selecting chemistry type " << chemistryTypeDict <<
endl;
58 const char* cmptNames[nCmpt] =
82 IOobject::MUST_READ_IF_MODIFIED,
89 word solidThermoTypeName
91 word(solidThermoTypeDict.lookup(
"transport")) +
'<' 92 +
word(solidThermoTypeDict.lookup(
"thermo")) +
'<' 93 +
word(solidThermoTypeDict.lookup(
"equationOfState")) +
'<' 94 +
word(solidThermoTypeDict.lookup(
"specie")) +
">>," 95 +
word(solidThermoTypeDict.lookup(
"energy")) +
">" 99 word gasThermoTypeName
101 word(gasThermoTypeDict.lookup(
"transport")) +
'<' 102 +
word(gasThermoTypeDict.lookup(
"thermo")) +
'<' 103 +
word(gasThermoTypeDict.lookup(
"equationOfState")) +
'<' 104 +
word(gasThermoTypeDict.lookup(
"specie")) +
">>," 105 +
word(gasThermoTypeDict.lookup(
"energy")) +
">" 109 word chemistryTypeName
111 word(chemistryTypeDict.lookup(
"chemistrySolver")) +
'<' 112 +
word(chemistryTypeDict.lookup(
"chemistryThermo")) +
'<' 114 + solidThermoTypeName +
',' + gasThermoTypeName +
">>" 117 Info<<
"chemistryTypeName " << chemistryTypeName <<
endl;
119 fvMeshConstructorTable::iterator cstrIter =
120 fvMeshConstructorTablePtr_->find(chemistryTypeName);
122 if (cstrIter == fvMeshConstructorTablePtr_->end())
125 <<
"Unknown " << typeName <<
" type " <<
nl 126 <<
"chemistryType" << chemistryTypeDict <<
nl <<
nl 127 <<
"Valid " << typeName <<
" types are:" 133 fvMeshConstructorTablePtr_->sortedToc()
135 Info<< validChemistryTypeNames <<
endl;
141 validChemistryTypeNames.size() + 1
144 validChemistryTypeNameCmpts[0].
setSize(nCmpt);
145 forAll(validChemistryTypeNameCmpts[0], j)
147 validChemistryTypeNameCmpts[0][j] = cmptNames[j];
151 forAll(validChemistryTypeNames, i)
153 validChemistryTypeNameCmpts[i+1] = basicThermo::splitThermoName
155 validChemistryTypeNames[i],
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< basicSolidChemistryModel > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
A class for handling words, derived from string.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const word & constant() const
Return constant name.
const word dictName("particleTrackDict")
const Time & time() const
Return the top-level database.
void setSize(const label)
Reset size of List.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void printTable(const List< wordList > &, List< string::size_type > &, Ostream &)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.