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 170
Simulation time 15.3 hours
Render time 14.2 hours (100 samples)
Total time 29.5 hours
Simulation resolution 384 x 256 x 384
Mesh Resolution 768 x 512 x 768
Peak # of particles 3.7 Million
Peak RAM usage 3.5 GB
Bake file size 7.8 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