36 #ifndef filmViscosityModel_H 37 #define filmViscosityModel_H 47 namespace regionModels
49 namespace surfaceFilmModels
Base class for surface film viscosity models.
Base class for surface film models.
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField & mu_
Reference to the viscosity field.
static autoPtr< viscosityModel > New(surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu)
Return a reference to the selected phase change model.
TypeName("viscosity")
Runtime type information.
virtual ~viscosityModel()
Destructor.
const dictionary & dict() const
Return const access to the cloud dictionary.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, viscosityModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu),(film, dict, mu))
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const viscosityModel &)=delete
Disallow default bitwise assignment.
const dimensionedScalar mu
Atomic mass unit.
const word & modelType() const
Return const access to the sub-model type.
virtual void correct(const volScalarField &p, const volScalarField &T)=0
Correct.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void info(Ostream &os) const
Provide some feedback.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
viscosityModel(const word &modelType, surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu)
Construct from type name, dictionary and surface film model.