A Geometry-Aware Message Passing Neural Network for Modeling Aerodynamics over Airfoils
Jacob Helwig, Xuan Zhang, Haiyang Yu, Shuiwang Ji
TL;DR
This work introduces GeoMPNN, a geometry-aware message passing neural network for steady incompressible flows over airfoils. The method first builds a latent geometric representation of the airfoil via Surf2Vol on the surface and then propagates this information to the volume mesh through a directed bipartite graph, enabling efficient training on subsampled meshes while preserving full-mesh accuracy at test time. It enhances geometry expressiveness with augmented coordinate systems (trailing edge, polar-Cartesian, and basis embeddings) and canonicalizes inputs with respect to inlet velocity to boost generalization, achieving state-of-the-art performance in the NeurIPS ML4CFD competition on the AirfRANS dataset. The combination of Surf2Vol geometry encoding, advanced coordinate embeddings, and pressure transformations yields improved predictions for velocity, pressure, and turbulence, with practical implications for fast, geometry-robust airfoil surrogate modeling.
Abstract
Computational modeling of aerodynamics is a key problem in aerospace engineering, often involving flows interacting with solid objects such as airfoils. Deep surrogate models have emerged as purely data-driven approaches that learn direct mappings from simulation conditions to solutions based on either simulation or experimental data. Here, we consider modeling of incompressible flows over solid objects, wherein geometric structures are a key factor in determining aerodynamics. To effectively incorporate geometries, we propose a message passing scheme that efficiently and expressively integrates the airfoil shape with the mesh representation. Under this framework, we first obtain a representation of the geometry in the form of a latent graph on the airfoil surface. We subsequently propagate this representation to all collocation points through message passing on a directed, bipartite graph. We demonstrate that this framework supports efficient training by downsampling the solution mesh while avoiding distribution shifts at test time when evaluated on the full mesh. To enable our model to be able to distinguish between distinct spatial regimes of dynamics relative to the airfoil, we represent mesh points in both a leading edge and trailing edge coordinate system. We further enhance the expressiveness of our coordinate system representations by embedding our hybrid Polar-Cartesian coordinates using sinusoidal and spherical harmonics bases. We additionally find that a change of basis to canonicalize input representations with respect to inlet velocity substantially improves generalization. Altogether, these design choices lead to a purely data-driven machine learning framework known as GeoMPNN, which won the Best Student Submission award at the NeurIPS 2024 ML4CFD Competition, placing 4th overall. Our code is publicly available as part of the AIRS library (https://github.com/divelab/AIRS).
