A Geometry-Aware Message Passing Neural Network for Modeling Aerodynamics over Airfoils

Jacob Helwig, Xuan Zhang, Haiyang Yu, Shuiwang JiarXiv 2024 · DOI

This paper introduces GEOMPNN, a geometry-aware message passing neural network designed to predict aerodynamic flow fields around airfoils. By combining a novel bipartite graph architecture with physically-motivated coordinate transformations, the authors achieved the "Best Student Submission" award at the NeurIPS 2024 ML4CFD Competition.

The Challenge: Efficiency and Generalization in CFD

Computational Fluid Dynamics (CFD) is a cornerstone of aerospace engineering, yet it is computationally intensive, often requiring hours or days for high-fidelity simulations. While deep learning surrogate models offer near-instantaneous approximations, they face three significant hurdles:

  1. Geometry Sensitivity: Airfoil performance is dictated by fine-grained geometric details that standard models often fail to capture.
  2. Locality vs. Global Influence: Standard Graph Neural Networks (GNNs) propagate information locally. However, in aerodynamics, the airfoil surface exerts a global influence over the entire surrounding volume.
  3. Resolution Shift: Models are often trained on sparse, downsampled meshes to save memory. Standard GNNs struggle when mesh density increases at test time because their neighborhood structures change, leading to accuracy drops.
Comparison of the full simulation mesh (179,653 points) versus the subsampled mesh (32,000 points) used to address the resolution shift challenge.

Methods: The GEOMPNN Architecture

The authors developed several innovations to overcome these challenges:

  • SURF2VOL Message Passing: Instead of a standard mesh-based graph, GEOMPNN uses a directed, bipartite graph. It computes a latent representation of the airfoil surface (the "source") and propagates this directly to all collocation points in the volume (the "sinks"). By omitting volume-to-volume edges, the model becomes immune to changes in mesh density, effectively solving the resolution shift problem.
  • Hybrid Coordinate Systems: Points are represented using both leading-edge and trailing-edge coordinate systems, allowing the network to distinguish between distinct physical regimes like the stagnation point and the wake.
  • Expressive Embeddings: The model utilizes sinusoidal bases for Cartesian distances and spherical harmonics for angular features to enhance spatial awareness.
  • Inlet Velocity Canonicalization: Rotating the coordinate system so the inlet velocity is parallel to the x-axis simplifies the learning task, particularly for predicting turbulent viscosity.
  • Log-Transformed Pressure: Predicting a log-transformed target helps stabilize training against high variance in pressure fields.

Key Results and Performance

GEOMPNN demonstrated superior performance in the NeurIPS 2024 ML4CFD Competition, placing 4th overall.

  • Zero Resolution Degradation: Unlike standard GNNs, which saw error increases of 50–120% when moving to full-resolution meshes, GEOMPNN showed 0% degradation.
  • Out-of-Distribution (OOD) Generalization: The combination of spherical harmonics and inlet canonicalization significantly boosted OOD scores, proving the model's ability to handle unseen airfoil shapes.
  • Accuracy Gains: The "Inlet" model reduced turbulent viscosity error by more than half compared to baseline models.
Global Score comparison showing the performance advantage of the GNN-based GEOMPNN architecture over a standard MLP baseline.

Conclusion and Future Directions

GEOMPNN proves that "hard-coding" physical symmetries and focusing on surface-to-volume interactions can yield more robust aerodynamic surrogates than standard local GNNs. While currently optimized for 2D steady-state problems, future work may extend this bipartite approach to 3D geometries and time-evolving dynamics, where capturing secondary flow effects will be critical.

Summary updated

BibTeX
@misc{helwig2024geometry,
  author = {Jacob Helwig and Xuan Zhang and Haiyang Yu and Shuiwang Ji},
  title = {{A Geometry-Aware Message Passing Neural Network for Modeling Aerodynamics over Airfoils}},
  year = {2024},
  eprint = {2412.09399},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.09399},
}
Figure