For those that want more details on how the software works, this guy goes into a bit more detail for his version
Fluid simulation pendant https://mitxela.com/projects/fluid-pendant
https://www.youtube.com/watch?v=jis1MC5Tm8k