42 #ifndef generalisedNewtonianViscosityModel_H
43 #define generalisedNewtonianViscosityModel_H
52 namespace laminarModels
75 TypeName(
"generalisedNewtonianViscosityModel");
Generic GeometricField class.
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....
An abstract base class for generalised Newtonian viscosity models.
const viscosity & viscosity_
Reference to the fluid Newtonian viscosity.
void operator=(const generalisedNewtonianViscosityModel &)=delete
Disallow default bitwise assignment.
static autoPtr< generalisedNewtonianViscosityModel > New(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
Return a reference to the selected viscosity model.
const volVectorField & U_
Reference to the velocity field.
virtual void correct()=0
Correct the laminar viscosity.
virtual ~generalisedNewtonianViscosityModel()
Destructor.
generalisedNewtonianViscosityModel(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
Construct from components.
TypeName("generalisedNewtonianViscosityModel")
Runtime type information.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
declareRunTimeSelectionTable(autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U),(viscosityProperties, viscosity, U))
Abstract base class for all fluid physical properties.
Macros to ease declaration of run-time selection tables.