Standard power-law generalized Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("powerLaw") | |
Runtime type information. More... | |
powerLaw (const dictionary &viscosityProperties) | |
Construct from components. More... | |
virtual | ~powerLaw ()=default |
Destructor. More... | |
virtual bool | read (const dictionary &viscosityProperties) |
Read transportProperties dictionary. More... | |
virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const |
Return the laminar viscosity. More... | |
Public Member Functions inherited from generalizedNewtonianViscosityModel | |
TypeName ("generalizedNewtonianViscosityModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties)) | |
generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &)=delete | |
No copy construct. More... | |
void | operator= (const generalizedNewtonianViscosityModel &)=delete |
No copy assignment. More... | |
generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
Construct from dictionary (components) More... | |
virtual | ~generalizedNewtonianViscosityModel ()=default |
Destructor. More... | |
const dictionary & | viscosityProperties () const |
Return the phase transport properties dictionary. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from generalizedNewtonianViscosityModel | |
static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
Select a viscosity model. More... | |
Protected Attributes inherited from generalizedNewtonianViscosityModel | |
dictionary | viscosityProperties_ |
Standard power-law generalized Newtonian viscosity model.
Definition at line 52 of file powerLaw.H.
|
explicit |
Construct from components.
Definition at line 50 of file powerLaw.C.
|
virtualdefault |
Destructor.
TypeName | ( | "powerLaw" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 65 of file powerLaw.C.
References dictionary::optionalSubDict(), Foam::blockMeshTools::read(), and dictionary::readEntry().
|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 84 of file powerLaw.C.
References Foam::dimless, Foam::dimTime, Foam::max(), Foam::min(), and Foam::pow().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.