Line Integral Fluids
Abstract
We introduce a new advection scheme for grid-based fluid simulation inspired by the recent covector fluids approach of Nabizadeh et al. 2022. We directly discretize the integral form of the covector transport equation, which ensures the conservation of line integral over any curve in the discretized fluid domain. Despite a theoretical argument for unconditional stability in 2D, we observe that numerical error in backtracing results in limited stability in practice. To address this issue, we further propose a stabilization heuristic based on the relative change in area of backtraced grid cells. We extend the heuristic to volume ratios in 3D and show that the proposed method is stable even at larger timesteps.
Method Overview
We perform advection by computing line integrals over the backtraced dual grid edges.