All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CrossPowerLaw Class Reference

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

Inheritance diagram for CrossPowerLaw:
Collaboration diagram for CrossPowerLaw:

Public Member Functions

 TypeName ("CrossPowerLaw")
 Runtime type information. More...
 
 CrossPowerLaw (const dictionary &viscosityProperties)
 Construct from components. More...
 
virtual ~CrossPowerLaw ()
 Destructor. More...
 
virtual bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary. More...
 
virtual tmp< volScalarFieldnu (const volScalarField &nu0, const volScalarField &strainRate) const
 Return the laminar viscosity. More...
 
- Public Member Functions inherited from generalisedNewtonianViscosityModel
 TypeName ("generalisedNewtonianViscosityModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties))
 
 generalisedNewtonianViscosityModel (const dictionary &viscosityProperties)
 Construct from components. More...
 
 generalisedNewtonianViscosityModel (const generalisedNewtonianViscosityModel &)
 Disallow default bitwise copy construction. More...
 
virtual ~generalisedNewtonianViscosityModel ()
 Destructor. More...
 
const dictionaryviscosityProperties () const
 Return the phase transport properties dictionary. More...
 
void operator= (const generalisedNewtonianViscosityModel &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from generalisedNewtonianViscosityModel
static autoPtr< generalisedNewtonianViscosityModelNew (const dictionary &viscosityProperties)
 Return a reference to the selected viscosity model. More...
 
- Protected Attributes inherited from generalisedNewtonianViscosityModel
dictionary viscosityProperties_
 

Detailed Description

Cross-Power law generalised 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 80 of file CrossPowerLaw.H.

Constructor & Destructor Documentation

◆ CrossPowerLaw()

CrossPowerLaw ( const dictionary viscosityProperties)

Construct from components.

Definition at line 55 of file CrossPowerLaw.C.

References Foam::read(), and CrossPowerLaw::read().

Here is the call graph for this function:

◆ ~CrossPowerLaw()

virtual ~CrossPowerLaw ( )
inlinevirtual

Destructor.

Definition at line 105 of file CrossPowerLaw.H.

References CrossPowerLaw::nu(), and CrossPowerLaw::read().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "CrossPowerLaw"  )

Runtime type information.

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements generalisedNewtonianViscosityModel.

Definition at line 73 of file CrossPowerLaw.C.

References dictionary::found(), dictionary::lookup(), CrossPowerLaw::nu(), dictionary::optionalSubDict(), and generalisedNewtonianViscosityModel::read().

Referenced by CrossPowerLaw::CrossPowerLaw(), and CrossPowerLaw::~CrossPowerLaw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nu()

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

Return the laminar viscosity.

Implements generalisedNewtonianViscosityModel.

Definition at line 102 of file CrossPowerLaw.C.

References Foam::pow().

Referenced by CrossPowerLaw::read(), and CrossPowerLaw::~CrossPowerLaw().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: