42 #ifndef viscosityModel_H 43 #define viscosityModel_H 114 virtual bool read() = 0;
A list of keyword definitions, which are a keyword followed by any number of values (e...
An abstract base class for physical properties.
word group() const
Return group (extension part of name)
An abstract base class for Newtonian viscosity models.
virtual bool read()=0
Read physicalProperties dictionary.
virtual ~viscosityModel()
Destructor.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
A class for handling words, derived from string.
static const word null
An empty word.
viscosityModel(const fvMesh &mesh, const word &group)
Construct from components.
static autoPtr< viscosityModel > New(const fvMesh &mesh, const word &group=word::null)
Return a reference to the selected viscosity model.
Abstract base class for all fluid physical properties.
Mesh data needed to do the Finite Volume discretisation.
virtual void correct()=0
Correct the laminar viscosity.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
TypeName("viscosityModel")
Runtime type information.
A class for managing temporary objects.
void operator=(const viscosityModel &)=delete
Disallow default bitwise assignment.
declareRunTimeSelectionTable(autoPtr, viscosityModel, dictionary,(const fvMesh &mesh, const word &group),(mesh, group))