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 450 (30fps)
Simulation time| 21.4 hours
Render time 64.4 hours (150 samples)
Total time 85.8 hours
Simulation resolution 384 x 256 x 128
Peak # of fluid particles 12.9 Million
Peak # of foam particles 5.5 Million
Peak RAM usage 2.5 GB
Mesh bake file size 5.45 GB
Particle bake file size 8.27 GB
Total bake file size 13.72 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