← All Operators

Fluid

GPU

2D Navier-Stokes fluid simulation with dye advection.

Implements Stable Fluids on the GPU: semi-Lagrangian advection, Jacobi pressure solver, and Gaussian force emitter. Dye injection visualizes the flow field. Buoyancy drives dye upward.

Parameters

NameTypeRangeDefaultDescription
grid_sizeSimulation resolution. Higher = more detail, more cost.
iterationsJacobi pressure solver steps. More = more accurate, slower.

Related Operators