TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby _bsldldalmost 4 years ago
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?<p>I am trying to achieve the effect shown in this video: https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=H_qPWZbxFl8

2 comments

kingkongjaffaalmost 4 years ago
You want water and particle effect analogues rather than direct CFD calculations which are far too computationally expensive.<p>i.e. you want this (probably even more simplified): <a href="https:&#x2F;&#x2F;matthias-research.github.io&#x2F;pages&#x2F;publications&#x2F;sca03.pdf" rel="nofollow">https:&#x2F;&#x2F;matthias-research.github.io&#x2F;pages&#x2F;publications&#x2F;sca03...</a><p>and not this (used for accurate real world simulation of fluid physics): <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reynolds-averaged_Navier%E2%80%93Stokes_equations" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reynolds-averaged_Navier%E2%80...</a>
_bsldldalmost 4 years ago
Edit: Cannot change the title and the post, hence writing this in the comment:<p>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.<p>-----<p>Are there programming libraries or any algorithm&#x2F;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.