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