Neural Fluid Simulation on Geometric Surfaces

Haoxiang Wang, Tao Yu, Hui Qiao, Qionghai DaiICLR 2025

Simulating fluids on surfaces—such as soap bubbles, liquid crystal films, or planetary atmospheres—is a notoriously difficult challenge in computer graphics and computational physics. Traditional methods rely on grids or meshes to discretize space. However, these approaches suffer from high memory usage and struggle with adaptivity; if the underlying mesh is low-quality or the geometry is highly complex, the simulation often breaks down or loses accuracy.

Furthermore, maintaining the "incompressible" nature of a fluid (where the volume remains constant) typically requires a computationally expensive "pressure projection" step. In many simulations, this step introduces numerical errors that cause the fluid to lose energy over time (energy dissipation), making the flow look muddy or causing it to stop prematurely. While recent Implicit Neural Representations (INRs) have attempted to solve the storage problem, they have historically struggled to strictly enforce these physical constraints on curved 3D surfaces.

To address these limitations, researchers have introduced NFFS (Neural Functional Flow on Surface), a novel framework for simulating incompressible fluid flow directly on 3D surfaces. By combining exterior calculus with the Closest Point Method, NFFS creates a "meshless" simulator that mathematically guarantees incompressibility and significantly reduces energy loss compared to previous neural and classical approaches.

Overview of the NFFS pipeline and its applications.

Core Methodology

The authors propose moving away from fixed grids, instead using neural networks to represent the fluid's state. The NFFS approach relies on two key mathematical pillars to achieve its results:

1. Exterior Calculus & The Closest Point Method (CPM)

Instead of trying to flatten a 3D surface into a 2D map—which inevitably causes distortion—NFFS uses the Closest Point Method to define a 3D neighborhood around the surface.

Visual representation of the Closest Point Method (CPM) used to define surface gradients.

Using "differential forms" (a generalized version of vector calculus), the framework constructs a velocity field that is divergence-free by design. By defining a scalar "stream function" and taking its "surface curl," the resulting fluid motion is mathematically forced to be incompressible. Unlike many "physics-informed" networks that use a loss function to merely encourage physical correctness, NFFS builds the physics directly into the architecture. The velocity field cannot be anything but divergence-free.

2. Covariant Derivative-Based Advection

To move the fluid over time, the researchers implement an advection process based on covariant derivatives. This ensures that as fluid "particles" move along a curved surface, they respect the underlying geometry. This geometric awareness is crucial for preserving the fluid's total energy and momentum without relying on error-prone pressure projection steps.

Because the system is represented by a neural network, it is entirely "meshless." It can run on analytic shapes (like spheres), standard triangle meshes, or even surfaces that are themselves defined by other neural networks, such as Signed Distance Functions (SDFs).

Experimental Setup and Datasets

The researchers evaluated NFFS across a wide variety of scenarios to test its robustness and flexibility:

  • Analytical Surfaces: Sphere jet flows and inclined planes.
  • Explicit Meshes: Complex geometries like a 3D hand model and the classic "Spot" cow model.
  • Implicit Neural Surfaces: Simulating flow on the "Armadillo" and "Lucy" models represented as neural SDFs.
  • Real-World Data: 100-metre wind velocity data from an atmospheric dataset (ECMWF) to demonstrate Helmholtz decomposition.
  • Conditioning Task: The EMNIST dataset (handwritten letters) was used to train a Variational Auto-Encoder (VAE) to generate fluid flows that mimic specific shapes.

Key Results and Insights

The NFFS framework demonstrated significant improvements over existing methods across several key metrics:

  • Accuracy: NFFS achieved approximately 15 times higher accuracy than baseline neural methods (like INSR) when given the exact same storage budget.
  • Memory Efficiency: It provides 5 times memory savings compared to classical high-resolution grid-based solvers.
  • Stability: In tests on implicit surfaces, classical methods often crashed due to mesh artifacts (e.g., from Marching Cubes extraction), whereas NFFS remained robust and stable because it is geometry agnostic.
  • Energy Preservation: By avoiding the traditional pressure projection step and using covariant advection, the method achieves remarkably low energy dissipation. The relative change in energy was kept to a tiny $10^{-5}$, comparable to high-end functional fluid solvers but with much lower storage requirements. This keeps simulated vortices "alive" much longer than competing neural methods.

Limitations and Future Work

Despite its impressive strengths, the authors note several areas for future improvement. First, the current method is optimized for "genus zero" surfaces (like spheres). On surfaces with many holes (high genus), the "cohomology"—the way flow loops around holes—becomes complex and isn't yet fully handled for highly turbulent flows.

Second, while highly memory-efficient, the optimization-based time integration is currently slower than classical solvers, as training and optimizing the network for each time step takes significant GPU time. Finally, the current work focuses on inviscid (non-viscous) incompressible flow. Future iterations will need to incorporate viscosity and complex boundary conditions to be viable for strict engineering applications.

Summary updated

BibTeX
@inproceedings{wang2025neural,
  author = {Haoxiang Wang and Tao Yu and Hui Qiao and Qionghai Dai},
  title = {{Neural Fluid Simulation on Geometric Surfaces}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=58lbAsXCoZ},
}
Figure