Skip to content

Commit

Permalink
- Files cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rois1995 committed Sep 6, 2024
1 parent 9970f76 commit e88aa02
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions SU2_CFD/include/numerics/turbulent/turb_sources.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,10 @@ class CSourceBase_TurbSA : public CNumerics {

/*--- Dacles-Mariani et. al. rotation correction ("-R"). ---*/
if (options.rot) {
if (ScalarVar_i[0] > 0) {
var.Prod = var.Shat + var.CRot * min(0.0, StrainMag_i - var.Omega);
} else {
var.Prod += var.CRot * min(0.0, StrainMag_i - var.Omega);

/*--- Do not allow negative production for SA-neg. ---*/
var.Prod = abs(var.Omega + var.CRot * min(0.0, StrainMag_i - var.Omega));
}
if (ScalarVar_i[0] < 0) var.Prod = abs(var.Prod);
}

/*--- Compute ft2 term ---*/
Expand Down Expand Up @@ -239,7 +237,6 @@ class CSourceBase_TurbSA : public CNumerics {
} else if (transition_LM){

var.intermittency = intermittency_eff_i;
//var.intermittency = 1.0;
// Is wrong the reference from NASA?
// Original max(min(gamma, 0.5), 1.0) always gives 1 as result.
var.interDestrFactor = min(max(intermittency_i, 0.5), 1.0);
Expand Down

0 comments on commit e88aa02

Please sign in to comment.