

SPLASH 2D-LBM SIMULATOR
Lattice Boltzmann · D2Q9 · 200×100 · splash-cfd.com
FPS
0
Re
200
AoA
0°
FLOW
Vortex
INLET ——→
——→ OUTLET
velocity
lowhigh
Field
Tool
Brush 4
Re200
AoA0°
Wall
Overlay
Geometry
Load STL
Export
Re = ρUL/μ · inertia vs viscous forcesRe<5 creeping · Re≈120 Kármán vortex · Re>280 turbulent wake
splash-cfd.com · lbm · d2q9Overview
Introduction
Control Reference
Physics
Navier–Stokes
Lattice Boltzmann
D2Q9 Scheme
Boundary Conditions
Reynolds Number
Vortex Shedding
Implementation
Code Architecture
STL Import
Visualisation
Reference
Further Reading
Splash 2D-LBM Simulator
An interactive browser-native CFD tool built on the Lattice Boltzmann Method — designed for education, demonstration and rapid flow visualisation.
What is this tool?
This simulator solves the incompressible Navier–Stokes equations in 2D using the Lattice Boltzmann Method (LBM). Unlike solvers that discretise the macroscopic equations directly, LBM works at a mesoscopic level — simulating the statistical behaviour of fluid molecules on a discrete lattice. The result is a solver that is explicitly parallel, numerically stable for low-to-moderate Reynolds numbers, and fast enough to run in real-time in a browser.
Quick Start
- A cylinder is shown by default at Re = 200. Kármán vortex shedding appears within seconds.
- Use the Draw tool to paint custom obstacles directly on the canvas.
- Increase Reynolds number to observe transition to chaotic wakes.
- Load geometry via Upload .stl — automatically projected onto the 2D grid.
- Change Angle of Attack to rotate the inlet flow direction.
- Switch to Vorticity or Pressure field for deeper insight.
- Export a GIF or PNG of your simulation.
All computation runs entirely in your browser using typed JavaScript arrays (Float32Array). No server, no WebGL, no dependencies beyond React.