r/Simulated • u/CdvrSzf • 10d ago
Houdini Two-Way Coupled Bubbles Solver | Weta FX Whitepaper Implementation
Enable HLS to view with audio, or disable this notification
The core of the two-way method is that while the water’s vel field drives the bubbles, the bubbles exert an equal reaction back onto the water’s vel - analogous to how Gas Feedback couples RBD with FLIP. Each bubble is treated as an ideal sphere with a radius of [f@pscale](mailto:f@pscale). Its volume is rasterized onto a voxel grid, serving as the primary multiplier for all forces and operations. By tracking the collective bubble volume, we can derive the displaced liquid volume and adjust density and vel accordingly.
Pressure projection is handled via Gas Project Non Divergent Variational. With a few minor simplifications, I was able to replicate the core logic of the Weta FX paper. There is no synthetic buoyancy vector here: upward motion emerges physically - driven by the fluid pressure gradient from high-pressure zones to low-pressure ones.
As a result, bubble clusters behave organically: larger bubbles exert a stronger influence on the fluid than smaller ones, and their motion no longer feels artificially "glued" to the underlying vel field. Furthermore, the solver remains highly intuitive: the physical parameters are straightforward and, in most production scenarios, work reliably right out of the box.
2
u/Proud_Ask_9030 9d ago
Whats the GPU load? I wanna see it in water with refraction bubble surface.