Loading...
Searching...
No Matches
strainRateFunction Class Reference

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

#include <strainRateFunction.H>

Inheritance diagram for strainRateFunction:
Collaboration diagram for strainRateFunction:

Public Member Functions

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

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 63 of file strainRateFunction.H.

Constructor & Destructor Documentation

◆ strainRateFunction()

strainRateFunction ( const dictionary & viscosityProperties)
explicit

◆ ~strainRateFunction()

virtual ~strainRateFunction ( )
virtualdefault

Destructor.

References generalizedNewtonianViscosityModel::viscosityProperties().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "strainRateFunction" )

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 strainRateFunction.C.

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

Here is the call graph for this function:

◆ nu()


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