NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Airfoil GAN: encoding and synthesizing airfoils for aerodynamic shape optimization

Yuyang Wang, Kenji Shimada, Amir Barati Farimani

TL;DR

This paper introduces Airfoil GAN, a deep learning framework that learns to encode airfoil shapes into a compact latent space, synthesize novel airfoils, and optimize them for desired aerodynamic properties without relying on predefined design parameters. This approach offers a more efficient and flexible way to design high-performance airfoils compared to traditional methods.

What Problem Does This Paper Address?

Designing aerodynamic shapes, particularly airfoils, is a complex process. Traditional methods often involve computationally intensive simulations and rely on manually defined design parameters, which can limit the exploration of novel shapes and restrict the design space. This can lead to suboptimal designs or designs that don't fully exploit the potential for aerodynamic performance. The challenge is to develop a method that can automatically learn meaningful representations of airfoil shapes, generate diverse and novel designs, and optimize these designs for specific aerodynamic goals without human-imposed constraints.

Methods

The core of this work is the Airfoil GAN, a VAEGAN (Variational Autoencoder Generative Adversarial Network) architecture. This model combines the strengths of VAEs for learning latent representations and reconstruction with GANs for generating realistic samples.

Here's a breakdown of the key components:

  • Encoder-Decoder (VAE): An encoder maps a high-dimensional airfoil shape (represented by its coordinates) into a low-dimensional latent feature vector. A decoder then reconstructs the airfoil from this latent vector. This allows the model to learn a compact representation of airfoil geometry.
  • Discriminator (GAN): A discriminator network is trained to distinguish between real airfoils from a dataset and those reconstructed or generated by the model. This adversarial process pushes the generator (decoder in this case) to produce increasingly realistic and high-quality airfoil shapes.
  • VAEGAN Loss Function: The model is trained using a combined loss function that includes reconstruction loss (ensuring accurate reconstruction), prior loss (regularizing the latent space), a layer consistency loss (improving reconstruction quality), and adversarial loss (for realistic generation).
  • Aerodynamic Optimization: A Genetic Algorithm (GA) is employed to optimize the synthesized airfoils. Instead of directly optimizing the airfoil geometry, the GA operates on the learned latent feature vectors. This allows for efficient exploration of the design space to achieve target aerodynamic properties like lift and drag coefficients.

Datasets

  • UIUC Airfoil Coordinate Database: This is the primary dataset used for training and evaluation. It contains over 1,600 2D airfoil shapes. The data is pre-processed by interpolating points to ensure a consistent number of coordinates for each airfoil.

Key Insights and Ideas

  • Unsupervised Feature Learning: The VAEGAN model learns meaningful geometric features of airfoils directly from data, without requiring any predefined design parameters or labels. This is a significant departure from traditional methods.
  • Latent Space Encodes Shape: The learned latent feature space effectively captures essential airfoil shape information. Different dimensions within this latent space correspond to specific geometric attributes (e.g., upper boundary height, camber, curvature), allowing for intuitive manipulation of airfoil shapes.
  • Generative Power: The model can synthesize novel airfoils through interpolation, extrapolation, and random sampling in the latent space. These synthesized airfoils can exhibit unique shapes that blend features from existing designs or are entirely new.
  • Aerodynamic Optimization in Latent Space: Optimizing airfoil shapes directly in the learned latent space using a GA proves to be highly effective. This approach allows for the generation of airfoils with desired aerodynamic performance characteristics.

Key Results

  • Reconstruction Accuracy: The VAEGAN model achieves a low reconstruction error (MSE of ~3.65x10⁻⁴), indicating that the learned latent features accurately represent airfoil geometries. Reconstructed airfoils are smooth without post-processing.
  • Novelty and Realism: The VAEGAN model generates more realistic airfoils than a standard VAE, as evidenced by a lower Fréchet Inception Distance (FID) score (0.65366 vs. 1.38788). It also produces more novel designs compared to PCA and VAE.
  • Aerodynamic Performance: Synthesized airfoils, when optimized via GA, can achieve target lift and drag coefficients that are comparable to or even better than existing airfoils. For instance, with a target of C₁=0.6 and C₁=0.006, VAEGAN-synthesized airfoils achieved an average lift coefficient of 0.5857 and drag coefficient of 0.0061.
  • Feature Visualization: Analysis shows that individual dimensions in the latent space encode specific geometric features, allowing for controlled manipulation of airfoil shapes.

Limitations and Future Work

  • 2D Airfoils: The current work focuses on 2D airfoils. Extending the framework to 3D wing designs is a natural next step.
  • Optimization under Varying Conditions: The optimization was performed under specific conditions. Future work could explore optimizing airfoils for a range of aerodynamic conditions (e.g., different angles of attack, Mach numbers).
  • Computational Cost: While more efficient than traditional methods, CFD simulations for evaluating aerodynamic performance can still be computationally intensive. Exploring methods like Bayesian optimization or deep reinforcement learning for optimization is suggested.
  • Inclusion of Length as a Parameter: The current dataset assumes a fixed airfoil length. Incorporating length as an optimizable parameter could lead to further improvements.
  • Transonic/High-Speed Flows: Extending the model to handle airfoil designs for transonic or high-speed flow regimes is a potential future direction.

Summary updated

BibTeX
@article{wang2023airfoil,
  author = {Yuyang Wang and Kenji Shimada and Amir Barati Farimani},
  title = {{Airfoil GAN: encoding and synthesizing airfoils for aerodynamic shape optimization}},
  journal = {J. Comput. Des. Eng.},
  year = {2023},
  url = {https://openreview.net/forum?id=Azj7Fj1uyG},
}
Figure