Skip to content

Commit

Permalink
Merge pull request #2425 from vkrm1612/issue_2342
Browse files Browse the repository at this point in the history
CTurbSASolver.cpp changed as mentioned
  • Loading branch information
pcarruscag authored Jan 25, 2025
2 parents d1c83cb + 0acb93e commit 23286b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SU2_CFD/src/solvers/CTurbSASolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ void CTurbSASolver::BC_HeatFlux_Wall(CGeometry *geometry, CSolver **solver_conta
Res_Wall = coeff*RoughWallBC*Area;
LinSysRes.SubtractBlock(iPoint, &Res_Wall);

su2double Jacobian_i = (laminar_viscosity*Area)/(0.03*Roughness_Height*sigma);
su2double Jacobian_i = (laminar_viscosity /density *Area)/(0.03*Roughness_Height*sigma);
Jacobian_i += 2.0*RoughWallBC*Area/sigma;
if (implicit) Jacobian.AddVal2Diag(iPoint, -Jacobian_i);
}
Expand Down

0 comments on commit 23286b0

Please sign in to comment.