An abstract base class for incompressible mixtureViscosityModels. More...
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 dictionary & | viscosityProperties () const |
Return the phase transport properties dictionary. More... | |
virtual tmp< volScalarField > | mu (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< mixtureViscosityModel > | New (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 volVectorField & | U_ |
const surfaceScalarField & | phi_ |
An abstract base class for incompressible mixtureViscosityModels.
Definition at line 59 of file mixtureViscosityModel.H.
|
protected |
Disallow copy construct.
mixtureViscosityModel | ( | const word & | name, |
const dictionary & | viscosityProperties, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
|
inlinevirtual |
Destructor.
Definition at line 130 of file mixtureViscosityModel.H.
|
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 |
Return a reference to the selected viscosity model.
|
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().
|
pure virtual |
Return the mixture viscosity.
given the viscosity of the continuous phase
Implemented in plastic, slurry, and BinghamPlastic.
Referenced by mixtureViscosityModel::viscosityProperties().
|
pure virtual |
Read transportProperties dictionary.
Implemented in plastic, slurry, and BinghamPlastic.
Referenced by mixtureViscosityModel::viscosityProperties().
|
protected |
Definition at line 66 of file mixtureViscosityModel.H.
|
protected |
Definition at line 67 of file mixtureViscosityModel.H.
Referenced by mixtureViscosityModel::viscosityProperties().
|
protected |
Definition at line 69 of file mixtureViscosityModel.H.
|
protected |
Definition at line 70 of file mixtureViscosityModel.H.