src/turb/rotcor.f90 File Reference

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
rotcor.f90 File Reference

Computing rotation/curvature correction for eddy-viscosity models. The subroutine is called for the linear eddy viscosity RANS models, when the option irccor = 1 is verify. More...

## Functions/Subroutines
subroutine | rotcor (dt, rtpa, rotfct, ce2rc)

## Detailed Description

Computing rotation/curvature correction for eddy-viscosity models. The subroutine is called for the linear eddy viscosity RANS models, when the option irccor = 1 is verify.

Two type of rotation/curvature correction are computed, depending on the specific eddy-viscosity model:

- itycor = 1: - Cazalbou correction (varible ce2 coefficient in the destruction term of dissipation equation)
  - default correction for type models, including elliptic relaxation/blending models (iturb = 20, 21, 50 or 51)

- itycor = 2: - Spalart-Shur correction (production terms are multiplied by a rotation function)
  - default correction for SST or Spalart-Allmaras (iturb = 60 or 70)

## Function/Subroutine Documentation

subroutine rotcor | ( | double precision, dimension(ncelet) | dt,
|  | double precision, dimension(ncelet,*) | rtpa,
|  | double precision, dimension(ncel) | rotfct,
|  | double precision, dimension(ncel) | ce2rc
| ) |  |

Parameters

  [in] | dt | time step (per cell)
  [in] | rtpa | calculated variables at cell centers (at the previous time step)
  [out] | rotfct | rotation function of Spalart-Shur correction at cell center
  [out] | ce2rc | modified ce2 coeficient of Cazalbou correction at cell center