Lesson 4 of 8 · Computational fluid dynamics
Adaptive mesh refinement principles
Core theory
A uniform mesh wastes cells where the flow is calm and starves the wake where it isn’t. Adaptive refinement splits only the cells where the solution changes fastest. For incompressible flow we solve
On each cell K of size hK we estimate the local error with a vorticity indicator, then flag the worst cells:
Halving h on a scheme of order p cuts the error by about 2p, which is why refining the right fraction of cells can beat refining all of them: