Cross-Power law generalized Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("CrossPowerLaw") | |
Runtime type information. More... | |
CrossPowerLaw (const dictionary &viscosityProperties) | |
Construct from dictionary (components) More... | |
virtual | ~CrossPowerLaw ()=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... | |
virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const =0 |
Return the laminar viscosity. More... | |
virtual bool | read (const dictionary &viscosityProperties)=0 |
Read transportProperties 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_ |
Cross-Power law generalized Newtonian viscosity model.
The strain rate coefficient can be specified either as the constant m
or the critical stress level at the transition to shear thinning tauStar
if tauStar
is provided:
Kinematic viscosity [m^2/s]
\[ \nu = \nu_\infty + \frac{(\nu_0 - \nu_\infty)}{1 + (m\gamma)^n} \]
or
\[ \nu = \nu_\infty + \frac{(\nu_0 - \nu_\infty)} {1 + \left(\frac{\nu_0\gamma}{\tau^*}\right)^n} \]
Example specification:
viscosityModel CrossPowerLaw; nuInf 10; m 0.4; n 3;
Definition at line 83 of file CrossPowerLaw.H.
|
explicit |
Construct from dictionary (components)
Definition at line 56 of file CrossPowerLaw.C.
References Foam::dimless, Foam::dimTime, and Foam::dimViscosity.
|
virtualdefault |
Destructor.
TypeName | ( | "CrossPowerLaw" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 76 of file CrossPowerLaw.C.
References dictionary::optionalSubDict(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::read(), and dictionary::readEntry().
|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 96 of file CrossPowerLaw.C.
References Foam::pow().