Eddy viscosity turbulence model with non-linear correction base class. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Types inherited from eddyViscosity< BasicTurbulenceModel > | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Types inherited from linearViscousStress< BasicTurbulenceModel > | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
nonlinearEddyViscosity (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. More... | |
virtual | ~nonlinearEddyViscosity () |
Destructor. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
Public Member Functions inherited from eddyViscosity< BasicTurbulenceModel > | |
eddyViscosity (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. More... | |
virtual | ~eddyViscosity () |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. More... | |
volScalarField & | evNut () |
Return non-const access to the turbulence viscosity. 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< BasicTurbulenceModel > | |
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. More... | |
virtual | ~linearViscousStress () |
Destructor. More... | |
Protected Member Functions | |
virtual void | correctNonlinearStress (const volTensorField &gradU)=0 |
Protected Member Functions inherited from eddyViscosity< BasicTurbulenceModel > | |
virtual void | correctNut ()=0 |
Protected Attributes | |
volSymmTensorField | nonlinearStress_ |
Protected Attributes inherited from eddyViscosity< BasicTurbulenceModel > | |
volScalarField | nut_ |
Eddy viscosity turbulence model with non-linear correction base class.
Definition at line 52 of file nonlinearEddyViscosity.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 73 of file nonlinearEddyViscosity.H.
typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 74 of file nonlinearEddyViscosity.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 75 of file nonlinearEddyViscosity.H.
nonlinearEddyViscosity | ( | 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.
Definition at line 34 of file nonlinearEddyViscosity.C.
|
inlinevirtual |
Destructor.
Definition at line 95 of file nonlinearEddyViscosity.H.
|
protectedpure virtual |
Implemented in LienCubicKE, and ShihQuadraticKE.
|
virtual |
Return the Reynolds stress tensor.
Reimplemented from eddyViscosity< BasicTurbulenceModel >.
Definition at line 80 of file nonlinearEddyViscosity.C.
References tmp< T >::ref().
Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the effective stress tensor.
Reimplemented from linearViscousStress< BasicTurbulenceModel >.
Definition at line 93 of file nonlinearEddyViscosity.C.
References nonlinearEddyViscosity< BasicTurbulenceModel >::divDevRhoReff(), and tmp< T >::ref().
Referenced by nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicTurbulenceModel >.
Definition at line 107 of file nonlinearEddyViscosity.C.
References Foam::fvc::div().
Referenced by nonlinearEddyViscosity< BasicTurbulenceModel >::devRhoReff(), and nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity().
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicTurbulenceModel >.
Definition at line 122 of file nonlinearEddyViscosity.C.
References Foam::fvc::div().
|
protected |
Definition at line 63 of file nonlinearEddyViscosity.H.