All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mixtureViscosityModel Class Referenceabstract

An abstract base class for incompressible mixtureViscosityModels. More...

Inheritance diagram for mixtureViscosityModel:
Collaboration diagram for mixtureViscosityModel:

Public Member Functions

 TypeName ("mixtureViscosityModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, mixtureViscosityModel, dictionary,(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi),(name, viscosityProperties, U, phi))
 
 mixtureViscosityModel (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Construct from components. More...
 
 mixtureViscosityModel (const mixtureViscosityModel &)
 Disallow default bitwise copy construction. More...
 
virtual ~mixtureViscosityModel ()
 Destructor. More...
 
const dictionaryviscosityProperties () const
 Return the phase transport properties dictionary. More...
 
virtual tmp< volScalarFieldmu (const volScalarField &muc) const =0
 Return the mixture viscosity. More...
 
virtual bool read (const dictionary &viscosityProperties)=0
 Read transportProperties dictionary. More...
 
void operator= (const mixtureViscosityModel &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< mixtureViscosityModelNew (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Return a reference to the selected viscosity model. More...
 

Protected Attributes

word name_
 
dictionary viscosityProperties_
 
const volVectorFieldU_
 
const surfaceScalarFieldphi_
 

Detailed Description

An abstract base class for incompressible mixtureViscosityModels.

Source files

Definition at line 59 of file mixtureViscosityModel.H.

Constructor & Destructor Documentation

◆ mixtureViscosityModel() [1/2]

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

Construct from components.

◆ mixtureViscosityModel() [2/2]

Disallow default bitwise copy construction.

◆ ~mixtureViscosityModel()

virtual ~mixtureViscosityModel ( )
inlinevirtual

Destructor.

Definition at line 124 of file mixtureViscosityModel.H.

Member Function Documentation

◆ TypeName()

TypeName ( "mixtureViscosityModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
mixtureViscosityModel  ,
dictionary  ,
(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi ,
(name, viscosityProperties, U, phi  
)

◆ New()

static autoPtr<mixtureViscosityModel> New ( const word name,
const dictionary viscosityProperties,
const volVectorField U,
const surfaceScalarField phi 
)
static

Return a reference to the selected viscosity model.

◆ viscosityProperties()

const dictionary& viscosityProperties ( ) const
inline

Return the phase transport properties dictionary.

Definition at line 131 of file mixtureViscosityModel.H.

References mixtureViscosityModel::mu(), mixtureViscosityModel::operator=(), mixtureViscosityModel::read(), and mixtureViscosityModel::viscosityProperties_.

Referenced by BinghamPlastic::~BinghamPlastic(), plastic::~plastic(), and slurry::~slurry().

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

◆ mu()

virtual tmp<volScalarField> mu ( const volScalarField muc) const
pure virtual

Return the mixture viscosity.

given the viscosity of the continuous phase

Implemented in plastic, slurry, and BinghamPlastic.

Referenced by mixtureViscosityModel::viscosityProperties().

Here is the caller graph for this function:

◆ read()

virtual bool read ( const dictionary viscosityProperties)
pure virtual

Read transportProperties dictionary.

Implemented in plastic, slurry, and BinghamPlastic.

Referenced by mixtureViscosityModel::viscosityProperties().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const mixtureViscosityModel )
delete

Disallow default bitwise assignment.

Referenced by mixtureViscosityModel::viscosityProperties().

Here is the caller graph for this function:

Member Data Documentation

◆ name_

word name_
protected

Definition at line 66 of file mixtureViscosityModel.H.

◆ viscosityProperties_

dictionary viscosityProperties_
protected

Definition at line 67 of file mixtureViscosityModel.H.

Referenced by mixtureViscosityModel::viscosityProperties().

◆ U_

const volVectorField& U_
protected

Definition at line 69 of file mixtureViscosityModel.H.

◆ phi_

const surfaceScalarField& phi_
protected

Definition at line 70 of file mixtureViscosityModel.H.


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