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

Newtonian Class Reference

An incompressible Newtonian viscosity model. More...

Inheritance diagram for Newtonian:
Collaboration diagram for Newtonian:

List of all members.


Public Member Functions

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

Detailed Description

An incompressible Newtonian viscosity model.

Source files

Definition at line 48 of file Newtonian.H.


Constructor & Destructor Documentation

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

construct from components

Definition at line 37 of file Newtonian.C.

~Newtonian (  )  [inline]

Definition at line 79 of file Newtonian.H.


Member Function Documentation

TypeName ( "Newtonian"   ) 

Runtime type information.

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

Return the laminar viscosity.

Implements viscosityModel.

Definition at line 86 of file Newtonian.H.

void correct (  )  [inline, virtual]

Correct the laminar viscosity (not appropriate, viscosity constant).

Implements viscosityModel.

Definition at line 92 of file Newtonian.H.

bool read ( const dictionary &  viscosityProperties  )  [virtual]

Read transportProperties dictionary.

Implements viscosityModel.

Definition at line 65 of file Newtonian.C.


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