Abstract
We propose a particle-based method to simulate thin-film fluid that jointly facilitates aggressive surface deformation and vigorous tangential flows. We build our dynamics model from the surface tension driven Navier-Stokes equation with the dimensionality reduced using the asymptotic lubrication theory and customize a set of differential operators based on the weakly compressible Smoothed Particle Hydrodynamics (SPH) for evolving pointset surfaces. The key insight is that the compressible nature of SPH, which is unfavorable in its typical usage, is helpful in our application to co-evolve the thickness, calculate the surface tension, and enforce the fluid incompressibility on a thin film. In this way, we are able to two-way couple the surface deformation with the in-plane flows in a physically based manner. We can simulate complex vortical swirls, fingering effects due to Rayleigh-Taylor instability, capillary waves, Newton's interference fringes, and the Marangoni effect on liberally deforming surfaces by presenting both realistic visual results and numerical validations. The particle-based nature of our system also enables it to conveniently handle topology changes and codimension transitions, allowing us to marry the thin-film simulation with a wide gamut of 3D phenomena, such as pinch-off of unstable catenoids, dripping under gravity, merging of droplets, as well as bubble rupture.
Introduction
Simulating thin films, such as soap bubbles and oil slicks, presents a unique "multi-scale" challenge in computer graphics. At a macroscopic level, surface tension drives these films toward elegant, minimal-surface geometries like catenoids. Simultaneously, at a microscopic level, they exhibit turbulent flows and vibrant iridescence caused by light interference across varying thicknesses.
Existing simulation methods often struggle to balance these scales. Mesh-based approaches excel at tracking surface area minimization but fail during drastic topological changes, such as a bubble bursting. Conversely, grid-based or Level-Set methods handle topology changes well but struggle to resolve extremely thin, tangential flows on surfaces moving through 3D space. This work introduces a unified particle-based framework that handles aggressive deformation, complex swirling flows, and the transition from surface films to volumetric droplets.
Methodology
The model is built upon the Navier-Stokes equations, simplified using asymptotic lubrication theory to reduce the dimensionality to a 2D surface (codimension-1). The core innovation lies in the adaptation of Smoothed Particle Hydrodynamics (SPH).
Compressible SPH for Thickness
In standard 3D SPH, compressibility is typically viewed as a numerical error leading to unwanted volume loss. This framework turns that "bug" into a feature: the local density of particles on the surface is used to directly represent and evolve the film's thickness ($h$). This allows for a natural coupling between the fluid's physical volume and its surface representation.
Technical Components
- Custom Differential Operators: The authors developed SPH-based gradient, Laplacian, and divergence operators specifically designed for curved, point-set surfaces. By using a symmetric form of the gradient operator, the model ensures that complex vortical swirls on the bubble's surface conserve momentum.
- Dual-Height Tracking: To balance stability and aesthetics, the system tracks "numerical height" for stable physics and "advected height" for rendering high-frequency color patterns.
- Codimension Transitions: When a film becomes too thin or unstable, codimension-1 surface particles are converted into codimension-0 volumetric particles, enabling realistic dripping and rupture effects.
- The Marangoni Effect: The model explicitly accounts for surfactant concentration, allowing for the simulation of flows from areas of low surface tension to high surface tension, creating characteristic "fingering" patterns.
Results and Validation
The method successfully simulates a wide range of phenomena, including oscillating bubbles, Rayleigh-Taylor instabilities, and the pinch-off of catenoids into droplets. Beyond qualitative realism, the framework was validated against several analytical benchmarks:
- Newton Interference Patterns: Results were compared against experimental data from Couder et al. (1989).
- Analytical Catenoids: The simulation was validated against the theoretical "Laplace limit" for minimal surfaces.
- Capillary Wave Theory: Simulation results matched the analytical phase velocity of waves on a sphere within a small margin of error.
The particle-based nature of the algorithm makes it highly parallelizable. Scenes with approximately 160,000 particles run at roughly 10 seconds per frame on modern multi-core workstations, producing detailed iridescence patterns coupled with dynamic thickness evolution.
Conclusion
This SPH-based framework provides a robust solution for simulating the complex interplay between surface geometry and internal fluid dynamics in thin films. While highly effective, current limitations include the inability to handle "Plateau borders" (junctions in foams) and sharp particle density trade-offs. Future work will explore adaptive kernels and more complex interactions with deforming solid boundaries.
Summary updated