Reynolds-stress turbulence model base class. More...


Public Types | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
| typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Member Functions | |
| ReynoldsStress (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 | ~ReynoldsStress () |
| 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 |
| Return the turbulence kinetic energy. 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... | |
| virtual void | validate () |
| Validate the turbulence fields after construction. More... | |
| virtual void | correct ()=0 |
| Solve the turbulence equations and correct the turbulence viscosity. More... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const |
Protected Member Functions | |
| void | boundNormalStress (volSymmTensorField &R) const |
| void | correctWallShearStress (volSymmTensorField &R) const |
| virtual void | correctNut ()=0 |
| Update the eddy-viscosity. More... | |
| virtual tmp< fvSymmTensorMatrix > | RSource () const |
| Source term for the R equation. More... | |
| template<class RhoFieldType > | |
| tmp< fvVectorMatrix > | DivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
Protected Attributes | |
| dimensionedScalar | couplingFactor_ |
| volSymmTensorField | R_ |
| volScalarField | nut_ |
Reynolds-stress turbulence model base class.
Definition at line 47 of file ReynoldsStress.H.
| typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 88 of file ReynoldsStress.H.
| typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 89 of file ReynoldsStress.H.
| typedef BasicMomentumTransportModel::transportModel transportModel |
Definition at line 90 of file ReynoldsStress.H.
| ReynoldsStress | ( | const word & | modelName, |
| const alphaField & | alpha, | ||
| const rhoField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const transportModel & | transport | ||
| ) |
Construct from components.
Definition at line 124 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::RSource().

|
inlinevirtual |
Destructor.
Definition at line 109 of file ReynoldsStress.H.
|
protected |
Definition at line 35 of file ReynoldsStress.C.
|
protected |
Definition at line 60 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::boundNormalStress().

|
protectedpure virtual |
Update the eddy-viscosity.
Implemented in LRR< BasicMomentumTransportModel >, SSG< BasicMomentumTransportModel >, and DeardorffDiffStress< BasicMomentumTransportModel >.
|
protectedvirtual |
Source term for the R equation.
Definition at line 107 of file ReynoldsStress.C.
|
protected |
Return the source term for the momentum equation.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::devTau().

|
pure virtual |
Re-read model coefficients if they have changed.
Implemented in LRR< BasicMomentumTransportModel >, SSG< BasicMomentumTransportModel >, and DeardorffDiffStress< BasicMomentumTransportModel >.
Definition at line 194 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::~ReynoldsStress().

|
inlinevirtual |
Return the turbulence viscosity.
Definition at line 119 of file ReynoldsStress.H.
|
inlinevirtual |
Return the turbulence viscosity on patch.
Definition at line 125 of file ReynoldsStress.H.
|
virtual |
Return the turbulence kinetic energy.
Reimplemented in LRR< BasicMomentumTransportModel >, and SSG< BasicMomentumTransportModel >.
Definition at line 210 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

|
virtual |
Return the Reynolds stress tensor [m^2/s^2].
Definition at line 202 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

|
virtual |
Return the effective stress tensor.
Definition at line 220 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

|
virtual |
Return the source term for the momentum equation.
Definition at line 283 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::DivDevRhoReff(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::divDevTau(), and ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

|
virtual |
Return the source term for the momentum equation.
Definition at line 294 of file ReynoldsStress.C.
|
virtual |
Validate the turbulence fields after construction.
Update turbulence viscosity and other derived fields as requires
Definition at line 304 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

|
pure virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implemented in LRR< BasicMomentumTransportModel >, SSG< BasicMomentumTransportModel >, and DeardorffDiffStress< BasicMomentumTransportModel >.
Definition at line 311 of file ReynoldsStress.C.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().

| Foam::tmp<Foam::fvVectorMatrix> DivDevRhoReff | ( | const RhoFieldType & | rho, |
| volVectorField & | U | ||
| ) | const |
Definition at line 236 of file ReynoldsStress.C.
|
protected |
Definition at line 58 of file ReynoldsStress.H.
|
protected |
Definition at line 62 of file ReynoldsStress.H.
|
protected |
Definition at line 63 of file ReynoldsStress.H.
Referenced by ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut().