Turbulence model for shear-dependent Non-Newtonian flow. More...
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. More... | |
generalizedNewtonian (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) | |
Construct from components. More... | |
virtual | ~generalizedNewtonian () |
Destructor. More... | |
virtual bool | read () |
Read momentumTransport dictionary. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity,. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate,. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the stress tensor [m^2/s^2]. More... | |
virtual void | correct () |
Correct the generalizedNewtonian viscosity. More... | |
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) | |
Construct from components. More... | |
virtual | ~linearViscousStress () |
Destructor. More... | |
virtual tmp< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
Public Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
TypeName ("laminar") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, laminarModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport),(alpha, rho, U, alphaRhoPhi, phi, transport)) | |
laminarModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) | |
Construct from components. More... | |
laminarModel (const laminarModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~laminarModel () |
Destructor. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
void | operator= (const laminarModel &)=delete |
Disallow default bitwise assignment. More... | |
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) |
Return a reference to the selected turbulence model. More... | |
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) |
Return a reference to the selected laminar model. More... | |
Protected Member Functions | |
virtual tmp< volScalarField > | strainRate () const |
Protected Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
autoPtr< generalizedNewtonianViscosityModel > | viscosityModel_ |
Run-time selectable non-Newtonian viscosity model. More... | |
volScalarField | nu_ |
The non-Newtonian viscosity field. More... | |
Protected Attributes inherited from laminarModel< BasicMomentumTransportModel > | |
dictionary | laminarDict_ |
laminar coefficients dictionary More... | |
Switch | printCoeffs_ |
Flag to print the model coeffs at run-time. More... | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Turbulence model for shear-dependent Non-Newtonian flow.
Definition at line 53 of file generalizedNewtonian.H.
typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 76 of file generalizedNewtonian.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 77 of file generalizedNewtonian.H.
typedef BasicMomentumTransportModel::transportModel transportModel |
Definition at line 78 of file generalizedNewtonian.H.
generalizedNewtonian | ( | const alphaField & | alpha, |
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const transportModel & | transport | ||
) |
Construct from components.
Definition at line 44 of file generalizedNewtonian.C.
|
inlinevirtual |
Destructor.
Definition at line 114 of file generalizedNewtonian.H.
References generalizedNewtonian< BasicMomentumTransportModel >::correct(), generalizedNewtonian< BasicMomentumTransportModel >::epsilon(), generalizedNewtonian< BasicMomentumTransportModel >::k(), generalizedNewtonian< BasicMomentumTransportModel >::nuEff(), generalizedNewtonian< BasicMomentumTransportModel >::nut(), patchi, generalizedNewtonian< BasicMomentumTransportModel >::read(), and generalizedNewtonian< BasicMomentumTransportModel >::sigma().
|
protectedvirtual |
Definition at line 91 of file generalizedNewtonian.C.
References Foam::fvc::grad(), Foam::mag(), Foam::sqrt(), Foam::symm(), and U.
TypeName | ( | "generalizedNewtonian< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
static |
Return a reference to the selected turbulence model.
|
virtual |
Read momentumTransport dictionary.
Implements linearViscousStress< laminarModel< BasicMomentumTransportModel > >.
Definition at line 100 of file generalizedNewtonian.C.
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Return the turbulence viscosity,.
i.e. 0 for generalized Newtonian flow
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 110 of file generalizedNewtonian.C.
References Foam::dimViscosity, IOobject::groupName(), and GeometricField< scalar, fvPatchField, volMesh >::New().
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Return the turbulence viscosity on patch.
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 124 of file generalizedNewtonian.C.
References patchi.
|
virtual |
Return the effective viscosity.
i.e. the generalizedNewtonian viscosity
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 137 of file generalizedNewtonian.C.
References IOobject::groupName(), and GeometricField< scalar, fvPatchField, volMesh >::New().
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Return the effective viscosity on patch.
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 150 of file generalizedNewtonian.C.
References patchi.
|
virtual |
Return the turbulence kinetic energy.
i.e. 0 for generalizedNewtonian flow
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 160 of file generalizedNewtonian.C.
References IOobject::groupName(), GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::sqr().
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Return the turbulence kinetic energy dissipation rate,.
i.e. 0 for generalizedNewtonian flow
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 173 of file generalizedNewtonian.C.
References Foam::dimTime, IOobject::groupName(), GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::sqr().
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Return the stress tensor [m^2/s^2].
i.e. 0 for generalizedNewtonian flow
Reimplemented from laminarModel< BasicMomentumTransportModel >.
Definition at line 186 of file generalizedNewtonian.C.
References IOobject::groupName(), GeometricField< symmTensor, fvPatchField, volMesh >::New(), Foam::sqr(), and Foam::Zero.
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
virtual |
Correct the generalizedNewtonian viscosity.
Implements linearViscousStress< laminarModel< BasicMomentumTransportModel > >.
Definition at line 198 of file generalizedNewtonian.C.
References laminarModel< BasicMomentumTransportModel >::correct().
Referenced by generalizedNewtonian< BasicMomentumTransportModel >::~generalizedNewtonian().
|
protected |
Run-time selectable non-Newtonian viscosity model.
Definition at line 63 of file generalizedNewtonian.H.
|
protected |
The non-Newtonian viscosity field.
Definition at line 66 of file generalizedNewtonian.H.