Go to the documentation of this file.
32 namespace regionModels
34 namespace surfaceFilmModels
46 word modelType(
dict.lookup(
"filmViscosityModel"));
48 Info<<
" Selecting filmViscosityModel " << modelType <<
endl;
50 dictionaryConstructorTable::iterator cstrIter =
51 dictionaryConstructorTablePtr_->find(modelType);
53 if (cstrIter == dictionaryConstructorTablePtr_->end())
56 <<
"Unknown filmViscosityModel type " << modelType
57 <<
nl <<
nl <<
"Valid filmViscosityModel types are:" <<
nl
58 << dictionaryConstructorTablePtr_->toc()
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< filmViscosityModel > New(surfaceFilmModel &owner, const dictionary &dict, volScalarField &mu)
Return a reference to the selected phase change model.
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.
Base class for surface film models.
Generic GeometricField class.