43 #ifndef generalisedNewtonianViscosityModel_H 44 #define generalisedNewtonianViscosityModel_H 54 namespace laminarModels
73 TypeName(
"generalisedNewtonianViscosityModel");
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const =0
Return the laminar viscosity.
virtual ~generalisedNewtonianViscosityModel()
Destructor.
static autoPtr< generalisedNewtonianViscosityModel > New(const dictionary &viscosityProperties)
Return a reference to the selected viscosity model.
dictionary viscosityProperties_
declareRunTimeSelectionTable(autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties))
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
An abstract base class for generalised Newtonian viscosity models.
TypeName("generalisedNewtonianViscosityModel")
Runtime type information.
void operator=(const generalisedNewtonianViscosityModel &)=delete
Disallow default bitwise assignment.
generalisedNewtonianViscosityModel(const dictionary &viscosityProperties)
Construct from components.
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.
A class for managing temporary objects.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.