← 🧪 Chemistry

⬡ FHP Lattice Gas

Lattice ticks: 0
Mean occupation:
Active sites:
FPS:
Drag — rotate · Scroll — zoom

⬡ The FHP Lattice Gas Automaton

A hexagonal lattice of particles streams and collides under a handful of local rules, and out of that simple bookkeeping a recognisable fluid flow — including a wake behind an obstacle — emerges.

🔬 What It Demonstrates

Particles hop between triangular-lattice sites along six directions and redirect on collision while conserving particle number and momentum exactly, showing how continuum-like fluid behaviour emerges from discrete microscopic rules.

🎮 How to Use

Set the inflow density and bias to drive flow from the left, adjust the obstacle size to see a wake form behind it, and change simulation speed to watch the lattice evolve tick by tick.

💡 Did You Know?

The FHP model, published in 1986, was one of the first cellular automata shown to reproduce genuine fluid dynamics — including something close to the von Kármán vortex street — from purely local, reversible-in-spirit rules.