An abstract base class for generalized Newtonian viscosity models. More...
#include <generalizedNewtonianViscosityModel.H>


Public Member Functions | |
| TypeName ("generalizedNewtonianViscosityModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties)) | |
| generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &)=delete | |
| No copy construct. | |
| void | operator= (const generalizedNewtonianViscosityModel &)=delete |
| No copy assignment. | |
| generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
| Construct from dictionary (components). | |
| virtual | ~generalizedNewtonianViscosityModel ()=default |
| Destructor. | |
| const dictionary & | viscosityProperties () const |
| Return the phase transport properties dictionary. | |
| virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const =0 |
| Return the laminar viscosity. | |
| virtual bool | read (const dictionary &viscosityProperties)=0 |
| Read transportProperties dictionary. | |
Static Public Member Functions | |
| static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
| Select a viscosity model. | |
Protected Attributes | |
| dictionary | viscosityProperties_ |
An abstract base class for generalized Newtonian viscosity models.
Definition at line 60 of file generalizedNewtonianViscosityModel.H.
|
delete |
No copy construct.
References generalizedNewtonianViscosityModel().
Referenced by BirdCarreau::BirdCarreau(), Casson::Casson(), CrossPowerLaw::CrossPowerLaw(), declareRunTimeSelectionTable(), generalizedNewtonianViscosityModel(), HerschelBulkley::HerschelBulkley(), operator=(), powerLaw::powerLaw(), and strainRateFunction::strainRateFunction().


|
explicit |
Construct from dictionary (components).
Definition at line 37 of file generalizedNewtonianViscosityModel.C.
References viscosityProperties(), and viscosityProperties_.

|
virtualdefault |
Destructor.
| TypeName | ( | "generalizedNewtonianViscosityModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| generalizedNewtonianViscosityModel | , | ||
| dictionary | , | ||
| (const dictionary &viscosityProperties) | , | ||
| (viscosityProperties) | ) |
References generalizedNewtonianViscosityModel(), and viscosityProperties().

|
delete |
No copy assignment.
References dict, generalizedNewtonianViscosityModel(), and viscosityProperties().

|
static |
Select a viscosity model.
Definition at line 27 of file generalizedNewtonianViscosityModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
Referenced by strainRateFunction::strainRateFunction().


|
inline |
Return the phase transport properties dictionary.
Definition at line 140 of file generalizedNewtonianViscosityModel.H.
References viscosityProperties_.
Referenced by BirdCarreau::BirdCarreau(), Casson::Casson(), CrossPowerLaw::CrossPowerLaw(), declareRunTimeSelectionTable(), generalizedNewtonianViscosityModel(), HerschelBulkley::HerschelBulkley(), nu(), operator=(), powerLaw::powerLaw(), read(), BirdCarreau::read(), Casson::read(), CrossPowerLaw::read(), HerschelBulkley::read(), powerLaw::read(), strainRateFunction::read(), strainRateFunction::strainRateFunction(), BirdCarreau::TypeName(), Casson::TypeName(), CrossPowerLaw::TypeName(), HerschelBulkley::TypeName(), powerLaw::TypeName(), strainRateFunction::TypeName(), BirdCarreau::~BirdCarreau(), Casson::~Casson(), CrossPowerLaw::~CrossPowerLaw(), HerschelBulkley::~HerschelBulkley(), powerLaw::~powerLaw(), and strainRateFunction::~strainRateFunction().

|
pure virtual |
Return the laminar viscosity.
Implemented in BirdCarreau, Casson, CrossPowerLaw, HerschelBulkley, powerLaw, and strainRateFunction.
References viscosityProperties().

|
pure virtual |
Read transportProperties dictionary.
Implemented in BirdCarreau, Casson, CrossPowerLaw, HerschelBulkley, powerLaw, and strainRateFunction.
Definition at line 49 of file generalizedNewtonianViscosityModel.C.
References viscosityProperties(), and viscosityProperties_.
Referenced by BirdCarreau::read(), Casson::read(), CrossPowerLaw::read(), HerschelBulkley::read(), powerLaw::read(), and strainRateFunction::read().


|
protected |
Definition at line 66 of file generalizedNewtonianViscosityModel.H.
Referenced by generalizedNewtonianViscosityModel(), read(), and viscosityProperties().