A ferrofluid simulator that focuses on generating the Rosensweig instability using a grid based fluid simulation.
See my webpage https://mlhonke.github.io/projects/2020-06-15-Ferrofluid-Simulation/ for more info and demos.
Installation Instructions
- Insure that CMAKE_CUDA_COMPILER directory matches your directory for nvcc.
- sudo apt-get install xorg-dev libglu1-mesa-dev if these packages are not present.
- sudo apt-get install libarmadillo-dev to install the Armadillo library (linear algebra library).
- sudo apt-get install libglew-dev