If your code isn't converging, use the manual’s example values to check your first three iterations. Resources for Patankar’s Exercises
The manual typically shows the (the a_P, a_E, a_W, a_N, a_S values) and the iteration history until convergence (e.g., < 0.1% residual). If your code isn't converging, use the manual’s
When a student searches for the they are usually looking for validation of their logic. In analytical mathematics (like calculus), there is usually one correct answer. In numerical methods, the answer If your code isn't converging
He provides practical advice on how to handle non-linear terms, which is the most common cause of code divergence. Understanding the Solution Manual Structure If your code isn't converging, use the manual’s