Eddy viscosity turbulence model with non-linear correction base class. More...
Public Types | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from eddyViscosity< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from linearViscousStress< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Member Functions | |
nonlinearEddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~nonlinearEddyViscosity () |
Destructor. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the Reynolds stress tensor [m^2/s^2]. 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 eddyViscosity< BasicMomentumTransportModel > | |
eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~eddyViscosity () |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. 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 > | k () const =0 |
Return the turbulence kinetic energy. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Public Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~linearViscousStress () |
Destructor. More... | |
Protected Member Functions | |
virtual void | correctNonlinearStress (const volTensorField &gradU)=0 |
Protected Member Functions inherited from eddyViscosity< BasicMomentumTransportModel > | |
virtual void | correctNut ()=0 |
Protected Attributes | |
volSymmTensorField | nonlinearStress_ |
Protected Attributes inherited from eddyViscosity< BasicMomentumTransportModel > | |
volScalarField | nut_ |
Eddy viscosity turbulence model with non-linear correction base class.
Definition at line 49 of file nonlinearEddyViscosity.H.
typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 70 of file nonlinearEddyViscosity.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 71 of file nonlinearEddyViscosity.H.
nonlinearEddyViscosity | ( | const word & | modelName, |
const alphaField & | alpha, | ||
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const viscosity & | viscosity | ||
) |
Construct from components.
Definition at line 35 of file nonlinearEddyViscosity.C.
|
inlinevirtual |
Destructor.
Definition at line 90 of file nonlinearEddyViscosity.H.
|
protectedpure virtual |
Implemented in LienCubicKE, and ShihQuadraticKE.
|
virtual |
Return the Reynolds stress tensor [m^2/s^2].
Reimplemented from eddyViscosity< BasicMomentumTransportModel >.
Definition at line 79 of file nonlinearEddyViscosity.C.
Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the effective stress tensor.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 92 of file nonlinearEddyViscosity.C.
Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 106 of file nonlinearEddyViscosity.C.
Referenced by nonlinearEddyViscosity< incompressible::RASModel >::devTau(), nonlinearEddyViscosity< incompressible::RASModel >::divDevTau(), and nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 121 of file nonlinearEddyViscosity.C.
|
protected |
Definition at line 60 of file nonlinearEddyViscosity.H.