Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mixtureViscosityModel Class Referenceabstract

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

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

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...
 
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...
 

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 Member Functions

 mixtureViscosityModel (const mixtureViscosityModel &)
 Disallow copy construct. More...
 
void operator= (const mixtureViscosityModel &)
 Disallow default bitwise assignment. 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

Disallow copy construct.

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

Construct from components.

virtual ~mixtureViscosityModel ( )
inlinevirtual

Destructor.

Definition at line 130 of file mixtureViscosityModel.H.

Member Function Documentation

void operator= ( const mixtureViscosityModel )
protected

Disallow default bitwise assignment.

TypeName ( "mixtureViscosityModel"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
mixtureViscosityModel  ,
dictionary  ,
( const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi ,
(name, viscosityProperties, U, phi  
)
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.

const dictionary& viscosityProperties ( ) const
inline

Return the phase transport properties dictionary.

Definition at line 137 of file mixtureViscosityModel.H.

References mixtureViscosityModel::mu(), 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:

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:

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:

Member Data Documentation

word name_
protected

Definition at line 66 of file mixtureViscosityModel.H.

dictionary viscosityProperties_
protected

Definition at line 67 of file mixtureViscosityModel.H.

Referenced by mixtureViscosityModel::viscosityProperties().

const volVectorField& U_
protected

Definition at line 69 of file mixtureViscosityModel.H.

const surfaceScalarField& phi_
protected

Definition at line 70 of file mixtureViscosityModel.H.


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