Parametric generative schemes with geometric constraints for encoding and synthesizing airfoils

Hairun Xie, Jing Wang, Miao Zhang

TL;DR

Researchers have developed two new deep learning-based methods to design airfoils that balance creative freedom with strict geometric requirements. By combining Variational Autoencoders (VAEs) with geometric projection techniques, these schemes can generate high-performance, smooth aerodynamic shapes that surpass the limitations of traditional design tools.

What Problem Does This Paper Address?

In aerodynamic design, "parameterization" is the process of defining a complex shape like an airfoil using a set of numerical variables. Engineers face a constant trade-off: methods that are easy to understand (like the NACA or PARSEC systems) often lack the flexibility to represent high-performance modern shapes. Conversely, highly flexible methods (like NURBS or Free Form Deformation) are difficult to control—it is hard to tell the math to "make this shape exactly 12% thick" without a tedious optimization loop.

This paper tackles the challenge of creating a generative model that is both flexible (can create any shape) and constrained (follows specific geometric rules like thickness or camber) while ensuring the resulting shapes are physically realistic and smooth.

The trade-off between intuitiveness and flexibility in traditional parametric approaches.

Methods

The authors propose two distinct generative schemes based on Variational Autoencoders (VAEs):

  1. Soft-constrained scheme: This uses a Conditional VAE (CVAE). The geometric constraints (e.g., maximum thickness, camber) are fed into the neural network as inputs during training. The network learns to associate these numbers with specific shapes. It is "soft" because the output might slightly deviate from the exact target values.
  2. Hard-constrained scheme: This pairs a standard VAE with a Hard Projection module. The VAE generates a diverse "base" airfoil, and then a mathematical technique called Free Form Deformation (FFD) is used to "stretch" or "squish" that shape until it perfectly matches the required geometric constraints.

Datasets

The models were trained and tested on three datasets to evaluate their ability to interpolate (fill gaps) and extrapolate (predict new types of shapes):

  • UIUC Dataset (Training): A massive database of over 1,500 real-world airfoils used in everything from wind turbines to supercritical wings.
  • Random NACA 4-Digits (Test1): 1,500 airfoils generated using the classic NACA mathematical definitions. This served as an "interpolation" test to see if the model could handle shapes similar to its training data.
  • Supercritical Airfoil Dataset (Test2): A specialized set of high-speed airfoils not present in the training data, used to test the model's "extrapolation" or "out-of-distribution" performance.
Examples of typical airfoils found in the UIUC training dataset.

Key Insights and Ideas

  • Latent Space as a Design Tool: The VAE compresses complex airfoil shapes into a 10-dimensional "latent space." The authors discovered that different dimensions in this space naturally correspond to physical features—for example, one dimension might control the trailing edge shape while another controls thickness.
  • Breaking the Training Boundaries: Unlike traditional methods (like PCA) that are strictly limited by the variety of the training data, these generative schemes can "break through" the boundaries. They can synthesize airfoils that have better aerodynamic performance (higher lift-to-drag ratios) than any of the airfoils they were originally shown.
  • Local vs. Global Optimization: The two schemes serve different purposes. The soft scheme is highly efficient and tends to cluster results near a reference point, making it ideal for "polishing" a design. The hard scheme provides much greater diversity and no statistical bias, making it perfect for "brainstorming" entirely new designs during global optimization.

Key Results

  • High Accuracy: Both schemes reconstructed airfoils with extremely low error (Mean Squared Error around $10^{-7}$).
  • Inherent Smoothness: The generated airfoils were naturally smooth and did not require additional mathematical filters, which is a common headache in AI-generated geometry.
  • Strict Adherence: The hard-constrained scheme achieved 100% accuracy in meeting geometric targets. The soft-constrained scheme was also impressive, keeping thickness errors within a 2.5% band for all samples.
  • Diversity: In the "objective space" (performance metrics like lift and drag), the hard-constrained scheme showed "isotropic uniformity," meaning it explored the design space evenly in all directions without getting stuck in the biases of the training data.

Limitations and Future Work

The authors note that while the hard-constrained scheme is powerful, the FFD projection can occasionally produce "odd" or physically unrealistic shapes if the required deformation is too extreme (about 10 out of 500 samples in their test).

Future research aims to extend these generative schemes to more complex 3D wing geometries and higher-dimensional design problems to broaden their application in real-world aerospace engineering.

Summary updated

BibTeX
@inproceedings{xie2023parametric,
  author = {Hairun Xie and Jing Wang and Miao Zhang},
  title = {{Parametric generative schemes with geometric constraints for encoding and synthesizing airfoils}},
  booktitle = {Engineering},
  year = {2023},
  doi = {10.1016/j.engappai.2023.107505},
}
Figure