An abstract base class for strain-rate dependent generalised Newtonian viscosity models. More...
Public Member Functions | |
TypeName ("strainRateViscosityModel") | |
Runtime type information. More... | |
strainRateViscosityModel (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
strainRateViscosityModel (const strainRateViscosityModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~strainRateViscosityModel () |
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... | |
void | operator= (const strainRateViscosityModel &)=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... | |
virtual bool | read (const dictionary &viscosityProperties)=0 |
Read transportProperties dictionary. 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... | |
Protected Member Functions | |
virtual tmp< volScalarField > | strainRate () const |
Return the strain-rate obtained from the velocity field. More... | |
virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const =0 |
Return the generalised Newtonian viscosity. 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... | |
An abstract base class for strain-rate dependent generalised Newtonian viscosity models.
Definition at line 54 of file strainRateViscosityModel.H.
strainRateViscosityModel | ( | const dictionary & | viscosityProperties, |
const viscosity & | viscosity, | ||
const volVectorField & | U | ||
) |
Construct from components.
Definition at line 55 of file strainRateViscosityModel.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 103 of file strainRateViscosityModel.H.
|
protectedvirtual |
Return the strain-rate obtained from the velocity field.
Definition at line 46 of file strainRateViscosityModel.C.
References Foam::fvc::grad(), Foam::mag(), Foam::sqrt(), and Foam::symm().
|
protectedpure virtual |
Return the generalised Newtonian viscosity.
Implemented in strainRateFunction, powerLaw, HerschelBulkley, CrossPowerLaw, Casson, and BirdCarreau.
TypeName | ( | "strainRateViscosityModel" | ) |
Runtime type information.
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosity.
Definition at line 110 of file strainRateViscosityModel.H.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosity.
Definition at line 116 of file strainRateViscosityModel.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and patchi.
|
virtual |
Correct the laminar viscosity.
Implements generalisedNewtonianViscosityModel.
Definition at line 86 of file strainRateViscosityModel.C.
Referenced by BirdCarreau::BirdCarreau(), Casson::Casson(), CrossPowerLaw::CrossPowerLaw(), HerschelBulkley::HerschelBulkley(), powerLaw::powerLaw(), and strainRateFunction::strainRateFunction().
|
delete |
Disallow default bitwise assignment.