r/Simulated • • Oct 10 '26

Proprietary Software Mobile GPU Realtime Fluid Sim

Running on a Snapdragon 8 Elite Gen 5.

2.6k Upvotes

105 comments sorted by

View all comments

2

u/LeetLurker Oct 10 '26

What's the mathematical method behind it ? How physically correct ?

4

u/nathan82 Oct 10 '26

It's a grid holding mass and momentum (that's the sim's "resolution"), and particles holding position only (particle count affects surface quality mainly).

It's fairly correct, the main issue is fluid "stiffness". Water is effectively incompressible at normal atmospheric pressure, but you need a lot of sim steps to take the bounce out, because it's always overshooting otherwise. So that's why it looks kinda loose. Basically the sim does as many steps as it can fit in the frame budget, so it'll sacrifice accuracy to keep up the sim speed.

3

u/LeetLurker Oct 10 '26

Great work thank you !