PIC/FLIP Fluid Simulation - LEGO Inflow

Опубликовано: 09 Август 2026
на канале: RLGUY
20,729
160

This program is an implementation of a PIC/FLIP fluid simulation based on methods described in Robert Bridson's "Fluid Simulation for Computer Graphics" textbook.

Simulation visualization was rendered in Blender.

Simulation Details:

Frames 156
Simulation time 8.2 hours
Render time 19.7 hours (125 samples)
Total time 27.9 hours

Simulation resolution 256 x 128 x 128
Brick grid Resolution 96 x 48 x 48
Peak # of particles 23.4 Million
Peak # of bricks 38,147
Peak RAM usage 1.2 GB
Bake file size 104 MB

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