Fluid Simulation for Dummies
Summary
Mike Ash's Fluid Simulation for Dummies is a code-focused guide to building a simple 3D fluid simulator inspired by Jos Stam. The post explains the Navier–Stokes-based approach, outlines data structures for a FluidCube, and presents key steps: diffuse, project, and advect, along with boundary handling (set_bnd) and a Gauss-Seidel/linear solver (lin_solve). It also provides insights into rendering considerations, extensions, and a discussion thread with reader questions and feedback.