Hele-Shaw Invasion: Laplacian Growth & Trapped Pockets
Interactive 2D Hele-Shaw invasion simulator: a real Laplace pressure field, solved by relaxation every frame, drives Saffman-Taylor fingering while a live connectivity search finds the bypassed defending-fluid pockets a 3D pore network never has to reckon with.
A Hele-Shaw cell — two glass plates a hair's width apart — is the textbook 2D setting for viscous fingering, and this simulator treats it as one: rather than reusing the 3D pore network's flat "distance from inlet" stand-in for viscous stabilization, it solves the real Laplace pressure equation over the defending fluid by numerical relaxation every frame, then invades the frontier site the solved field and the Saffman-Taylor stability sign (1−M)/(1+M) say should grow next. A second, independent computation — a live connectivity flood-fill from the outlet — finds every pocket of defending fluid the advancing front has sealed off, the trapped, bypassed saturation that real 2D coreflood and micromodel experiments live with far more than an idealized 3D lattice does. Sweep capillary number and viscosity ratio to move between chaotic capillary fingering, runaway fractal viscous fingering and broad stable displacement, and watch the trapped-pocket fraction grow alongside the fingers that create them.
A genuine 2D Hele-Shaw counterpart to the 3D pore-network model: a real Laplace pressure field, solved by relaxation every frame, drives Saffman-Taylor fingering through the actual (1-M)/(1+M) stability sign, while a live flood-fill finds the bypassed defending-fluid pockets that a coarse 3D lattice rarely has to reckon with.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install