Turbulence model for shear-dependent Non-Newtonian flow. More...
#include <generalizedNewtonian.H>


Public Types | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
| typedef BasicMomentumTransportModel::transportModel | transportModel |
| Public Types inherited from linearViscousStress< laminarModel< BasicMomentumTransportModel > > | |
| typedef laminarModel< BasicMomentumTransportModel >::alphaField | alphaField |
| typedef laminarModel< BasicMomentumTransportModel >::rhoField | rhoField |
| typedef laminarModel< BasicMomentumTransportModel >::transportModel | transportModel |
| Public Types inherited from laminarModel< BasicMomentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
| typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Member Functions | |
| TypeName ("generalizedNewtonian") | |
| Runtime type information. | |
| generalizedNewtonian (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
| Construct from components. | |
| virtual | ~generalizedNewtonian ()=default |
| Destructor. | |
| virtual bool | read () |
| Read turbulence (momentumTransport) dictionary. | |
| virtual tmp< volScalarField > | nut () const |
| Return the turbulence viscosity,. | |
| virtual tmp< scalarField > | nut (const label patchi) const |
| Return the turbulence viscosity on patch. | |
| virtual tmp< volScalarField > | nuEff () const |
| Return the effective viscosity. | |
| virtual tmp< scalarField > | nuEff (const label patchi) const |
| Return the effective viscosity on patch. | |
| virtual void | correct () |
| Correct the generalizedNewtonian viscosity. | |
| Public Member Functions inherited from linearViscousStress< laminarModel< BasicMomentumTransportModel > > | |
| linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
| Construct from components. | |
| virtual | ~linearViscousStress ()=default |
| Destructor. | |
| virtual tmp< volSymmTensorField > | devRhoReff () const |
| Return the effective stress tensor. | |
| virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
| Return the source term for the momentum equation. | |
| Public Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
| TypeName ("laminar") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, laminarModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)) | |
| virtual | ~laminarModel ()=default |
| Destructor. | |
| virtual const dictionary & | coeffDict () const |
| Const access to the coefficients dictionary. | |
| virtual tmp< volScalarField > | k () const |
| Return the turbulence kinetic energy, i.e. 0 for laminar flow. | |
| virtual tmp< volScalarField > | epsilon () const |
| Return the turbulence kinetic energy dissipation rate,. | |
| virtual tmp< volScalarField > | omega () const |
| Return the specific dissipation rate, i.e. 0 for laminar flow. | |
| virtual tmp< volSymmTensorField > | R () const |
| Return the Reynolds stress tensor, i.e. 0 for laminar flow. | |
Static Public Member Functions | |
| static autoPtr< generalizedNewtonian > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) |
| Return a reference to the selected turbulence model. | |
| Static Public Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
| static autoPtr< laminarModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName) |
| Return a reference to the selected laminar model. | |
Protected Member Functions | |
| virtual tmp< volScalarField > | strainRate () const |
| Protected Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
| virtual void | printCoeffs (const word &type) |
| Print model coefficients. | |
| laminarModel (const laminarModel &)=delete | |
| No copy construct. | |
| void | operator= (const laminarModel &)=delete |
| No copy assignment. | |
Protected Attributes | |
| autoPtr< generalizedNewtonianViscosityModel > | viscosityModel_ |
| Run-time selectable non-Newtonian viscosity model. | |
| volScalarField | nu_ |
| The non-Newtonian viscosity field. | |
| Protected Attributes inherited from laminarModel< BasicMomentumTransportModel > | |
| dictionary | laminarDict_ |
| laminar coefficients dictionary | |
| Switch | printCoeffs_ |
| Flag to print the model coeffs at run-time. | |
| dictionary | coeffDict_ |
| Model coefficients dictionary. | |
Turbulence model for shear-dependent Non-Newtonian flow.
Definition at line 52 of file generalizedNewtonian.H.
| typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 78 of file generalizedNewtonian.H.
| typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 79 of file generalizedNewtonian.H.
| typedef BasicMomentumTransportModel::transportModel transportModel |
Definition at line 80 of file generalizedNewtonian.H.
| generalizedNewtonian | ( | const alphaField & | alpha, |
| const rhoField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const transportModel & | transport, | ||
| const word & | propertiesName ) |
Construct from components.
Definition at line 39 of file generalizedNewtonian.C.
References alpha, laminarModel< BasicMomentumTransportModel >::coeffDict_, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, laminarModel< BasicMomentumTransportModel >::laminarModel(), linearViscousStress< laminarModel< BasicMomentumTransportModel > >::linearViscousStress(), New(), nu, nu_, phi, rho, strainRate(), timeName, U, and viscosityModel_.

|
virtualdefault |
Destructor.
|
protectedvirtual |
Definition at line 89 of file generalizedNewtonian.C.
References Foam::fvc::grad(), Foam::mag(), Foam::sqrt(), Foam::symm(), and U.
Referenced by correct(), and generalizedNewtonian().


| TypeName | ( | "generalizedNewtonian< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
static |
Return a reference to the selected turbulence model.
Referenced by generalizedNewtonian().

|
virtual |
Read turbulence (momentumTransport) dictionary.
Implements linearViscousStress< laminarModel< BasicMomentumTransportModel > >.
Definition at line 98 of file generalizedNewtonian.C.
References laminarModel< BasicMomentumTransportModel >::coeffDict_, and viscosityModel_.
|
virtual |
Return the turbulence viscosity,.
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 108 of file generalizedNewtonian.C.
References Foam::dimViscosity, IOobject::groupName(), GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::Zero.

|
virtual |
Return the turbulence viscosity on patch.
Definition at line 121 of file generalizedNewtonian.C.
References tmp< T >::New(), and Foam::Zero.

|
virtual |
Return the effective viscosity.
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 132 of file generalizedNewtonian.C.
References IOobject::groupName(), GeometricField< scalar, fvPatchField, volMesh >::New(), and nu_.

|
virtual |
Return the effective viscosity on patch.
Definition at line 144 of file generalizedNewtonian.C.
References nu_.
|
virtual |
Correct the generalizedNewtonian viscosity.
Implements linearViscousStress< laminarModel< BasicMomentumTransportModel > >.
Definition at line 154 of file generalizedNewtonian.C.
References laminarModel< BasicTurbulenceModel >::correct(), nu, nu_, strainRate(), and viscosityModel_.

|
protected |
Run-time selectable non-Newtonian viscosity model.
Definition at line 63 of file generalizedNewtonian.H.
Referenced by correct(), generalizedNewtonian(), and read().
|
protected |
The non-Newtonian viscosity field.
Definition at line 68 of file generalizedNewtonian.H.
Referenced by correct(), generalizedNewtonian(), nuEff(), and nuEff().