46 #ifndef generalizedNewtonianViscosityModel_H 47 #define generalizedNewtonianViscosityModel_H 57 namespace laminarModels
76 TypeName(
"generalizedNewtonianViscosityModel");
dictionary viscosityProperties_
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An abstract base class for generalized Newtonian viscosity models.
void operator=(const generalizedNewtonianViscosityModel &)=delete
No copy 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.
static autoPtr< generalizedNewtonianViscosityModel > New(const dictionary &dict)
Select a viscosity model.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
virtual ~generalizedNewtonianViscosityModel()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
generalizedNewtonianViscosityModel(const generalizedNewtonianViscosityModel &)=delete
No copy construct.