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 > | R () const |
| Return the Reynolds stress tensor [m^2/s^2]. More... | |
| virtual tmp< surfaceVectorField > | devTau () const |
| Return the effective surface stress. 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... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
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... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
Protected Member Functions | |
| virtual void | correctNonlinearStress (const volTensorField &gradU)=0 |
Protected Member Functions inherited from eddyViscosity< BasicMomentumTransportModel > | |
| virtual void | correctNut ()=0 |
Protected Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
| template<class RhoFieldType > | |
| tmp< fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
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 80 of file nonlinearEddyViscosity.H.
| typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 81 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 31 of file nonlinearEddyViscosity.C.
|
inlinevirtual |
Destructor.
Definition at line 100 of file nonlinearEddyViscosity.H.
|
protectedpure virtual |
Implemented in ShihQuadraticKE, and LienCubicKE.
|
virtual |
Return the Reynolds stress tensor [m^2/s^2].
Reimplemented from eddyViscosity< BasicMomentumTransportModel >.
Definition at line 77 of file nonlinearEddyViscosity.C.
References tmp< T >::ref().

|
virtual |
Return the effective surface stress.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 90 of file nonlinearEddyViscosity.C.
References Foam::fvc::dotInterpolate(), mesh, and tmp< T >::ref().

|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 126 of file nonlinearEddyViscosity.C.
References U.
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 137 of file nonlinearEddyViscosity.C.
| Foam::tmp<Foam::fvVectorMatrix> DivDevTau | ( | const RhoFieldType & | rho, |
| volVectorField & | U | ||
| ) | const |
Definition at line 110 of file nonlinearEddyViscosity.C.
|
protected |
Definition at line 70 of file nonlinearEddyViscosity.H.