8.3
general documentation
cs_turbulence_rotation.cpp File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "bft_mem.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_field_operator.h"
#include "cs_gradient.h"
#include "cs_math.h"
#include "cs_physical_constants.h"
#include "cs_rotation.h"
#include "cs_time_step.h"
#include "cs_turbulence_model.h"
#include "cs_turbulence_rotation.h"
+ Include dependency graph for cs_turbulence_rotation.cpp:

Functions

void cs_turbulence_rotation_correction (const cs_real_t dt[], cs_real_t rotfct[], cs_real_t ce2rc[])
 Compute rotation/curvature correction for eddy-viscosity models. More...
 

Detailed Description

Compute rotation/curvature correction for eddy-viscosity models.

Two types of rotation/curvature correction can be computed, depending on the specific eddy-viscosity model:

  • itycor = 1: - Cazalbou correction (variable Ce2 coefficient in the destruction term of dissipation equation)
    • default correction for $ k - \epsilon $ type models, including elliptic relaxation/blending models (model = 20, 21, 50 or 51)
  • itycor = 2: - Spalart-Shur correction (production terms are multiplied by a rotation function)
    • default correction for $ k - \omega $ SST or Spalart-Allmaras

Function Documentation

◆ cs_turbulence_rotation_correction()

void cs_turbulence_rotation_correction ( const cs_real_t  dt[],
cs_real_t  rotfct[],
cs_real_t  ce2rc[] 
)

Compute rotation/curvature correction for eddy-viscosity models.

This function is called for the linear eddy viscosity RANS models, when irccor = 1 is verified.

Parameters
[in]dttime step (per cell)
[out]rotfctrotation function of Spalart-Shur correction at cell center
[out]ce2rcmodified ce2 coeficient of Cazalbou correction at cell center