Skip to content

Commit 064c4c8

Browse files
author
shbhmexe
committed
Update wall_model.cpp
Common: use EPS when clamping Gamma in wall model Signed-off-by: shbhmexe <shubhushukla586@gmail.com>
1 parent c42f435 commit 064c4c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Common/src/wall_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void CWallModelLogLaw::WallShearStressAndHeatFlux(const su2double tExchange, con
394394
const su2double rhs_1 = Pr_lam * y_plus * exp(Gamma);
395395
const su2double rhs_2 =
396396
(2.12 * log(1.0 + y_plus) + pow((3.85 * pow(Pr_lam, (1.0 / 3.0)) - 1.3), 2.0) + 2.12 * log(Pr_lam)) *
397-
exp(1.0 / fmin(Gamma, -1e-16));
397+
exp(1.0 / fmin(Gamma, -EPS));
398398
qWall = lhs / (rhs_1 + rhs_2);
399399
} else {
400400
qWall = Wall_HeatFlux;

0 commit comments

Comments
 (0)