Run-time selected strain-rate function generalized Newtonian viscosity model. More...


Public Member Functions | |
| TypeName ("strainRateFunction") | |
| Runtime type information. More... | |
| strainRateFunction (const dictionary &viscosityProperties) | |
| Construct from components. More... | |
| virtual | ~strainRateFunction () |
| Destructor. More... | |
| virtual bool | read (const dictionary &viscosityProperties) |
| Read transportProperties dictionary. More... | |
| virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const |
| Return the laminar viscosity. More... | |
Public Member Functions inherited from generalizedNewtonianViscosityModel | |
| TypeName ("generalizedNewtonianViscosityModel") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties)) | |
| generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
| Construct from components. More... | |
| generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &) | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~generalizedNewtonianViscosityModel () |
| Destructor. More... | |
| const dictionary & | viscosityProperties () const |
| Return the phase transport properties dictionary. More... | |
| void | operator= (const generalizedNewtonianViscosityModel &)=delete |
| Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from generalizedNewtonianViscosityModel | |
| static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &viscosityProperties) |
| Return a reference to the selected viscosity model. More... | |
Protected Attributes inherited from generalizedNewtonianViscosityModel | |
| dictionary | viscosityProperties_ |
Run-time selected strain-rate function generalized Newtonian viscosity model.
Example linear function of strain-rate:
generalizedNewtonianModel strainRateFunction;
function polynomial ((0 0.1) (1 1.3));
Definition at line 64 of file strainRateFunction.H.
| strainRateFunction | ( | const dictionary & | viscosityProperties | ) |
Construct from components.
Definition at line 55 of file strainRateFunction.C.
References strainRateFunction::read().

|
inlinevirtual |
Destructor.
Definition at line 87 of file strainRateFunction.H.
References strainRateFunction::nu(), and strainRateFunction::read().

| TypeName | ( | "strainRateFunction" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 75 of file strainRateFunction.C.
References Function1< Type >::New(), strainRateFunction::nu(), dictionary::optionalSubDict(), and generalizedNewtonianViscosityModel::read().
Referenced by strainRateFunction::strainRateFunction(), and strainRateFunction::~strainRateFunction().


|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 98 of file strainRateFunction.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::dimViscosity, forAll, IOobject::group(), IOobject::groupName(), DimensionedField< Type, GeoMesh >::mesh(), GeometricField< scalar, fvPatchField, volMesh >::New(), patchi, tmp< T >::ref(), and Foam::type().
Referenced by strainRateFunction::read(), and strainRateFunction::~strainRateFunction().

