strainRateFunction Class Reference

Run-time selected strain-rate function generalised Newtonian viscosity model. More...

Inheritance diagram for strainRateFunction:
Collaboration diagram for strainRateFunction:

Public Member Functions

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

Run-time selected strain-rate function generalised Newtonian viscosity model.

Example linear function of strain-rate:

    generalisedNewtonianModel strainRateFunction;

    function polynomial ((0 0.1) (1 1.3));
See also
Foam::generalisedNewtonianViscosityModel Foam::Function1
Source files

Definition at line 64 of file strainRateFunction.H.

Constructor & Destructor Documentation

◆ strainRateFunction()

strainRateFunction ( const dictionary viscosityProperties)

Construct from components.

Definition at line 55 of file strainRateFunction.C.

References strainRateFunction::read().

Here is the call graph for this function:

◆ ~strainRateFunction()

virtual ~strainRateFunction ( )
inlinevirtual

Destructor.

Definition at line 87 of file strainRateFunction.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "strainRateFunction"  )

Runtime type information.

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements generalisedNewtonianViscosityModel.

Definition at line 75 of file strainRateFunction.C.

References Function1< Type >::New(), strainRateFunction::nu(), dictionary::optionalSubDict(), and generalisedNewtonianViscosityModel::read().

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

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

◆ nu()


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