42 #ifndef generalisedNewtonianViscosityModel_H 43 #define generalisedNewtonianViscosityModel_H 52 namespace laminarModels
75 TypeName(
"generalisedNewtonianViscosityModel");
90 (viscosityProperties, viscosity, U)
100 const viscosity& viscosity,
111 const viscosity& viscosity,
const viscosity & viscosity_
Reference to the fluid Newtonian viscosity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< generalisedNewtonianViscosityModel > New(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
Return a reference to the selected viscosity model.
declareRunTimeSelectionTable(autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U),(viscosityProperties, viscosity, U))
virtual ~generalisedNewtonianViscosityModel()
Destructor.
generalisedNewtonianViscosityModel(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
Construct from components.
Abstract base class for all fluid physical properties.
An abstract base class for generalised Newtonian viscosity models.
TypeName("generalisedNewtonianViscosityModel")
Runtime type information.
virtual void correct()=0
Correct the laminar viscosity.
void operator=(const generalisedNewtonianViscosityModel &)=delete
Disallow default bitwise assignment.
const volVectorField & U_
Reference to the velocity field.
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.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.