HACKER Q&A
📣 _bsldld

Is there a CFD library available to simulate water floating in space?


We are trying to develop a VR application that will show students the effect of releasing water in space. Is there a programming library that will help simulate that effect? Or is there any literature available on the algorithm or maths for achieving that?

I am trying to achieve the effect shown in this video: https://www.youtube.com/watch?v=H_qPWZbxFl8


  👤 kingkongjaffa Accepted Answer ✓
You want water and particle effect analogues rather than direct CFD calculations which are far too computationally expensive.

i.e. you want this (probably even more simplified): https://matthias-research.github.io/pages/publications/sca03...

and not this (used for accurate real world simulation of fluid physics): https://en.wikipedia.org/wiki/Reynolds-averaged_Navier%E2%80...


👤 _bsldld
Edit: Cannot change the title and the post, hence writing this in the comment:

After reading comment from @kingkongjaffa, I want to rephrase my question; and thank you @kingkongjaffa for the link to the paper on interactive fluid simulation.

-----

Are there programming libraries or any algorithm/maths literature to achieve graphics simulation of water floating in space? The platform we are trying to target is Google Cardboard headsets, i.e. VR on mobile, so that we can reach as many students as possible, even from poor background.