Rhei Solver

- Design & development
- Aias Kokkalis / living forms
- After
- a.lbos, 2D Pyro Solver for Blender
Rhei is a 2D Eulerian fluid solver for Houdini, built as three digital assets: Rhei Domain, Rhei Source and Rhei Solver. Drop them into a geometry container, wire them up, and you have smoke, ink and gas behaviour on a grid, with every field exposed and nothing locked away.
The name comes from Heraclitus. Panta rhei, everything flows.
It started as an attempt to bring a.lbos' 2D Pyro Solver for Blender into Houdini, and then grew around what Houdini is good at: a second engine that runs the entire simulation on the GPU through OpenCL and Copernicus, a Multigrid pressure solver, a physical viscosity, foam erosion, arbitrary collision geometry, independently sampled sources, and sources and colliders made in Copernicus networks.
Viscosity in Rhei is physical, not a blur count. Velocity diffuses as an exact Gaussian whose width follows the viscosity, the time step and the cell size, so the same value gives the same motion at any resolution and any substep count. Around 0.001 it tidies away the smallest curls while the plume stays alive; at 0.08 the smoke moves like honey.
Version 1.2 adds foam erosion on both engines: bubbles of air appear where the paint is thin, grow and push it aside, so walls of compressed paint form between them. Foam, cells, lace. Moving emitters now follow their path through the frame, fast jets stream instead of stamping, and a source can take its layers from any Copernicus network without leaving the GPU.
On a MacBook Pro M4 Max the GPU engine runs an eleven-million-cell scene in an eighth of a second, about 74 times faster than the Blender original. The full, editable source ships with it: every network and every line of VEX and OpenCL is open.
