I basically started studying Unreal Engine 5 because it has a really nice Navier-Stokes solver. However, it was not clear to me whether or not they allowed you to report collision data for things other than rendering purposes. That was a big disappointment for me, because I would have had to pay some major cash to get official support on the subject.
So I decided to see how far I could get using Claude AI. After some alterations, the code that I got from Claude is at:
https://github.com/sjhalayka/navier-stokes
It collects data on the collisions with obstacles, and reports it on the CPU end of things.
Below is a grayscale image, with orange highlights where the density field interacts with the obstacle field. Not bad for an AI (under some selective guidance).
