This animation was simulated in a fluid simulation program that I am writing. The program outputs a triangle mesh for each simulated frame which is then imported into Blender and rendered using Cycles.
Simulation visualization was rendered in Blender.
Simulation Details:
Frames 999 (60fps)
Simulation time 35.9 hours
Render time 77.9 hours (65 samples)
Total time 113.8 hours
Simulation resolution 256 x 256 x 256
Mesh Resolution 512 x 512 x 512
Peak # of particles 4.3 Million
Peak RAM usage 3.5 GB
Bake file size 36.1 GB
Computer specs: ultrabook style laptop with Intel Core i5-4200U @ 1.60GHz processor, integrated Intel HD4400 graphics chip, and 8GB RAM.
Source Code: https://github.com/rlguy/GridFluidSim3D