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 dictionary (components) More... | |
| virtual | ~strainRateFunction ()=default |
| 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 generalizedNewtonianViscosityModel &)=delete | |
| No copy construct. More... | |
| void | operator= (const generalizedNewtonianViscosityModel &)=delete |
| No copy assignment. More... | |
| generalizedNewtonianViscosityModel (const dictionary &viscosityProperties) | |
| Construct from dictionary (components) More... | |
| virtual | ~generalizedNewtonianViscosityModel ()=default |
| Destructor. More... | |
| const dictionary & | viscosityProperties () const |
| Return the phase transport properties dictionary. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from generalizedNewtonianViscosityModel | |
| static autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
| Select a 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 63 of file strainRateFunction.H.
|
explicit |
Construct from dictionary (components)
Definition at line 51 of file strainRateFunction.C.
|
virtualdefault |
Destructor.
| TypeName | ( | "strainRateFunction" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 71 of file strainRateFunction.C.
References Foam::New(), dictionary::optionalSubDict(), and Foam::blockMeshTools::read().

|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 94 of file strainRateFunction.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::dimViscosity, forAll, IOobject::group(), DimensionedField< Type, GeoMesh >::mesh(), Foam::New(), Function1< Type >::value(), and Foam::Zero.
