Newtonian viscosity model which returns the fluid Newtonian viscosity. More...
Public Member Functions | |
TypeName ("Newtonian") | |
Runtime type information. More... | |
Newtonian (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
Newtonian (const Newtonian &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~Newtonian () |
Destructor. More... | |
virtual bool | read (const dictionary &viscosityProperties) |
Read transportProperties dictionary. More... | |
virtual tmp< volScalarField > | nu () const |
Return the laminar viscosity. More... | |
virtual tmp< scalarField > | nu (const label patchi) const |
Return the laminar viscosity for patch. More... | |
virtual void | correct () |
Correct the laminar viscosity. More... | |
void | operator= (const Newtonian &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from generalisedNewtonianViscosityModel | |
TypeName ("generalisedNewtonianViscosityModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U),(viscosityProperties, viscosity, U)) | |
generalisedNewtonianViscosityModel (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
generalisedNewtonianViscosityModel (const generalisedNewtonianViscosityModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~generalisedNewtonianViscosityModel () |
Destructor. More... | |
void | operator= (const generalisedNewtonianViscosityModel &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from viscosity | |
TypeName ("viscosity") | |
Runtime type information. More... | |
viscosity () | |
Construct. More... | |
viscosity (const viscosity &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~viscosity () |
Destructor. More... | |
void | operator= (const viscosity &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from generalisedNewtonianViscosityModel | |
static autoPtr< generalisedNewtonianViscosityModel > | New (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) |
Return a reference to the selected viscosity model. More... | |
Protected Attributes inherited from generalisedNewtonianViscosityModel | |
const viscosity & | viscosity_ |
Reference to the fluid Newtonian viscosity. More... | |
const volVectorField & | U_ |
Reference to the velocity field. More... | |
Newtonian viscosity model which returns the fluid Newtonian viscosity.
Definition at line 52 of file NewtonianViscosityModel.H.
Newtonian | ( | const dictionary & | viscosityProperties, |
const viscosity & | viscosity, | ||
const volVectorField & | U | ||
) |
Construct from components.
Definition at line 54 of file NewtonianViscosityModel.C.
References Newtonian::read().
|
inlinevirtual |
Destructor.
Definition at line 81 of file NewtonianViscosityModel.H.
References Newtonian::read().
TypeName | ( | "Newtonian" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalisedNewtonianViscosityModel.
Definition at line 67 of file NewtonianViscosityModel.C.
References generalisedNewtonianViscosityModel::read().
Referenced by Newtonian::Newtonian(), and Newtonian::~Newtonian().
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosity.
Definition at line 91 of file NewtonianViscosityModel.H.
References viscosity::nu(), and generalisedNewtonianViscosityModel::viscosity_.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosity.
Definition at line 97 of file NewtonianViscosityModel.H.
References viscosity::nu(), and generalisedNewtonianViscosityModel::viscosity_.
|
inlinevirtual |
Correct the laminar viscosity.
Implements generalisedNewtonianViscosityModel.
Definition at line 103 of file NewtonianViscosityModel.H.
References Newtonian::operator=().
|
delete |
Disallow default bitwise assignment.
Referenced by Newtonian::correct().