31.11 A compact debugging checklist


obspsseraaGtvimrereodedansngottad puag drtlgeieesvst ascesu inarrndl-estea-
 bBilCgitoe/ynnty ucwopeereaa wsnrekrdtocavnor∇inelgrueoe?dcsic?-gt?n
   ity projection?

Figure 31.8 Recommended debugging order. Most integration mistakes can be isolated before inspecting the global solver.


For a numerical sign check, use a planar outlet with n = (1,0) and a velocity whose first component changes sign along the boundary. Then verify that S0 ≈0 on the positive portion, S0 ≈1 on the negative portion, and that the Neumann load the paired adapter assembles equals equation (31.7). The manufactured backflow regression follows exactly this pattern.