Go to the documentation of this file.
34 namespace regionModels
36 namespace surfaceFilmModels
45 const word& regionType
55 regionType +
"Properties",
56 mesh.time().constant(),
64 surfaceFilmPropertiesDict.
lookup(
"surfaceFilmModel") >> modelType;
67 Info<<
"Selecting surfaceFilmModel " << modelType <<
endl;
69 meshConstructorTable::iterator cstrIter =
70 meshConstructorTablePtr_->find(modelType);
72 if (cstrIter == meshConstructorTablePtr_->end())
75 <<
"Unknown surfaceFilmModel type " << modelType
76 <<
nl <<
nl <<
"Valid surfaceFilmModel types are:" <<
nl
77 << meshConstructorTablePtr_->toc()
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
static autoPtr< surfaceFilmModel > New(const fvMesh &mesh, const dimensionedVector &g, const word ®ionType="surfaceFilm")
Return a reference to the selected surface film model.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dimensionedVector & g
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.