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

Standard power-law generalised Newtonian viscosity model. More...

Inheritance diagram for powerLaw:
Collaboration diagram for powerLaw:

Public Member Functions

 TypeName ("powerLaw")
 Runtime type information. More...
 
 powerLaw (const dictionary &viscosityProperties)
 Construct from components. More...
 
virtual ~powerLaw ()
 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

Standard power-law generalised Newtonian viscosity model.

Source files

Definition at line 53 of file powerLaw.H.

Constructor & Destructor Documentation

◆ powerLaw()

powerLaw ( const dictionary viscosityProperties)

Construct from components.

Definition at line 54 of file powerLaw.C.

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

Here is the call graph for this function:

◆ ~powerLaw()

virtual ~powerLaw ( )
inlinevirtual

Destructor.

Definition at line 78 of file powerLaw.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "powerLaw"  )

Runtime type information.

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements generalisedNewtonianViscosityModel.

Definition at line 71 of file powerLaw.C.

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

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

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 92 of file powerLaw.C.

References Foam::dimless, Foam::dimTime, Foam::max(), Foam::min(), and Foam::pow().

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

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: