Model and measurement limits
Click either field to move the probe, which marks the same point in both, or focus the canvas and use the arrow keys. Changing a physical or grid parameter restarts the experiment. Geometry controls that do not apply are disabled.
The domain is a periodic square with normalized side 2π. Phones start at 32 cells per side and desktops at 64. The highest third of Fourier modes is always left out, and you can narrow the bandwidth further. Same-sign patches come with a uniform background of vorticity that balances them.
The energy and enstrophy ratios include the physical decay from viscosity, and their balance error subtracts that decay separately. Dye variance falls from both physical diffusion and interpolation loss, and the dye mean can drift. A low Poisson residual does not prove spatial convergence; compare grid sizes and look at the spectrum near the cutoff.
The time step respects the stability limits for advection and diffusion. Each animation frame allows only a limited amount of computation, so at high resolution the flow may run slower than the requested pace. The simulation clock shows the actual progress.