Project and Generate: Divergence-Free Neural Operators for Incompressible Flows
Organizations: Artificial Intelligence Innovation and Incubation Institute, Fudan University, Shanghai, China · Shanghai Academy of Artificial Intelligence for Science, Shanghai, China
Abstract
Learning-based models for fluid dynamics often operate in unconstrained function spaces, leading to physically inadmissible, unstable simulations. While penalty-based methods offer soft regularization, they provide no structural guarantees, resulting in spurious divergence and long-term collapse. In this work, we introduce a unified framework that enforces the incompressible continuity equation as a hard, intrinsic constraint for both deterministic and generative modeling. First, to project deterministic models onto the divergence-free subspace, we integrate a differentiable spectral Leray projection grounded in the Helmholtz-Hodge decomposition, which restricts the regression hypothesis space to physically admissible velocity fields. Second, to generate physically consistent distributions, we show that simply projecting model outputs is insufficient when the prior is incompatible. To address this, we construct a divergence-free Gaussian reference measure via a curl-based pushforward, ensuring the entire probability flow remains subspace-consistent by construction. Experiments on 2D Navier-Stokes equations demonstrate exact incompressibility up to discretization error and substantially improved stability and physical consistency.
Figures & tables
| Model | Prediction ( ) | Short-term ( ) | Long-term ( ) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| U-MSE | V-MSE | Div | U-MSE | V-MSE | Div | U-MSE | V-MSE | Div | |
| Regression Models | |||||||||
| Base | |||||||||
| Ours | |||||||||
| Generative Models | |||||||||
| Base | Inf | Inf | Inf | ||||||
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Category | Meaning |
|---|---|---|
| data sample | divergence-free velocity field from the dataset | |
| data distribution | probability distribution of data samples on | |
| reference distribution | divergence-free Gaussian noise on | |
| noise sample | reference divergence-free random field | |
| interpolated sample | noisy interpolation between and data sample | |
| conditional distribution | distribution induced by |
| Model | Stage | Total MSE | U-MSE | V-MSE | Div-MSE |
|---|---|---|---|---|---|
| Gen. (Base) | Prediction ( ) | ||||
| Short-term Ext. ( ) | |||||
| Long-term Ext. ( ) | |||||
| Gen. (Ours) | Prediction ( ) | ||||
| Short-term Ext. ( ) | |||||
| Long-term Ext. ( ) |