36 const word model(
dict.lookup(
"model"));
38 Info<<
"Selecting laminar flame speed model " << model <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(model);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 ) <<
"Unknown laminarFlameSpeed model "
50 <<
"Valid laminarFlameSpeed types are :" <<
endl
51 << dictionaryConstructorTablePtr_->sortedToc()
58 .optionalSubDict(model +
"Coeffs")
59 .optionalSubDict(
dict.lookupOrDefault<
word>(
"fuel",
"unknown"))
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static autoPtr< laminarFlameSpeed > New(const dictionary &, const psiuMulticomponentThermo &)
Base-class for combustion fluid thermodynamic properties based on compressibility.
A class for handling words, derived from string.
#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.