Reimplementation of a previous fluid solver in C++ and CUDA, this time using double precision and more accurate pressure solves. This revision also allows for solid boundary conditions using the variational coupling framework by Batty et al. as well as variable density fluids.
The video shows a black fluid injected into a container at three times the density of the surrounding white fluid.