Newtonian Class Reference

Newtonian viscosity model which returns the fluid Newtonian viscosity. More...

Inheritance diagram for Newtonian:
Collaboration diagram for Newtonian:

Public Member Functions

 TypeName ("Newtonian")
 Runtime type information. More...
 
 Newtonian (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
 Construct from components. More...
 
 Newtonian (const Newtonian &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~Newtonian ()
 Destructor. More...
 
virtual bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary. More...
 
virtual tmp< volScalarFieldnu () const
 Return the laminar viscosity. More...
 
virtual tmp< scalarFieldnu (const label patchi) const
 Return the laminar viscosity for patch. More...
 
virtual void correct ()
 Correct the laminar viscosity. More...
 
void operator= (const Newtonian &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from generalisedNewtonianViscosityModel
 TypeName ("generalisedNewtonianViscosityModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U),(viscosityProperties, viscosity, U))
 
 generalisedNewtonianViscosityModel (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
 Construct from components. More...
 
 generalisedNewtonianViscosityModel (const generalisedNewtonianViscosityModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~generalisedNewtonianViscosityModel ()
 Destructor. More...
 
void operator= (const generalisedNewtonianViscosityModel &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from viscosity
 TypeName ("viscosity")
 Runtime type information. More...
 
 viscosity ()
 Construct. More...
 
 viscosity (const viscosity &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~viscosity ()
 Destructor. More...
 
void operator= (const viscosity &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from generalisedNewtonianViscosityModel
static autoPtr< generalisedNewtonianViscosityModelNew (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
 Return a reference to the selected viscosity model. More...
 
- Protected Attributes inherited from generalisedNewtonianViscosityModel
const viscosityviscosity_
 Reference to the fluid Newtonian viscosity. More...
 
const volVectorFieldU_
 Reference to the velocity field. More...
 

Detailed Description

Newtonian viscosity model which returns the fluid Newtonian viscosity.

Source files

Definition at line 52 of file NewtonianViscosityModel.H.

Constructor & Destructor Documentation

◆ Newtonian() [1/2]

Newtonian ( const dictionary viscosityProperties,
const viscosity viscosity,
const volVectorField U 
)

Construct from components.

Definition at line 54 of file NewtonianViscosityModel.C.

References Newtonian::read().

Here is the call graph for this function:

◆ Newtonian() [2/2]

Newtonian ( const Newtonian )
delete

Disallow default bitwise copy construction.

◆ ~Newtonian()

virtual ~Newtonian ( )
inlinevirtual

Destructor.

Definition at line 81 of file NewtonianViscosityModel.H.

References Newtonian::read().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "Newtonian"  )

Runtime type information.

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements generalisedNewtonianViscosityModel.

Definition at line 67 of file NewtonianViscosityModel.C.

References generalisedNewtonianViscosityModel::read().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nu() [1/2]

virtual tmp<volScalarField> nu ( ) const
inlinevirtual

Return the laminar viscosity.

Implements viscosity.

Definition at line 91 of file NewtonianViscosityModel.H.

References viscosity::nu(), and generalisedNewtonianViscosityModel::viscosity_.

Here is the call graph for this function:

◆ nu() [2/2]

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

Return the laminar viscosity for patch.

Implements viscosity.

Definition at line 97 of file NewtonianViscosityModel.H.

References viscosity::nu(), and generalisedNewtonianViscosityModel::viscosity_.

Here is the call graph for this function:

◆ correct()

virtual void correct ( )
inlinevirtual

Correct the laminar viscosity.

Implements generalisedNewtonianViscosityModel.

Definition at line 103 of file NewtonianViscosityModel.H.

References Newtonian::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const Newtonian )
delete

Disallow default bitwise assignment.

Referenced by Newtonian::correct().

Here is the caller graph for this function:

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