strainRateFunction Class Reference

Run-time selected strain-rate function generalized 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 generalizedNewtonianViscosityModel
 TypeName ("generalizedNewtonianViscosityModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties))
 
 generalizedNewtonianViscosityModel (const dictionary &viscosityProperties)
 Construct from components. More...
 
 generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &)
 Disallow default bitwise copy construction. More...
 
virtual ~generalizedNewtonianViscosityModel ()
 Destructor. More...
 
const dictionaryviscosityProperties () const
 Return the phase transport properties dictionary. More...
 
void operator= (const generalizedNewtonianViscosityModel &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

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

Detailed Description

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

Example linear function of strain-rate:

    generalizedNewtonianModel strainRateFunction;

    function polynomial ((0 0.1) (1 1.3));
See also
Foam::generalizedNewtonianViscosityModel 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 generalizedNewtonianViscosityModel.

Definition at line 75 of file strainRateFunction.C.

References Function1< Type >::New(), strainRateFunction::nu(), dictionary::optionalSubDict(), and generalizedNewtonianViscosityModel::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: