36 const word modelType(
dict.lookup(
"model"));
38 Info<<
"Selecting film ejection model " << modelType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(modelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"Unknown film ejection model "
47 << modelType <<
nl <<
nl
48 <<
"Valid film ejection models are:" <<
nl
49 << dictionaryConstructorTablePtr_->toc()
55 cstrIter()(
dict.optionalSubDict(modelType +
"Coeffs"), film)
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< ejectionModel > New(const dictionary &dict, const solvers::isothermalFilm &film)
Solver module for flow of compressible isothermal liquid films.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.