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... | |
![]() | |
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 autoPtr< generalizedNewtonianViscosityModel > | New (const dictionary &dict) |
Select a viscosity model. More... | |
![]() | |
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 67 of file strainRateFunction.H.
|
explicit |
Construct from dictionary (components)
Definition at line 58 of file strainRateFunction.C.
|
virtualdefault |
Destructor.
TypeName | ( | "strainRateFunction" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalizedNewtonianViscosityModel.
Definition at line 78 of file strainRateFunction.C.
References Foam::New(), dictionary::optionalSubDict(), and Foam::blockMeshTools::read().
|
virtual |
Return the laminar viscosity.
Implements generalizedNewtonianViscosityModel.
Definition at line 101 of file strainRateFunction.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::dimViscosity, forAll, Foam::New(), and Foam::Zero.