Skip to content
Andrew Voirol
WorkLogAboutContact
HomeWorkLog

AboutContact

✦ Just one prompt away from figuring it all out.

Sunday, August 16, 2026

Lattice Boltzmann vs. Darcy flow for capillary tendrils

Fluid DynamicsWebGPUResearch

Lattice Boltzmann provides incredible fluid mechanics, but it devours memory bandwidth on Apple Silicon. I set up an A/B test in a 696-line FluidBleedExperiment.ts harness to compare an LBM D2Q9 model against an anisotropic Darcy tensor for simulating the lush capillary tendrils (Hige-nijimi) of watercolor bleed. While LBM is mathematically elegant, it bottlenecked the unified memory architecture. We pivoted to a 2-layer Darcy porous flow with saturation gating—yielding a stable WebGPU compute pipeline that visually matches the organic wicking without the performance penalty.

← Previous

Taming the 3D Cosserat hair physics

Next →

Ditching RGB alpha for Kubelka-Munk optical mixing


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkBuilder’s LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.