An abstract base class for generalised Newtonian viscosity models. More...


Public Member Functions | |
| 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... | |
| virtual void | correct ()=0 |
| Correct the laminar viscosity. 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... | |
| virtual tmp< volScalarField > | nu () const =0 |
| Return the laminar viscosity. More... | |
| virtual tmp< scalarField > | nu (const label patchi) const =0 |
| Return the laminar viscosity for patch. More... | |
| void | operator= (const viscosity &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
| static autoPtr< generalisedNewtonianViscosityModel > | New (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) |
| Return a reference to the selected viscosity model. More... | |
Protected Attributes | |
| const viscosity & | viscosity_ |
| Reference to the fluid Newtonian viscosity. More... | |
| const volVectorField & | U_ |
| Reference to the velocity field. More... | |
An abstract base class for generalised Newtonian viscosity models.
Definition at line 58 of file generalisedNewtonianViscosityModel.H.
| generalisedNewtonianViscosityModel | ( | const dictionary & | viscosityProperties, |
| const viscosity & | viscosity, | ||
| const volVectorField & | U | ||
| ) |
Construct from components.
Definition at line 42 of file generalisedNewtonianViscosityModel.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 122 of file generalisedNewtonianViscosityModel.H.
| TypeName | ( | "generalisedNewtonianViscosityModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| generalisedNewtonianViscosityModel | , | ||
| dictionary | , | ||
| (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | , | ||
| (viscosityProperties, viscosity, U) | |||
| ) |
|
static |
Return a reference to the selected viscosity model.
Definition at line 32 of file generalisedNewtonianViscosityModelNew.C.
References Foam::decrIndent(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::incrIndent(), Foam::indent(), Foam::Info, dictionary::lookup(), Foam::nl, and U.

|
pure virtual |
Read transportProperties dictionary.
Implemented in strainRateFunction, powerLaw, HerschelBulkley, CrossPowerLaw, Casson, BirdCarreau, and Newtonian.
Definition at line 57 of file generalisedNewtonianViscosityModel.C.
Referenced by Newtonian::read(), BirdCarreau::read(), Casson::read(), CrossPowerLaw::read(), HerschelBulkley::read(), powerLaw::read(), and strainRateFunction::read().

|
pure virtual |
Correct the laminar viscosity.
Implemented in strainRateViscosityModel, and Newtonian.
|
delete |
Disallow default bitwise assignment.
|
protected |
Reference to the fluid Newtonian viscosity.
Definition at line 65 of file generalisedNewtonianViscosityModel.H.
Referenced by Newtonian::nu().
|
protected |
Reference to the velocity field.
Definition at line 68 of file generalisedNewtonianViscosityModel.H.