An incompressible Cross-Power law non-Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("CrossPowerLaw") | |
Runtime type information. More... | |
CrossPowerLaw (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
virtual | ~CrossPowerLaw () |
Destructor. More... | |
virtual tmp< volScalarField > | nu () const |
Return the laminar viscosity. More... | |
virtual tmp< scalarField > | nu (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 dictionary & | viscosityProperties () const |
Return the phase transport properties dictionary. More... | |
tmp< volScalarField > | strainRate () 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< viscosityModel > | New (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 volVectorField & | U_ |
const surfaceScalarField & | phi_ |
An incompressible Cross-Power law non-Newtonian viscosity model.
Definition at line 52 of file CrossPowerLaw.H.
CrossPowerLaw | ( | const word & | name, |
const dictionary & | viscosityProperties, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
Definition at line 60 of file CrossPowerLaw.C.
References CrossPowerLaw::read().
|
inlinevirtual |
Destructor.
Definition at line 92 of file CrossPowerLaw.H.
TypeName | ( | "CrossPowerLaw" | ) |
Runtime type information.
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosityModel.
Definition at line 99 of file CrossPowerLaw.H.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosityModel.
Definition at line 105 of file CrossPowerLaw.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and patchi.
|
inlinevirtual |
Correct the laminar viscosity.
Implements viscosityModel.
Definition at line 111 of file CrossPowerLaw.H.
References CrossPowerLaw::read().
|
virtual |
Read transportProperties dictionary.
Implements viscosityModel.
Definition at line 94 of file CrossPowerLaw.C.
References dictionary::lookup(), dictionary::optionalSubDict(), and viscosityModel::read().
Referenced by CrossPowerLaw::correct(), and CrossPowerLaw::CrossPowerLaw().