32 namespace regionModels
34 namespace surfaceFilmModels
47 {heatTransferModel::typeName,
"heatTransferModel"},
54 dict.
found(heatTransferModel::typeName)
55 ? dict.
subDict(heatTransferModel::typeName)
61 dict.
found(heatTransferModel::typeName)
62 ? heatTransferDict.lookup(
"model")
63 : heatTransferDict.lookup(
"heatTransferModel")
66 Info<<
" Selecting heatTransferModel " << modelType <<
endl;
68 dictionaryConstructorTable::iterator cstrIter =
69 dictionaryConstructorTablePtr_->find(modelType);
71 if (cstrIter == dictionaryConstructorTablePtr_->end())
74 <<
"Unknown heatTransferModel type " << modelType <<
nl <<
nl 75 <<
"Valid heatTransferModel types are:" <<
nl 76 << dictionaryConstructorTablePtr_->toc()
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const entry & lookupEntryBackwardsCompatible(const wordList &, bool recursive, bool patternMatch) const
Find and return an entry data stream if present, trying a list.
Base class for surface film models.
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A class for handling words, derived from string.
static autoPtr< heatTransferModel > New(surfaceFilmRegionModel &film, const dictionary &dict)
Return a reference to the selected phase change model.