Skip to content

Commit 79699da

Browse files
shbhmexepcarruscag
andauthored
Update Common/src/wall_model.cpp
Co-authored-by: Pedro Gomes <[email protected]>
1 parent 165cf36 commit 79699da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/src/wall_model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ void CWallModel1DEQ::WallShearStressAndHeatFlux(const su2double tExchange, const
307307
SU2_MPI::Error("Y+ greater than one: Increase the number of points or growth ratio.", CURRENT_FUNCTION);
308308

309309
/* Define a norm */
310-
bool tau_converged = abs(1.0 - tauWall / fmax(tauWall_prev, 1e-16)) < tol;
311-
bool q_converged = abs(1.0 - qWall / fmax(qWall_prev, 1e-16)) < tol;
310+
bool tau_converged = abs(1.0 - tauWall / fmax(tauWall_prev, EPS)) < tol;
311+
bool q_converged = abs(1.0 - qWall / fmax(qWall_prev, EPS)) < tol;
312312

313313
if (tau_converged && q_converged) {
314314
converged = true;

0 commit comments

Comments
 (0)