An abstract base class for generalized Newtonian viscosity models. More...
Public Member Functions | |
TypeName ("generalizedNewtonianViscosityModel") | |
declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties)) | |
generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &)=delete | |
void | operator= (const generalizedNewtonianViscosityModel &)=delete |
generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
virtual | ~generalizedNewtonianViscosityModel ()=default |
const dictionary & | viscosityProperties () const |
virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const =0 |
virtual bool | read (const dictionary &viscosityProperties)=0 |
Static Public Member Functions | |
static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
Protected Attributes | |
dictionary | viscosityProperties_ |
An abstract base class for generalized Newtonian viscosity models.
Definition at line 60 of file generalizedNewtonianViscosityModel.H.
|
delete |
|
explicit |
Definition at line 39 of file generalizedNewtonianViscosityModel.C.
|
virtualdefault |
TypeName | ( | "generalizedNewtonianViscosityModel" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
generalizedNewtonianViscosityModel | , | ||
dictionary | , | ||
(const dictionary &viscosityProperties) | , | ||
(viscosityProperties) | |||
) |
|
delete |
|
static |
Definition at line 28 of file generalizedNewtonianViscosityModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
|
inline |
Definition at line 126 of file generalizedNewtonianViscosityModel.H.
References generalizedNewtonianViscosityModel::viscosityProperties_.
|
pure virtual |
Implemented in CrossPowerLaw, Casson, BirdCarreau, strainRateFunction, powerLaw, and HerschelBulkley.
|
pure virtual |
Implemented in CrossPowerLaw, Casson, BirdCarreau, strainRateFunction, powerLaw, and HerschelBulkley.
Definition at line 50 of file generalizedNewtonianViscosityModel.C.
|
protected |
Definition at line 66 of file generalizedNewtonianViscosityModel.H.
Referenced by generalizedNewtonianViscosityModel::viscosityProperties().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.