Representing Flow Fields with Divergence-Free Kernels for Reconstruction

Xingyu Ni, Jingrui Xing, Xingqiao Li, Bin Wang, Baoquan ChenProc. ACM Comput. Graph. Interact. Tech 2025

TL;DR

This paper introduces Divergence-Free Kernels (DFKs), a novel method for representing and reconstructing fluid flow fields. DFKs inherently enforce incompressibility, leading to more accurate and efficient fluid flow reconstruction compared to existing implicit neural representations (INRs) and other kernel-based methods.

What Problem Does This Paper Address?

Accurately reconstructing continuous fluid flow fields from sparse or indirect data is a significant challenge in various scientific and engineering domains. Traditional methods often struggle with oversmoothing, require complex architectures, or are computationally expensive due to the need to enforce physics-informed losses. Implicit Neural Representations (INRs) offer a resolution-agnostic approach but can still lead to oversmoothing and require complex, heterogeneous representations. Physics-Informed Neural Networks (PINNs) can be difficult to optimize due to the balancing act between data fitting and physical constraints, and they often involve computationally intensive high-order derivatives. This paper aims to address these limitations by proposing a method that naturally enforces the incompressibility constraint of fluid dynamics.

Methods

The core of this work is the introduction of Divergence-Free Kernels (DFKs), specifically DFKs-Wen4. These are matrix-valued radial basis functions derived from Wendland's C⁴ polynomial. The key innovation is that these kernels are constructed to analytically satisfy the divergence-free condition (∇·u = 0), which is fundamental for incompressible flows. This means the incompressibility constraint is embedded directly into the representation, eliminating the need for explicit penalty terms in the optimization process.

The DFKs-Wen4 possess several desirable properties:

  • Compact Support: This allows for localized optimizations, which is beneficial for handling boundary conditions and complex flow structures.
  • Positive Definiteness: This ensures a well-behaved optimization landscape and a unique solution.
  • Second-Order Differentiability: This is crucial for tasks involving viscosity and other physics-based fluid equations.

The framework uses these DFKs to represent a flow field as a weighted sum of these kernels. The positions, radii, and weights of these kernels are then optimized to fit observed data. This approach offers more modeling flexibility than INRs, as individual kernel parameters can be adjusted to capture multiscale and complex fluid structures.

Datasets

The paper evaluates its method on various flow field reconstruction tasks, using data from:

  • Simulated fluid dynamics: This includes Kármán vortex streets, analytic vortices, simple plumes, turbulent flows, and flows around obstacles (spheres, missiles, bullets).
  • Real-world captured data: This includes scalar flow data from multiple cameras.

The paper does not introduce new datasets but rather uses existing simulation data and public datasets to demonstrate the effectiveness of DFKs-Wen4 across diverse scenarios.

Key Insights and Ideas

  • Incompressibility by Construction: The most significant insight is that enforcing the divergence-free constraint analytically through the kernel's mathematical form is far more effective and efficient than using penalty terms in the loss function. This simplifies optimization and leads to more physically realistic results.
  • DFKs as a Superior Representation: DFKs-Wen4, with their specific mathematical properties (compact support, positive definiteness, differentiability), are shown to be particularly well-suited for fluid flow representation, outperforming other kernel-based methods and INRs in many tasks.
  • Dipolar Nature of DFKs: The inherent dipolar structure of DFKs aligns well with fundamental flow phenomena like vortex streets, making them a natural fit for representing such dynamics.
  • Flexibility of Kernel Optimization: Unlike fixed neural network architectures, the ability to optimize kernel positions, radii, and weights allows DFKs to adaptively capture complex and multiscale flow features.

Key Results

The DFKs-Wen4 method consistently outperformed competing approaches (SIREN, Curl SIREN, Regular RBF, DFK-Poly6, Curl Kernel) across various reconstruction tasks, including:

  • Fitting: DFK-Wen4 achieved the lowest fitting error in most cases, demonstrating superior accuracy in reconstructing dense flow fields. For example, in the Kármán vortex street fitting task, DFK-Wen4 achieved a loss of 5.421 × 10⁻⁴, significantly lower than other methods.
  • Inpainting: DFK-Wen4 produced smoother and more symmetric completions, better adhering to boundaries and capturing finer details compared to other methods.
  • Super-Resolution: DFK-Wen4 excelled at recovering fine-scale details and anisotropic structures, achieving higher PSNR/SSIM values than other methods. For instance, in Turbulence A, DFK-Wen4 achieved a PSNR/SSIM of 40.93/0.987.
  • Time-Continuous Flow Inference: DFK-Wen4 successfully inferred detailed vortices in dynamic flow fields, while network-based methods produced overly smooth results.
  • Computational Efficiency: DFKs-Wen4 required significantly fewer trainable parameters than INRs while achieving comparable or superior performance.

Limitations and Future Work

  • Validation Data: A key limitation is that the validation data is primarily derived from numerical simulations rather than real-world measurements. Expanding the representation to real-world data is suggested.
  • Boundary Conditions: The current work primarily considers no-slip boundary conditions. While free-slip conditions can be incorporated, modeling free-surface flows remains an open challenge.
  • Isotropic Kernels: The current DFKs-Wen4 use isotropic Wendland functions. Future work could explore adapting DFKs to use anisotropic ellipsoids, inspired by advancements in 3DGS, to enhance expressive capabilities.
  • Euclidean Space Restriction: The current DFKs are for flow fields in Euclidean space. Extending them to surface-based kernels for flows on manifolds (e.g., soap films, planetary atmospheres) is a promising avenue.
  • Forward Simulation Potential: The paper suggests that DFKs' expressive power, fitting capabilities, and rapid convergence also make them suitable for forward fluid simulations, potentially unifying forward and inverse tasks.

Summary updated

BibTeX
@inproceedings{ni2025representing,
  author = {Xingyu Ni and Jingrui Xing and Xingqiao Li and Bin Wang and Baoquan Chen},
  title = {{Representing Flow Fields with Divergence-Free Kernels for Reconstruction}},
  booktitle = {Proc. ACM Comput. Graph. Interact. Tech},
  year = {2025},
}
Figure