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

Viscosity correction model for a generic power-law plastic. More...

Inheritance diagram for plastic:
Collaboration diagram for plastic:

Public Member Functions

 TypeName ("plastic")
 Runtime type information. More...
 
 plastic (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi, const word modelName=typeName)
 Construct from components. More...
 
 ~plastic ()
 Destructor. More...
 
tmp< volScalarFieldmu (const volScalarField &muc) const
 Return the mixture viscosity. More...
 
bool read (const dictionary &viscosityProperties)
 Read transportProperties dictionary. More...
 
- Public Member Functions inherited from mixtureViscosityModel
 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...
 
void operator= (const mixtureViscosityModel &)=delete
 Disallow default bitwise assignment. More...
 

Protected Attributes

dictionary plasticCoeffs_
 Dictionary. More...
 
dimensionedScalar plasticViscosityCoeff_
 Plastic viscosity coefficient. More...
 
dimensionedScalar plasticViscosityExponent_
 Plastic viscosity exponent. More...
 
dimensionedScalar muMax_
 Maximum viscosity. More...
 
const volScalarFieldalpha_
 Plastic phase fraction. More...
 
- Protected Attributes inherited from mixtureViscosityModel
word name_
 
dictionary viscosityProperties_
 
const volVectorFieldU_
 
const surfaceScalarFieldphi_
 

Additional Inherited Members

- Static Public Member Functions inherited from mixtureViscosityModel
static autoPtr< mixtureViscosityModelNew (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
 Return a reference to the selected viscosity model. More...
 

Detailed Description

Viscosity correction model for a generic power-law plastic.

Source files

Definition at line 55 of file plastic.H.

Constructor & Destructor Documentation

◆ plastic()

plastic ( const word name,
const dictionary viscosityProperties,
const volVectorField U,
const surfaceScalarField phi,
const word  modelName = typeName 
)

Construct from components.

◆ ~plastic()

~plastic ( )
inline

Destructor.

Definition at line 99 of file plastic.H.

References plastic::mu(), plastic::read(), and mixtureViscosityModel::viscosityProperties().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "plastic"  )

Runtime type information.

◆ mu()

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

Return the mixture viscosity.

given the viscosity of the continuous phase

Implements mixtureViscosityModel.

Referenced by plastic::~plastic().

Here is the caller graph for this function:

◆ read()

bool read ( const dictionary viscosityProperties)
virtual

Read transportProperties dictionary.

Implements mixtureViscosityModel.

Referenced by plastic::~plastic().

Here is the caller graph for this function:

Member Data Documentation

◆ plasticCoeffs_

dictionary plasticCoeffs_
protected

Dictionary.

Definition at line 64 of file plastic.H.

◆ plasticViscosityCoeff_

dimensionedScalar plasticViscosityCoeff_
protected

Plastic viscosity coefficient.

Definition at line 67 of file plastic.H.

◆ plasticViscosityExponent_

dimensionedScalar plasticViscosityExponent_
protected

Plastic viscosity exponent.

Definition at line 70 of file plastic.H.

◆ muMax_

dimensionedScalar muMax_
protected

Maximum viscosity.

Definition at line 73 of file plastic.H.

◆ alpha_

const volScalarField& alpha_
protected

Plastic phase fraction.

Definition at line 76 of file plastic.H.


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