Public Member Functions | List of all members
Newtonian Class Reference

An incompressible Newtonian viscosity model. More...

Inheritance diagram for Newtonian:
Inheritance graph
[legend]
Collaboration diagram for Newtonian:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("Newtonian")
 Runtime type information. More...
 
 Newtonian (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components. More...
 
 ~Newtonian ()
 Destructor. More...
 
tmp< volScalarFieldnu () const
 Return the laminar viscosity. More...
 
tmp< scalarFieldnu (const label patchi) const
 Return the laminar viscosity for patch. More...
 
void correct ()
 Correct the laminar viscosity (not appropriate, viscosity constant) More...
 
bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary. More...
 
- Public Member Functions inherited from viscosityModel
 TypeName ("viscosityModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, viscosityModel, dictionary,( const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi ),(name, viscosityProperties, U, phi))
 
 viscosityModel (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components. More...
 
virtual ~viscosityModel ()
 Destructor. More...
 
const dictionaryviscosityProperties () const
 Return the phase transport properties dictionary. More...
 
tmp< volScalarFieldstrainRate () const
 Return the strain rate. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from viscosityModel
static autoPtr< viscosityModelNew (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Return a reference to the selected viscosity model. More...
 
- Protected Member Functions inherited from viscosityModel
 viscosityModel (const viscosityModel &)
 Disallow copy construct. More...
 
void operator= (const viscosityModel &)
 Disallow default bitwise assignment. More...
 
- Protected Attributes inherited from viscosityModel
word name_
 
dictionary viscosityProperties_
 
const volVectorFieldU_
 
const surfaceScalarFieldphi_
 

Detailed Description

An incompressible Newtonian viscosity model.

Source files

Definition at line 52 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 45 of file Newtonian.C.

References Newtonian::read().

Here is the call graph for this function:

~Newtonian ( )
inline

Destructor.

Definition at line 82 of file Newtonian.H.

Member Function Documentation

TypeName ( "Newtonian"  )

Runtime type information.

tmp<volScalarField> nu ( ) const
inlinevirtual

Return the laminar viscosity.

Implements viscosityModel.

Definition at line 89 of file Newtonian.H.

tmp<scalarField> nu ( const label  patchi) const
inlinevirtual

Return the laminar viscosity for patch.

Implements viscosityModel.

Definition at line 95 of file Newtonian.H.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and patchi.

Here is the call graph for this function:

void correct ( )
inlinevirtual

Correct the laminar viscosity (not appropriate, viscosity constant)

Implements viscosityModel.

Definition at line 101 of file Newtonian.H.

References Newtonian::read().

Here is the call graph for this function:

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements viscosityModel.

Definition at line 73 of file Newtonian.C.

References viscosityModel::read().

Referenced by Newtonian::correct(), and Newtonian::Newtonian().

Here is the call graph for this function:

Here is the caller graph for this function:


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