Run-time selected strain-rate function generalized Newtonian viscosity model. More...
#include <strainRateFunction.H>


Public Member Functions | |
| TypeName ("strainRateFunction") | |
| Runtime type information. | |
| strainRateFunction (const dictionary &viscosityProperties) | |
| Construct from dictionary (components). | |
| virtual | ~strainRateFunction ()=default |
| Destructor. | |
| virtual bool | read (const dictionary &viscosityProperties) |
| Read transportProperties dictionary. | |
| virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const |
| Return the laminar viscosity. | |
| Public Member Functions inherited from generalizedNewtonianViscosityModel | |
| TypeName ("generalizedNewtonianViscosityModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, generalizedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties),(viscosityProperties)) | |
| generalizedNewtonianViscosityModel (const generalizedNewtonianViscosityModel &)=delete | |
| No copy construct. | |
| void | operator= (const generalizedNewtonianViscosityModel &)=delete |
| No copy assignment. | |
| generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
| Construct from dictionary (components). | |
| virtual | ~generalizedNewtonianViscosityModel ()=default |
| Destructor. | |
| const dictionary & | viscosityProperties () const |
| Return the phase transport properties dictionary. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from generalizedNewtonianViscosityModel | |
| static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
| Select a viscosity model. | |
| 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 63 of file strainRateFunction.H.
|
explicit |
Construct from dictionary (components).
Definition at line 49 of file strainRateFunction.C.
References generalizedNewtonianViscosityModel::generalizedNewtonianViscosityModel(), Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, generalizedNewtonianViscosityModel::New(), and generalizedNewtonianViscosityModel::viscosityProperties().

|
virtualdefault |
Destructor.
References generalizedNewtonianViscosityModel::viscosityProperties().

| TypeName | ( | "strainRateFunction" | ) |
Runtime type information.
References generalizedNewtonianViscosityModel::viscosityProperties().

|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 69 of file strainRateFunction.C.
References Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, generalizedNewtonianViscosityModel::read(), and generalizedNewtonianViscosityModel::viscosityProperties().

|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 92 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(), IOobject::scopedName(), Foam::type(), and Foam::Zero.
