Lattice Boltzmann Method — D2Q9
Mesoscopic fluid simulation: fᵢ(x+eᵢΔt, t+Δt) = fᵢ(x,t) − (fᵢ−fᵢᵉq)/τ
Flow Parameters
Viscosity τ (relaxation):
0.55
Inlet velocity:
0.10
Display:
velocity
Obstacle shape:
cylinder
Reset Flow
Pause
Reynolds Re:
—
Max velocity:
—
Steps:
0
Click canvas:
add obstacle
D2Q9: 9 discrete velocity directions. BGK collision: relax to Maxwell-Boltzmann equilibrium.
ν = (τ−0.5)/3 · Δx²/Δt. Re = UL/ν. Re≫1 → vortex shedding (Kármán street).
Click canvas to add/remove obstacles.