Fast Subspace Fluid Simulation with a Temporally-Aware Basis
Siyuan Chen, Yixin Chen, Jonathan Panuelos, Otman Benchekroun, Yue Chang, Eitan Grinspun, Zhecheng Wang
TL;DR
The paper tackles the challenge of real-time, high-fidelity fluid animation by proposing a reduced-order approach built on Dynamic Mode Decomposition (DMD). By learning a temporally-aware reduced Koopman operator $\hat{K}=\Phi \Lambda \Phi^*$ that evolves the velocity field in a low-dimensional basis, the method enables direct querying of fluid states at arbitrary times via $\mathbf{u}(t+\Delta t)=\boldsymbol{\Phi} \boldsymbol{\Lambda} \mathbf{z}(t)$ and supports interactive editing, time-reversal, and upsampling. It integrates OptDMD for noisy data, randomized SVD for memory efficiency, and DMDc for incorporating external forces, while preserving boundary and divergence-free constraints. The approach demonstrates superior reconstruction with far fewer basis functions than traditional spatial ROMs across 2D and 3D scenes and remains solver-agnostic, enabling broad applicability in graphics pipelines and interactive animation.
Abstract
We present a novel reduced-order fluid simulation technique leveraging Dynamic Mode Decomposition (DMD) to achieve fast, memory-efficient, and user-controllable subspace simulation. We demonstrate that our approach combines the strengths of both spatial reduced order models (ROMs) as well as spectral decompositions. By optimizing for the operator that evolves a system state from one timestep to the next, rather than the system state itself, we gain both the compressive power of spatial ROMs as well as the intuitive physical dynamics of spectral methods. The latter property is of particular interest in graphics applications, where user control of fluid phenomena is of high demand. We demonstrate this in various applications including spatial and temporal modulation tools and fluid upscaling with added turbulence. We adapt DMD for graphics applications by reducing computational overhead, incorporating user-defined force inputs, and optimizing memory usage with randomized SVD. The integration of OptDMD and DMD with Control (DMDc) facilitates noise-robust reconstruction and real-time user interaction. We demonstrate the technique's robustness across diverse simulation scenarios, including artistic editing, time-reversal, and super-resolution. Through experimental validation on challenging scenarios, such as colliding vortex rings and boundary-interacting plumes, our method also exhibits superior performance and fidelity with significantly fewer basis functions compared to existing spatial ROMs. The inherent linearity of the DMD operator enables unique application modes, such as time-reversible fluid simulation. This work establishes another avenue for developing real-time, high-quality fluid simulations, enriching the space of fluid simulation techniques in interactive graphics and animation.
