An incompressible Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("Newtonian") | |
Runtime type information. More... | |
Newtonian (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
virtual | ~Newtonian ()=default |
Destructor. 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 (not appropriate, viscosity constant) More... | |
virtual bool | read (const dictionary &viscosityProperties) |
Read transportProperties dictionary. More... | |
![]() | |
TypeName ("viscosityModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, viscosityModel, dictionary,(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi),(name, viscosityProperties, U, phi)) | |
viscosityModel (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
virtual | ~viscosityModel ()=default |
Destructor. More... | |
const dictionary & | viscosityProperties () const |
Return the phase transport properties dictionary. More... | |
tmp< volScalarField > | strainRate () const |
Return the strain rate. More... | |
Public Attributes | |
volScalarField | nu_ |
Additional Inherited Members | |
![]() | |
static autoPtr< viscosityModel > | New (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) |
Return a reference to the selected viscosity model. More... | |
![]() | |
viscosityModel (const viscosityModel &)=delete | |
No copy construct. More... | |
void | operator= (const viscosityModel &)=delete |
No copy assignment. More... | |
![]() | |
word | name_ |
dictionary | viscosityProperties_ |
const volVectorField & | U_ |
const surfaceScalarField & | phi_ |
An incompressible Newtonian viscosity model.
Definition at line 55 of file Newtonian.H.
Newtonian | ( | const word & | name, |
const dictionary & | viscosityProperties, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
Definition at line 48 of file Newtonian.C.
|
virtualdefault |
Destructor.
TypeName | ( | "Newtonian" | ) |
Runtime type information.
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosityModel.
Definition at line 94 of file Newtonian.H.
References Newtonian::nu_.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosityModel.
Definition at line 100 of file Newtonian.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and Newtonian::nu_.
|
inlinevirtual |
Correct the laminar viscosity (not appropriate, viscosity constant)
Implements viscosityModel.
Definition at line 106 of file Newtonian.H.
|
virtual |
Read transportProperties dictionary.
Implements viscosityModel.
Definition at line 76 of file Newtonian.C.
References Foam::blockMeshTools::read().
volScalarField nu_ |
Definition at line 68 of file Newtonian.H.
Referenced by Newtonian::nu().