Loading...
Searching...
No Matches
CrossPowerLaw Class Reference

Cross-Power law generalized Newtonian viscosity model. More...

#include <CrossPowerLaw.H>

Inheritance diagram for CrossPowerLaw:
Collaboration diagram for CrossPowerLaw:

Public Member Functions

 TypeName ("CrossPowerLaw")
 Runtime type information.
 CrossPowerLaw (const dictionary &viscosityProperties)
 Construct from dictionary (components).
virtual ~CrossPowerLaw ()=default
 Destructor.
virtual bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary.
virtual tmp< volScalarFieldnu (const volScalarField &nu0, const volScalarField &strainRate) const
 Return the laminar viscosity.
Public Member Functions inherited from generalizedNewtonianViscosityModel
 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 dictionaryviscosityProperties () const
 Return the phase transport properties dictionary.

Additional Inherited Members

Static Public Member Functions inherited from generalizedNewtonianViscosityModel
static autoPtr< generalizedNewtonianViscosityModelNew (const dictionary &dict)
 Select a viscosity model.
Protected Attributes inherited from generalizedNewtonianViscosityModel
dictionary viscosityProperties_

Detailed Description

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;
Source files

Definition at line 79 of file CrossPowerLaw.H.

Constructor & Destructor Documentation

◆ CrossPowerLaw()

CrossPowerLaw ( const dictionary & viscosityProperties)
explicit

◆ ~CrossPowerLaw()

virtual ~CrossPowerLaw ( )
virtualdefault

Destructor.

References generalizedNewtonianViscosityModel::viscosityProperties().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "CrossPowerLaw" )

Runtime type information.

References generalizedNewtonianViscosityModel::viscosityProperties().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary & viscosityProperties)
virtual

Read transportProperties dictionary.

Implements generalizedNewtonianViscosityModel.

Definition at line 69 of file CrossPowerLaw.C.

References Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, generalizedNewtonianViscosityModel::read(), and generalizedNewtonianViscosityModel::viscosityProperties().

Here is the call graph for this function:

◆ nu()

Foam::tmp< Foam::volScalarField > nu ( const volScalarField & nu0,
const volScalarField & strainRate ) const
virtual

Return the laminar viscosity.

Implements generalizedNewtonianViscosityModel.

Definition at line 89 of file CrossPowerLaw.C.

References Foam::pow().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • src/TurbulenceModels/turbulenceModels/laminar/generalizedNewtonian/generalizedNewtonianViscosityModels/CrossPowerLaw/CrossPowerLaw.H
  • src/TurbulenceModels/turbulenceModels/laminar/generalizedNewtonian/generalizedNewtonianViscosityModels/CrossPowerLaw/CrossPowerLaw.C