All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Casson Class Reference

An incompressible Casson non-Newtonian viscosity model. More...

Inheritance diagram for Casson:
Collaboration diagram for Casson:

Public Member Functions

 TypeName ("Casson")
 Runtime type information. More...
 
 Casson (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components. More...
 
virtual ~Casson ()
 Destructor. 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...
 
virtual 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...
 
 viscosityModel (const viscosityModel &)
 Disallow default bitwise copy construction. More...
 
virtual ~viscosityModel ()
 Destructor. More...
 
const dictionaryviscosityProperties () const
 Return the phase transport properties dictionary. More...
 
tmp< volScalarFieldstrainRate () const
 Return the strain rate. More...
 
void operator= (const viscosityModel &)=delete
 Disallow default bitwise assignment. 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 Attributes inherited from viscosityModel
word name_
 
dictionary viscosityProperties_
 
const volVectorFieldU_
 
const surfaceScalarFieldphi_
 

Detailed Description

An incompressible Casson non-Newtonian viscosity model.

References:

    Casson, N. (1959).
    Rheology of disperse systems.
    In Proceedings of a Conference Organized by the
    British Society of Rheology.
    Pergamon Press, New York.

    Fournier, R. L. (2011).
    Basic transport phenomena in biomedical engineering.
    CRC Press.

Example specification for blood:

     transportModel  Casson;

     CassonCoeffs
     {
         m       3.934986e-6;
         tau0    2.9032e-6;
         nuMax   13.3333e-6;
         nuMin   3.9047e-6;
     }
Source files

Definition at line 79 of file Casson.H.

Constructor & Destructor Documentation

◆ Casson()

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

Construct from components.

Definition at line 78 of file Casson.C.

References Casson::read().

Here is the call graph for this function:

◆ ~Casson()

virtual ~Casson ( )
inlinevirtual

Destructor.

Definition at line 120 of file Casson.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Casson"  )

Runtime type information.

◆ nu() [1/2]

virtual tmp<volScalarField> nu ( ) const
inlinevirtual

Return the laminar viscosity.

Implements viscosityModel.

Definition at line 127 of file Casson.H.

◆ nu() [2/2]

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

Return the laminar viscosity for patch.

Implements viscosityModel.

Definition at line 133 of file Casson.H.

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

Here is the call graph for this function:

◆ correct()

virtual void correct ( )
inlinevirtual

Correct the laminar viscosity.

Implements viscosityModel.

Definition at line 139 of file Casson.H.

References Casson::read().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements viscosityModel.

Definition at line 109 of file Casson.C.

References dictionary::lookup(), dictionary::optionalSubDict(), and viscosityModel::read().

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

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: