We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da86f5 commit c913819Copy full SHA for c913819
1 file changed
SU2_CFD/include/numerics/turbulent/turb_sources.hpp
@@ -612,7 +612,7 @@ class CSourcePieceWise_TurbSST final : public CNumerics {
612
613
/*--- Production ---*/
614
const su2double pk_axi = max(
615
- 0.0, 2.0 / 3.0 * rhov * k * ((2.0 * yinv * V_i[idx.Velocity() + 1] - PrimVar_Grad_i[2][1] - PrimVar_Grad_i[1][0]) / zeta - 1.0));
+ 0.0, 2.0 / 3.0 * rhov * k * ((2.0 * yinv * V_i[idx.Velocity() + 1] - PrimVar_Grad_i[idx.Velocity()+1][1] - PrimVar_Grad_i[idx.Velocity()][0]) / zeta - 1.0));
616
const su2double pw_axi = alfa_blended * zeta / k * pk_axi;
617
618
/*--- Convection-Diffusion ---*/
0 commit comments