43 #ifndef generalizedNewtonianViscosityModel_H 44 #define generalizedNewtonianViscosityModel_H 54 namespace laminarModels
73 TypeName(
"generalizedNewtonianViscosityModel");
dictionary viscosityProperties_
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &viscosityProperties)
Return a reference to the selected viscosity model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An abstract base class for generalized Newtonian viscosity models.
void operator=(const generalizedNewtonianViscosityModel &)=delete
Disallow default bitwise assignment.
declareRunTimeSelectionTable(autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties))
TypeName("generalizedNewtonianViscosityModel")
Runtime type information.
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const =0
Return the laminar viscosity.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~generalizedNewtonianViscosityModel()
Destructor.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
generalizedNewtonianViscosityModel(const dictionary &viscosityProperties)
Construct from components.