41 word modelType(sootModels::noSoot::typeName);
45 Info<<
"Selecting soot model " << modelType <<
endl;
50 if (cmpts.
size() == 3)
55 <<
"Template parameters are no longer required when selecting a "
56 << sootModel::typeName <<
". This information is now "
57 <<
"obtained directly from the thermodynamics. Actually selecting "
58 <<
"combustion model " << modelType <<
"." <<
endl;
61 typename dictionaryConstructorTable::iterator cstrIter =
62 dictionaryConstructorTablePtr_->find(modelType);
64 if (cstrIter == dictionaryConstructorTablePtr_->end())
67 <<
"Unknown " << sootModel::typeName <<
" type "
68 << modelType <<
nl <<
nl
69 <<
"Valid " << sootModel::typeName <<
" types are:" <<
nl
70 << dictionaryConstructorTablePtr_->sortedToc()
void size(const label)
Override size to be inconsistent with allocated storage.
static wordList splitThermoName(const word &thermoName, const int nCmpt)
Split name of thermo package into a list of the components names.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Mesh data needed to do the Finite Volume discretisation.
const dictionary & dict() const
Reference to the dictionary.
const fvMesh & mesh() const
Reference to the mesh.
static autoPtr< sootModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define WarningInFunction
Report a warning using Foam::Warning.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.