Skip to content

Commit e55a422

Browse files
authored
Fix sign error in Spalding composite term
1 parent 5d71ae2 commit e55a422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SU2_CFD/src/solvers/CIncNSSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ void CIncNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_containe
739739

740740
/*--- Spalding's universal form for the BL velocity with the
741741
* outer velocity form of White & Christoph above. ---*/
742-
Y_Plus = U_Plus + Y_Plus_White + (exp(-kappa * B)* (1.0 - kUp - 0.5 * kUp * kUp - kUp * kUp * kUp / 6.0));
742+
Y_Plus = U_Plus + Y_Plus_White + (exp(-kappa * B)* (-1.0 - kUp - 0.5 * kUp * kUp - kUp * kUp * kUp / 6.0));
743743

744744
/*--- incompressible formulation ---*/
745745
Eddy_Visc_Wall = Lam_Visc_Wall * kappa*exp(-kappa*B) * (exp(kUp) -1.0 - kUp - kUp * kUp / 2.0);

0 commit comments

Comments
 (0)