OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

CrossPowerLaw Class Reference

An incompressible Cross-Power law non-Newtonian viscosity model. More...

Inheritance diagram for CrossPowerLaw:
Collaboration diagram for CrossPowerLaw:

List of all members.


Public Member Functions

 TypeName ("CrossPowerLaw")
 Runtime type information.
 CrossPowerLaw (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components.
 ~CrossPowerLaw ()
tmp< volScalarField > nu () const
 Return the laminar viscosity.
void correct ()
 Correct the laminar viscosity.
bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary.

Detailed Description

An incompressible Cross-Power law non-Newtonian viscosity model.

Source files

Definition at line 48 of file CrossPowerLaw.H.


Constructor & Destructor Documentation

CrossPowerLaw ( const word &  name,
const dictionary &  viscosityProperties,
const volVectorField &  U,
const surfaceScalarField &  phi 
)

Construct from components.

Definition at line 52 of file CrossPowerLaw.C.

References Foam::pow(), and viscosityModel::strainRate().

Here is the call graph for this function:

~CrossPowerLaw (  )  [inline]

Definition at line 89 of file CrossPowerLaw.H.


Member Function Documentation

TypeName ( "CrossPowerLaw"   ) 

Runtime type information.

tmp<volScalarField> nu (  )  const [inline, virtual]

Return the laminar viscosity.

Implements viscosityModel.

Definition at line 96 of file CrossPowerLaw.H.

void correct (  )  [inline, virtual]

Correct the laminar viscosity.

Implements viscosityModel.

Definition at line 102 of file CrossPowerLaw.H.

bool read ( const dictionary &  viscosityProperties  )  [virtual]

Read transportProperties dictionary.

Implements viscosityModel.

Definition at line 83 of file CrossPowerLaw.C.


The documentation for this class was generated from the following files:
  • src/transportModels/incompressible/viscosityModels/CrossPowerLaw/CrossPowerLaw.H
  • src/transportModels/incompressible/viscosityModels/CrossPowerLaw/CrossPowerLaw.C
Copyright © 2000-2009 OpenCFD Ltd