← f_ notebook · Mirrors · PDE

f_vf_lbm, live ​

A lattice Boltzmann channel flow that blows around a round obstacle and sheds a Kármán vortex street.

The cell below steps the NumPy mirror that f_vf_lbm's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.

f_vf_lbm · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • viscosity sets the BGK relaxation rate (low = thick and smooth, high = thin and nearly turbulent; the top is the stability limit).
  • wind is the inflow speed in lattice units; slow to start, sheds best around 0.08.
  • tilt angles the inflow in degrees (positive toward the top); it sweeps in from the left over time.
  • gain scales the displayed velocity before the 0.5-centered encode.
  • obstacle size sets the radius of the disc mask on the solver lattice.
  • steps per frame runs several solver steps per displayed frame, since the wake is slow to develop (shedding needs roughly 10k solver steps).
  • view switches between the FR-008 velocity encode and a plain RG macro-velocity view.
  • Reset flow restarts the state from the seeded inflow equilibrium.

reference doc · patcher · vf_lbm_mirror.py

← Kuramoto-SivashinskyNematic →