Go to the documentation of this file.
46 #ifndef generalizedNewtonianViscosityModel_H
47 #define generalizedNewtonianViscosityModel_H
57 namespace laminarModels
76 TypeName(
"generalizedNewtonianViscosityModel");
A class for managing temporary objects.
generalizedNewtonianViscosityModel(const generalizedNewtonianViscosityModel &)=delete
No copy construct.
dictionary viscosityProperties_
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const =0
Return the laminar viscosity.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
void operator=(const generalizedNewtonianViscosityModel &)=delete
No copy assignment.
declareRunTimeSelectionTable(autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties))
TypeName("generalizedNewtonianViscosityModel")
Runtime type information.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual ~generalizedNewtonianViscosityModel()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
An abstract base class for generalized Newtonian viscosity models.
Macros to ease declaration of run-time selection tables.
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &dict)
Select a viscosity model.