DDFKs: Fluid Simulation with Dynamic Divergence-Free Kernels
Jingrui Xing, Yizao Tang, Mengyu Chu, Baoquan Chen
TL;DR
This paper tackles the challenge of simulating incompressible flows with memory-efficient spatial representations by introducing Dynamic Divergence-Free Kernels (DDFKs). By representing the velocity field as a sum of divergence-free kernels with matrix-valued radial basis components, the method enforces zero-divergence at all times, avoiding the need for pressure-projection or divergence losses common in INSR- or GSR-based solvers. The approach combines initialization, physics-based optimization, and periodic reinitialization to achieve accurate vorticity preservation, reduced numerical dissipation, and robust boundary handling across 2D and 3D scenarios, including complex geometries. The results show competitive accuracy against traditional Eulerian and memory-efficient methods, while delivering superior incompressibility guarantees and stability in long-horizon simulations, highlighting its potential for high-fidelity, grid-free fluid animation and engineering applications.
Abstract
Fluid simulations based on memory-efficient spatial representations like implicit neural spatial representations (INSRs) and Gaussian spatial representation (GSR), where the velocity fields are parameterized by neural networks or weighted Gaussian functions, has been an emerging research area. Though advantages over traditional discretizations like spatial adaptivity and continuous differentiability of these spatial representations are leveraged by fluid solvers, solving the time-dependent PDEs that governs the fluid dynamics remain challenging, especially in incompressible fluids where the divergence-free constraint is enforced. In this paper, we propose a grid-free solver Dynamic Divergence-Free Kernels (DDFKs) for incompressible flows based on divergence-free kernels (DFKs). Each DFK is incorporated with a matrix-valued radial basis function and a vector-valued weight, yielding a divergence-free vector field. We model the continuous flow velocity as the sum of multiple DFKs, thus enforcing incompressibility while being able to preserve different level of details. Quantitative and qualitative results show that our method achieves comparable accuracy, robustness, ability to preserve vortices, time and memory efficiency and generality across diverse phenomena to state-of-the-art methods using memory-efficient spatial representations, while excels at maintaining incompressibility. Though our first-order solver are slower than fluid solvers with traditional discretizations, our approach exhibits significantly lower numerical dissipation due to reduced discretization error. We demonstrate our method on diverse incompressible flow examples with rich vortices and various solid boundary conditions.
