Herschel-Bulkley non-Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("HerschelBulkley") | |
Runtime type information. More... | |
HerschelBulkley (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
virtual | ~HerschelBulkley ()=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. 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... | |
Protected Member Functions | |
tmp< volScalarField > | calcNu () const |
Calculate and return the laminar viscosity. More... | |
![]() | |
viscosityModel (const viscosityModel &)=delete | |
No copy construct. More... | |
void | operator= (const viscosityModel &)=delete |
No copy assignment. More... | |
Protected Attributes | |
volScalarField | nu_ |
![]() | |
word | name_ |
dictionary | viscosityProperties_ |
const volVectorField & | U_ |
const surfaceScalarField & | phi_ |
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... | |
Herschel-Bulkley non-Newtonian viscosity model.
Definition at line 55 of file HerschelBulkley.H.
HerschelBulkley | ( | const word & | name, |
const dictionary & | viscosityProperties, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
Definition at line 76 of file HerschelBulkley.C.
|
virtualdefault |
Destructor.
|
protected |
Calculate and return the laminar viscosity.
Definition at line 54 of file HerschelBulkley.C.
References Foam::dimless, Foam::dimTime, Foam::max(), Foam::min(), Foam::pow(), and viscosityModel::strainRate().
Referenced by HerschelBulkley::correct().
TypeName | ( | "HerschelBulkley" | ) |
Runtime type information.
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosityModel.
Definition at line 107 of file HerschelBulkley.H.
References HerschelBulkley::nu_.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosityModel.
Definition at line 113 of file HerschelBulkley.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and HerschelBulkley::nu_.
|
inlinevirtual |
Correct the laminar viscosity.
Implements viscosityModel.
Definition at line 119 of file HerschelBulkley.H.
References HerschelBulkley::calcNu(), and HerschelBulkley::nu_.
|
virtual |
Read transportProperties dictionary.
Implements viscosityModel.
Definition at line 110 of file HerschelBulkley.C.
References dictionary::optionalSubDict(), viscosityModel::read(), and dictionary::readEntry().
|
protected |
Definition at line 73 of file HerschelBulkley.H.
Referenced by HerschelBulkley::correct(), and HerschelBulkley::nu().