FuncGenFoil: Airfoil Generation and Editing Model in Function Space

Jinouwen Zhang, Junjie Ren, Qianhong Ma, Jianyu Wu, Aobo Yang, Yan Lu, Lu Chen, Hairun Xie, Jing Wang, Miao Zhang, Wanli Ouyang, Shixiang Tang

Abstract

FuncGenFoil is a novel generative AI model that designs aircraft airfoils by treating their shapes as continuous mathematical functions rather than discrete points or rigid parametric curves. By combining neural operators with a flow matching framework, it generates highly diverse, smooth, and resolution-independent airfoil geometries. This approach reduces design errors by over 74% compared to state-of-the-art methods and enables seamless shape editing via point manipulation.

Introduction: The Representation Trade-off

In aerodynamic design, representing airfoil geometry—the cross-sectional shape of a wing—presents a fundamental challenge. Traditional machine learning approaches typically rely on two paradigms:

  1. Parametric Models: These use mathematical functions (e.g., Bézier curves) to ensure smoothness and resolution independence but are limited by the predefined "design space" of the chosen function family.
  2. Discrete Point Sets: These offer high expressiveness but lack inherent smoothness and are constrained to the resolution used during training.
Comparison of airfoil representation methods: parametric curves, discrete points, and the proposed function curve approach.

FuncGenFoil bridges this gap by introducing a function-space generative model, providing the infinite resolution of parametric models alongside the design freedom of point-based methods.

Methodology

The core of FuncGenFoil lies in its ability to operate directly on continuous functions rather than finite-dimensional vectors.

Flow Matching in Function Space

Unlike standard diffusion models that operate on discrete pixels or points, FuncGenFoil utilizes Flow Matching. This framework learns to transform a random noise function, sampled from a Gaussian process prior (specifically using a Matérn kernel for smoothness), into a valid airfoil geometry.

Fourier Neural Operator (FNO)

To handle continuous functions, the model employs a Fourier Neural Operator (FNO) as its velocity backbone. FNOs are resolution-independent by design, allowing the model to be trained on one resolution and sampled at much higher resolutions without loss of quality.

The FuncGenFoil architecture, integrating condition embeddings and neural operators within a flow matching framework.

Freestyle Editing via ODE Inversion

The model supports interactive editing by leveraging the invertibility of Ordinary Differential Equations (ODEs). By reversing the generation process, the model identifies the latent noise representation of an existing airfoil. Users can then apply specific geometric constraints, and the model uses Maximum A Posteriori (MAP) estimation to adjust the entire curve smoothly.

Experimental Results

The model was validated on extensive datasets, including UIUC, AF-200K, and the NASA Common Research Model (CRM).

  • Accuracy: FuncGenFoil achieved a 74.4% relative reduction in label error on the AF-200K dataset compared to previous state-of-the-art models like PK-DIT.
  • Diversity and Smoothness: The model increased design diversity by 23.2% while maintaining superior mathematical smoothness across all generated surfaces.
  • Zero-Shot Super-Resolution: Models trained at a resolution of 257 points successfully generated high-fidelity airfoils at 1025 points with no additional training.
  • Aerodynamic Validity: Computational Fluid Dynamics (CFD) simulations confirmed that the generated wings match the lift-to-drag (L/D) performance distributions of established aerospace benchmarks.

Conclusion and Future Work

FuncGenFoil demonstrates that treating geometric data as continuous functions is a powerful paradigm for engineering design. While currently optimized for 2D closed loops via circular parameterization, future research will focus on extending these function-space operators to complex 3D topologies and irregular meshes, potentially revolutionizing full-scale aircraft design.

Summary updated

BibTeX
@inproceedings{zhang2025funcgenfoil,
  author = {Jinouwen Zhang and Junjie Ren and Qianhong Ma and Jianyu Wu and Aobo Yang and Yan Lu and Lu Chen and Hairun Xie and Jing Wang and Miao Zhang and Wanli Ouyang and SHIXIANG TANG},
  title = {{FuncGenFoil: Airfoil Generation and Editing Model in Function Space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=yXitkQJmpj},
}
Figure