32 namespace regionModels
34 namespace thermalBaffleModels
47 "thermalBaffleProperties",
64 meshConstructorTable::iterator cstrIter =
65 meshConstructorTablePtr_->find(modelType);
67 if (cstrIter == meshConstructorTablePtr_->end())
71 <<
"Unknown thermalBaffleModel type " << modelType
73 <<
"Valid thermalBaffleModel types are:" <<
nl 74 << meshConstructorTablePtr_->sortedToc()
91 dictionaryConstructorTable::iterator cstrIter =
92 dictionaryConstructorTablePtr_->find(modelType);
94 if (cstrIter == dictionaryConstructorTablePtr_->end())
98 <<
"Unknown thermalBaffleModel type " << modelType
100 <<
"Valid thermalBaffleModel types are:" <<
nl 101 << dictionaryConstructorTablePtr_->sortedToc()
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.
const Time & time() const
Return the top-level database.
static autoPtr< thermalBaffleModel > New(const fvMesh &mesh)
Return a reference to the selected model.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
const word & constant() const
Return constant name.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...