56 <<
"Selecting chemistryModel " <<
type <<
endl;
61 typename thermoConstructorTable::iterator cstrIter =
62 thermoConstructorTablePtr_->find(
type);
64 if (cstrIter == thermoConstructorTablePtr_->end())
66 const word instantiatedType
71 Info<<
"Instantiated as " << instantiatedType <<
endl;
75 cstrIter = thermoConstructorTablePtr_->find(instantiatedType);
77 if (cstrIter == thermoConstructorTablePtr_->end())
101 cstrIter = thermoConstructorTablePtr_->find(instantiatedType);
103 if (cstrIter == thermoConstructorTablePtr_->end())
106 <<
"Compilation and linkage of "
115 <<
"Unknown " << typeName_() <<
type
116 <<
" instantiated as " << instantiatedType
119 const wordList names(thermoConstructorTablePtr_->sortedToc());
146 <<
"Valid chemistryModel types "
147 "for the current thermodynamics are:"
174 <<
"All chemistryModel/thermodynamics combinations are:"
#define forAll(list, i)
Loop across all elements in list.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void append(const T &)
Append an element at the end of the list.
A List obtained as a section of another List.
static const word & constant()
Return constant name.
virtual word thermoName() const =0
Name of the thermo physics.
static List< Pair< word > > thermoNameComponents(const word &thermoName)
Split name of thermo package into a list of named components names.
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 fvMesh & mesh() const =0
Return const access to the mesh.
const fluidMulticomponentThermo & thermo() const
Return const access to the thermo.
chemistryModel(const fluidMulticomponentThermo &thermo)
Construct from thermo.
static autoPtr< chemistryModel > New(const fluidMulticomponentThermo &thermo)
Select based on fluid reaction thermo.
T lookupOrDefault(const word &, const T &) const
Find and return a T, if not found return the given default.
static int allowSystemOperations
Flag if system operations are allowed.
static fileName resolveTemplate(const fileName &templateName)
Resolve code-template via Foam::findConfigFile.
Base-class for multi-component fluid thermodynamic properties.
const Time & time() const
Return the top-level database.
A class for handling words, derived from string.
static const word null
An empty word.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
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.
void printTable(const List< wordList > &, List< string::size_type > &, Ostream &)
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo