BGK collision operator · Kármán vortex street · Draw obstacles
This simulator implements the Lattice-Boltzmann Method (LBM) with a D2Q9 lattice — a mesoscopic approach to computational fluid dynamics. Instead of solving the Navier-Stokes equations directly, LBM tracks probability distribution functions of fictitious particles streaming and colliding on a regular lattice. The BGK (Bhatnagar-Gross-Krook) single-relaxation-time collision operator drives the distributions toward a Maxwell-Boltzmann equilibrium. Macroscopic quantities — density ρ and velocity u — emerge naturally from moments of the distribution.
The Kármán vortex street is responsible for the "singing" of power lines in the wind, the oscillation of tall chimneys, and even the cloud patterns visible behind islands in satellite imagery. Theodore von Kármán first described the phenomenon mathematically in 1911. In LBM the same pattern emerges spontaneously once the Reynolds number exceeds ~47 — no special boundary conditions needed.