Abstract
Aerodynamic shape optimization is a critical yet computationally demanding task in aerospace engineering. This study investigates the use of Reinforcement Learning (RL), specifically Deep Q-Networks (DQN), to optimize 2D airfoil profiles. By leveraging Bezier curves for geometric representation and the XFOIL solver for aerodynamic evaluation, the proposed RL agent learns to iteratively adjust control points to improve performance. The approach achieved an 84% reduction in the drag coefficient of a baseline NACA 0012 airfoil, demonstrating that RL can effectively learn the underlying logic of aerodynamic design.
Introduction
Designing an optimal airfoil—the cross-sectional shape of a wing—requires a delicate balance between minimizing drag and maximizing lift. Traditional optimization techniques, such as Genetic Algorithms or Simulated Annealing, often rely on stochastic processes and are computationally expensive, requiring thousands of evaluations from scratch. This research explores whether an RL agent can move beyond "guessing" and instead learn a sequence of strategic actions to iteratively "sculpt" an airfoil for superior performance.
Methodology
The optimization framework integrates three core components: shape representation, a physics-based evaluation engine, and a learning agent.
Shape Representation via Bezier Curves
To avoid the "curse of dimensionality" associated with manipulating hundreds of individual surface coordinates, the authors represent the airfoil using Bezier curves. This allows the geometry to be defined by a small set of control points (typically 5–20). By shifting these control points vertically, the agent can smoothly deform the entire profile.
The Optimization Loop
The problem is framed as a Markov Decision Process (MDP):
- State: Defined by the current y-coordinates of the airfoil profile.
- Action: Small vertical adjustments applied to the Bezier control points.
- Reward: Calculated based on aerodynamic improvements, such as drag reduction or lift increase.
- Physics Engine: XFOIL, a potential flow solver, provides the necessary aerodynamic data (pressure distribution, lift, and drag) for each generated shape.
A Deep Q-Network (DQN) is employed to approximate the Q-values, predicting which actions will maximize cumulative rewards in a continuous state space. The training process utilizes "experience replay" to stabilize learning by sampling from a buffer of past transitions.
Results and Discussion
The DQN agent was tasked with optimizing a standard, symmetric NACA 0012 airfoil at a 0° angle of attack.
Performance Gains
The agent successfully identified geometries with significantly lower resistance. The initial drag coefficient ($C_d$) of 0.00106 was reduced to 0.00017, representing an 84% improvement. Additionally, the agent optimized for lift, achieving a lift coefficient ($C_l$) of 0.7235.
Key Insights
- Dimensionality Reduction: Using Bezier curves was essential for convergence, as it reduced the action space to a manageable size.
- Constraint Management: By fixing critical points like the leading and trailing edges, the authors ensured the agent produced physically viable and manufacturable designs.
Conclusion and Future Work
This study demonstrates the efficacy of Deep Q-Networks in automating aerodynamic design. While highly successful for symmetric profiles under specific conditions, future research is needed to improve the system's robustness when handling irregular initial shapes and to generalize performance across varying flight conditions, such as different speeds and angles of attack. Expanding the model to handle more complex asymmetric airfoils remains a primary objective for future development.
Summary updated