A FLIP fluid is a liquid simulated with the fluid-implicit particle (FLIP) method, a hybrid technique that carries the fluid on particles while solving pressure and incompressibility on a background grid. In Simulation & effects work within 3D graphics & animation, FLIP is the standard approach for liquids such as water, splashes, pouring and flooding, because it preserves fine motion far better than a purely grid-based solver.
The method was introduced in computational physics in the 1980s and adapted for visual effects in the mid-2000s. Today it drives the liquid solvers in Houdini, Bifrost, Mantaflow and many studio tools, and its output usually feeds meshing, whitewater and rendering stages further down the pipeline.
How the FLIP method moves liquid
FLIP works by transferring velocity back and forth between particles and a grid on every step. The particles hold the authoritative state of the liquid, while the grid exists only to solve the equations that particles alone handle poorly, above all the pressure projection that keeps the liquid from compressing or expanding.
- Particle to grid: each particle splats its velocity onto nearby grid cells, weighted by distance.
- Grid forces: the solver adds gravity, external force fields and viscosity on the grid.
- Pressure solve: a linear system makes the velocity field divergence-free, which enforces incompressibility.
- Grid to particle: particles receive the change in grid velocity, not the grid velocity itself.
- Advection: particles move through the updated field, usually with a second- or third-order integrator.
Step four is the defining idea. Because particles pick up only the velocity delta, they keep their own small-scale motion instead of having it averaged away. This is why FLIP produces lively, swirling splashes, while a pure grid method looks thick and damped at the same resolution.
FLIP, PIC and APIC velocity transfer
The way velocity returns from grid to particle defines the family of hybrid solvers. The older particle-in-cell (PIC) scheme copies the grid velocity directly, which is stable but strongly dissipative. FLIP copies only the difference, which is energetic but can become noisy. The table below compares the three main transfer schemes used in production.
| Scheme | What particles receive | Behavior | Typical drawback |
|---|---|---|---|
| PIC | Interpolated grid velocity | Very stable, smooth | Heavy numerical viscosity |
| FLIP | Change in grid velocity | Energetic, detailed | Particle noise and jitter |
| PIC/FLIP blend | Weighted mix of both | Tunable balance | Requires a sensible ratio |
| APIC | Velocity plus local affine field | Detailed and stable | More memory per particle |
Most production solvers expose a FLIP ratio (sometimes called a blend or PIC/FLIP weight). A value of 0.95 to 0.99 is common for large water, while lower values around 0.8 to 0.9 calm small-scale or viscous liquids. Affine particle-in-cell (APIC) keeps angular momentum without the noise and has become a popular alternative in newer tools.
Key parameters of a FLIP simulation
A FLIP setup is controlled by a handful of parameters that decide detail, stability and cost. Changing one usually forces adjustments to another, so artists treat them as a connected set rather than independent sliders.
| Parameter | Typical range | What it controls |
|---|---|---|
| Particle separation | 0.01-0.1 scene units | Overall resolution and particle count |
| Grid scale | 1.5-2 times separation | Voxel size for the pressure solve |
| Particles per voxel | 4-8 | Sampling density and surface smoothness |
| Substeps | 1-4 per frame, CFL-driven | Accuracy of fast motion |
| FLIP ratio | 0.8-0.99 | Energy versus noise balance |
| Viscosity | 0 for water, high for honey | Resistance to shearing flow |
Particle separation is the master control. Halving it multiplies the particle count by roughly eight in three dimensions, and simulation time and disk usage grow at a similar rate. The Courant-Friedrichs-Lewy (CFL) condition limits how far a particle may travel in one substep, so fast splashes need more substeps to avoid particles tunneling through colliders.
How FLIP compares with other liquid methods
FLIP sits between purely Eulerian grid solvers and purely Lagrangian particle methods such as smoothed-particle hydrodynamics (SPH). Each approach suits different scales and shots, as the comparison shows.
| Method | Representation | Strengths | Weaknesses |
|---|---|---|---|
| FLIP | Particles plus grid | Detailed splashes, true incompressibility | Large caches, needs meshing |
| Grid-only solver | Voxels | Smoke, fire, gases | Volume loss and blurry liquids |
| SPH | Particles only | No grid, flexible domains | Compressibility artifacts, costly at scale |
| Ocean spectrum | Displaced surface | Infinite open water, cheap | No true splashes or breaking waves |
| Position-based fluids | Particles with constraints | Fast, real-time friendly | Less physical accuracy |
In practice, studios combine methods. A spectral ocean provides the distant sea, a narrow-band FLIP simulation adds physical interaction near a ship, and a whitewater pass generates spray, foam and bubbles from the FLIP velocity data.
From particles to a renderable surface
Raw FLIP output is a point cloud with attributes such as velocity, age and vorticity, so it must be converted before rendering. The usual path rasterizes particles into a signed distance field (SDF), smooths it with dilation, erosion and filtering, and extracts a polygon mesh or renders the volume directly.
- Surface meshing: particle radius and smoothing control whether the surface looks crisp or blobby.
- Velocity attributes: stored on the mesh to drive motion blur and foam advection.
- Whitewater emission: curvature, acceleration and vorticity mark where spray and foam appear.
- Caching: particles and meshes are written to disk as a simulation cache for lighting and review.
Common problems and how artists fix them
Most FLIP failures trace back to resolution mismatches, collision setup or time stepping. The following decision table lists frequent symptoms with their usual causes and remedies.
| Symptom | Likely cause | Usual fix |
|---|---|---|
| Liquid leaks through walls | Thin collider or too few substeps | Thicken the collider SDF, raise substeps |
| Volume slowly shrinks | Weak pressure solve or particle loss | Enable volume correction, tighten solver tolerance |
| Noisy, jittery surface | FLIP ratio too high | Lower the ratio or switch to APIC |
| Liquid looks like syrup | Too much PIC blending or viscosity | Raise the FLIP ratio, check viscosity |
| Blobby, lumpy mesh | Particle radius too large | Reduce radius, add filtering passes |
A further warning concerns scale. Solvers assume real-world units, so a cup of water modeled at the size of a building splashes in slow motion. Setting the correct scene scale before simulating avoids many surprises.
In simple terms
A FLIP fluid is computer water made of millions of tiny dots. The dots remember how they are moving, and a hidden grid of boxes checks that the water never squeezes together or spreads apart unnaturally.
Think of a crowd of dancers on a floor marked with squares. Each square tells the dancers in it how to adjust, but every dancer keeps a personal style. The dots keep the splashes lively, and the grid keeps the water believable.
A practical example
A visual effects team must show a small fishing boat crashing through a wave in a storm. The distant sea comes from an ocean spectrum, but the hull hitting the water needs real splashes, so the artists build a narrow-band FLIP simulation in a band roughly 40 meters wide around the boat.
They start at a particle separation of 0.1 meters to block the timing, then refine to 0.025 meters for final quality, which raises the count to about 60 million particles. A FLIP ratio of 0.97 keeps the crest energetic, three substeps per frame prevent leaks through the hull, and the velocity data seeds a separate whitewater pass for spray and foam.
The result is a shot in which water climbs the bow, breaks and falls back convincingly, blended seamlessly into the surrounding procedural ocean.