Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect limiter in FULL_DEPTH_KHTR_MIN implementation
The initial implementation of FULL_DEPTH_KHTR_MIN was incorrect. CS%KhTr_min [L2 T-1] was used to limit Coef_y/Coef_x [L2 or H L2] and this was wrong. Here is the (wrong) example at v-points: Coef_y = max(Coef_y, KhTr_min) This patch fixes this bug by introducing a local limiting value for Coef_x and Coef_y, Coef_min [L2 or H L2]: Coef_min = I_numitts * dt * (KhTr_min*(dx_Cv*IdyCv)) The correct limit is then: Coef_y = max(Coef_y, Coef_min)
- Loading branch information