Aerodynamic Optimization of a UAV Wing subject to Weight, Geometric, Root Bending Moment, and Performance Constraints
Abstract
In this study, the optimization of a low-speed wing with functional constraints is discussed. The aerodynamic analysis tool developed by the coupling of the numerical nonlinear lifting-line method to Xfoil is used to obtain lift and drag coefficients of the baseline wing. The outcomes are compared with the results of the solver based on the nonlinear lifting-line theory implemented into XLFR5 and the transition shear stress transport model implemented into ANSYS-Fluent. The agreement between the results at the low and moderate angle of attack values is observed. The sequential quadratic programming algorithm of the MATLAB optimization toolbox is used for the solution of the constrained optimization problems. Three different optimization problems are solved. In the first problem, the maximization of is the objective function, while level flight condition at maximum is defined as a constraint. The functional constraints related to the wing weight, the wing planform area, and the root bending moment are added to the first optimization problem, and the second optimization problem is constructed. The third optimization problem is obtained by adding the level flight condition and the available power constraints at the maximum speed and the level flight condition at the minimum speed of the baseline unmanned air vehicle to the second problem. It is demonstrated that defining the root bending moment, the wing area, and the available power constraints in the aerodynamic optimization problems leads to more realistic wing planform and airfoil shapes.
1. Introduction
Recent advances in computer technology have advanced the conceptual design of an aircraft using advanced optimization tools rather than rough sketches and calculations on paper. In the early years of aviation, a small group of engineers, led by a design engineer who had experience in both design and manufacturing, were responsible for the conceptual design. However, at present, the design group has expanded and divided into subgroups because of the complexity of the aircraft, which is a result of the technological advances [1]. Simultaneously, faster solutions of the optimization problems have enabled the definition of optimization problems that have objective functions and constraints defined by different disciplines to satisfy the expected performance merits of the aircraft in the conceptual design. In addition to satisfying the performance merits, developing a mathematical proof of the optimized aircraft at the end of the design phase is crucial. To obtain accurate results in the optimization problems, the function evaluator should be a verified and widely used analytical or numerical analysis tool.
Xfoil, developed by Mark Drela, is utilized as the airfoil analysis code in the numerous studies that are related to the design of fixed and rotary wings, wind turbine blades, and marine propellers [2]. Aerodynamic coefficients are obtained by the coupling of the panel method to the two-equation integral boundary-layer formulation that is the integral momentum and kinetic energy shape parameter equations. Falkner-Skan and Swafford velocity profile formulas are used for laminar closure and turbulent closure, respectively. The en method is implemented for transition point detection [3].
Koreanschi et al. used Xfoil for the evaluation of the base airfoil performance in their study that presented numerical optimization and experimental wind tunnel testing of a morphing wing tip equipped with an adaptable upper surface, and a rigid aileron [4]. Gabor et al. used Xfoil in the high angle of attack (α) optimization of a morphing airfoil as a function evaluator [5]. Della Vecchia et al. investigated the effect of a morphing trailing edge to the performance of a high-altitude long-endurance (HALE) aircraft. The variation of the lift coefficient (Cl) and the profile drag coefficient (Cd) of the airfoils with trailing edge deflection was obtained with Xfoil [6]. Magrini and Benini investigated the aerodynamic optimization of a morphing leading-edge airfoil. The optimization problem was solved by using the transition SST model, Spalart-Allmaras model, and Xfoil [7]. Liu et al. studied the optimization of the airfoil at an ultra-low Reynolds number (Re) for nanorotor performance [8]. In the study, Xfoil results were compared with the results of a two-dimensional incompressible Navier-Stokes solver in which the artificial compressibility method was utilized to deal with incompressible flow. In this validation study, the National Advisory Committee for Aeronautics (NACA) 0006 airfoil was used and Re was 6000. Xfoil captured Cl and Cd values up to stall α correctly. Silvestre et al. coupled the blade element momentum theory with Xfoil and developed a new propeller design code named as JBLADE [9].
The nonlinear numerical lifting-line method proposed by Anderson and Corda is an iterative solution to Prandtl’s lifting-line theory [10]. Gamboa et al. used the nonlinear lifting-line method as a function evaluator for the morphing wing optimization. In the study, airfoil aerodynamic data was provided by Xfoil [11]. Merz et al. used the numerical nonlinear lifting-line method to find the most effective α on a pitching rotor blade [12].
2. Method
First of all, this paper describes the coupling of the nonlinear numerical lifting-line method to Xfoil. Then, the results of the newly designed aerodynamic analysis tool are compared with the results of the solver based on the nonlinear lifting-line theory (LLT) implemented into XLFR5 and the transition (γ − Reθ) shear stress transport (SST) model implemented into ANSYS-Fluent. After that, three different optimization problems in which maximization is the objective function are constructed. The optimization problems are defined by adding new functional constraints that are the wing root bending moment (Mb), the wing weight (Ww), the wing planform area (S), the level flight condition and power available (PA) at the maximum speed (Vmax), and the level flight condition at the stall speed (Vstall) of the baseline unmanned air vehicle (UAV). The change of the objective function, the constraints, the wing planform, and the airfoil shapes is discussed. This study differs from the studies in the literature because the performance of the UAV at both Vmax and Vstall conditions at the level flight is taken into account with the functional constraints in the optimization problems that are discussed below.
2.1. The Nonlinear Numerical Lifting-Line Theory

As a result, Xfoil and the numerical nonlinear lifting-line method are coupled and the aerodynamic analysis tool is obtained.
2.2. XFLR5 LLT and ANSYS-Fluent γ − Reθ SST Model
The XFLR5 LLT and ANSYS-Fluent γ − Reθ SST model are introduced in this section. XFLR5 is an analysis tool for airfoils and wings. There are four different solvers based on the solution of the inviscid potential flow implemented into it. These are the solvers based on the horseshoe vortex lattice method, the ring vortex lattice method, the 3-D panel method, and the nonlinear lifting-line theory. They were used to calculate the drag polar of the different wings [18–20].
The solver based on nonlinear lifting-line theory calculates the CL and CDw results by taking the drag polar data of the airfoil form Xfoil that is also implemented into XFLR5. The results are obtained by using the default values defined from the solver except for the iteration number. It is set to 1000.
Another computational fluid dynamics (CFD) tool, ANSYS-Fluent, which solves the problems according to the finite volume method, is used to compare the CL and CDw results obtained by the aerodynamic analysis tool.
Langtry and Menter developed a new correlation-based transition model to simulate laminar to turbulent transition [21]. The model is essentially based on two transport equations. One equation is for a transition onset criterion and the other is for intermittency. To validate this model, they gave examples of the cases which they studied such as 2-D three-element flap, 2-D airfoil, and a transonic wing. They stated that the transitional CFD simulation was in very good agreement with the experimental results. Aftab et al. compared the following turbulence models for the flow over the NACA4415 airfoil for Re of 120000 with the experimental results: Spalart-Allmaras, K − ω SST, intermittency SST, k − kl − ω, and γ − Reθ SST [22]. According to the results, only the γ − Reθ SST provided reliable results for low and high α values. Lanzafame et al. developed a horizontal axis wind turbine 3-D CFD model to predict wind turbine performance [23]. They compared K − ω SST and γ − Reθ SST with experimental data. According to the result, γ − Reθ SST captured the trend of the aerodynamic coefficients whereas K − ω SST overpredicted Cl values and underpredicted Cd values.
According to these studies in the literature, the computations are performed with γ − Reθ SST in this study. The numerical studies are carried out according to the pressure-based method. There are some specific criteria that determine the accuracy of the results obtained with ANSYS-Fluent. The first is to determine the size of the boundary region where flow analysis is intended. For this study, the size of the boundary is formed approximately 30 times larger than the maximum wing thickness and wing chord length as shown in Figure 2 [24, 25]. Since the control volumes are 3-D, the volumetric adaptation of the inflation layers and the prism cells are used. The dimensionless distance to the wall (y+) is selected as 1 [26]. Thereby, first-layer height is calculated as 0.015 mm for the selected y+. The growth rate and the number of inflation layers are selected as 1.1 and 61, respectively. These selections create a mesh with 2569785 elements and with a maximum skewness value of 0.95 as shown in Figure 3. The turbulence intensity is selected as 1%. For the convergence criterion, the continuity equation is evaluated as 2 · 10−4 for 0° α. In order to provide convergence, approximately 1600 iterations are performed. The convergence criterion for high α values increases up to 10 times. Therefore, the results are accepted as accurate in these calculations when fluctuations in CL and CDw lie within the range of ±0.001.


2.3. Comparison of the Aerodynamic Analysis Tool with ANSYS-Fluent
The comparison of the aerodynamic analysis tool with XFLR5 6.47 LLT and the ANSYS-Fluent 16.2 γ − Reθ SST model is made in this part of the paper. The flow solutions of the aerodynamic analysis tool are obtained on a 2.4 GHz Intel Core i7, 8 GB MacBook Pro. The computation of ANSYS-Fluent is performed on 2 processors of 2.4 GHz Intel Xeon E5, 32 GB HP Z820.
The interface is modified so that Cl and Cd values are obtained for the airfoils at each station by parallel processing. When Xfoil fails to converge, the initial panel number, which is 200, is altered between 194 and 206. NACA 4412 airfoil with closed trading edge is used as the candidate airfoil. Equations (18) and (19) are used for the half thickness (zt) and the camber generation (zc), respectively. In these equations, t is the maximum thickness in hundredths of the chord, p is the maximum camber location in tenths of the chord, and m is the maximum camber in hundredths of the chord. x coordinates are generated by the cosine distribution.
cr, ct, and b are 0.45 m, 0.45 m, and 4 m, respectively. ρ∞ is 1.225 kg/m3. The dynamic viscosity (μ∞) is 1.7974 · 10−5 Ns/m2 and V∞ is 22 m/s. In Xfoil, the default critical n value of the en transition prediction method is nine. This value is changed as 2.62, because it corresponds to the selected turbulent intensity in the ANSYS-Fluent analysis.
In Figure 4, the CL results for the different panel station numbers and the results of ANSYS-Fluent and XFLR5 are shown. According to the results in Figure 4, ANSYS-Fluent calculates the least CL at the same α. CL values of N = 21, N = 31, and N = 41 cases overlap. The results show slight difference with the results of XFLR5 LLT and capture the trend line of ANSYS-Fluent up to the stall α. CDw values of ANSYS-Fluent are almost identical to N = 11 case values when α is between 0° and 10° as depicted in Figure 5. But as α gets close to 15°, the ANSYS-Fluent, N = 31 case, and N = 41 case yield similar CDw. After 15°, ANSYS-Fluent results start to diverge from the results of the aerodynamic tool. In order to investigate the situation in detail, the flow field around the wing for 10° and 18° α values is presented in Figures 6–9.






In the aerodynamic analysis tool, the transition region can be determined by finding the region at which a sudden increase in the x-wall shear stress is observed. The turbulent region is the region at which the x-wall shear stress values get closer to zero. Contrary to this, the transition region and the turbulent separation region are identified when x-wall shear stress is less than zero in the results of ANSYS-Fluent [28].
According to the results for 10°, apart from the slight difference around the leading edge, pressure contours are almost identical for both solvers as shown in Figure 6. The transition prediction by the aerodynamic solver is understood from the color change from green to yellow in Figure 7. ANSYS-Fluent captures the transition location almost at the same position as the aerodynamic analysis tool does that is shown by a color change from green to blue. Both solvers capture the separation around the trailing edge. When the results for 18° are discussed, one can easily see the difference between the pressure contours especially on the aft of the wing as depicted in Figure 8. As is shown in Figure 9, both solvers predict the transition region almost at the same location. ANSYS-Fluent predicts the turbulent separation ahead. But it is very close to the turbulent separation location of the aerodynamic analysis tool.
Since N = 31 and N = 41 cases capture the CDw values of ANSYS-Fluent at high α values, they are selected as the candidate station numbers.
In order to select the optimum N, D, and ε values, the total solution time (ttot) to obtain drag polar results between the α values of -6° and 20° is compared for the different N, D, and ε values in Table 1. The maximum deviations in CL(∆CL) and CDw(∆CDw) are obtained with respect to the results when the N, D, and ε values are equal to 41, 0.05, and 0.01, respectively. According to the results, choosing the N value as 31 saves the computation time approximately by 38% at the same D and ε values when it is compared with the result of N = 41.
N | D | ε | ∆CL (%) |
∆CDw (%) |
ttot (s) |
---|---|---|---|---|---|
41 | 0.05 | 0.01 | 0 | 0 | 3007.7 |
31 | 0.05 | 0.01 | 0.4 | 1.1 | 2532.9 |
31 | 0.1 | 0.01 | 0.4 | 1.1 | 1096.2 |
31 | 0.2 | 0.01 | 0.4 | 1.1 | 519.3 |
31 | 0.2 | 0.05 | 5.9 | 1.1 | 418.5 |
31 | 0.2 | 0.1 | 11.2 | 1.0 | 414.3 |
31 | 0.2 | 0.2 | 15.2 | 0.9 | 347.6 |
Increasing D decreases the computation time by 86.9% without boosting ∆CL and ∆CDw. When D is selected as 0.4 and above, the convergence problem is observed at the high α values. Contrary to this, increasing ε yields drastic increase in ∆CL especially at the negative α and the high α values. Apart from this region, ∆CL is around 1% at the low α and moderate α values. In light of this information, N, D, and ε values are selected as 31, 0.2, and 0.01, respectively. ttot of ANSYS- Fluent results is approximately 120 hours.
2.4. Optimization Solver
In this part, the advantages of the selected optimization solver and its use are discussed. Vanderplaats compared different optimization methods by using a structural optimization problem [29]. In the problem, the objective function was the minimization of the structural volume of a cantilevered beam that was fixed at the right end and had a vertical load applied at the free left end. The cantilevered beam had five segments and thicknesses, and heights of the segments were the design variables. In the study, the allowable bending stress at the right end of each segment was defined as the constraints. In addition to this, the allowable left end deflection was also defined as the constraint. The ratio of the height to the thickness of each segment was limited by using constraints. In summary, the identified optimization problem had 10 design variables and 11 constraints. Genetic search, sequential linear programming, method of feasible directions, generalized reduced gradient method, modified feasible directions method, and sequential quadratic programming (SQP) were compared in the study. The first method is an evolutionary optimization method whereas the others are the gradient-based optimization methods. The optimum results obtained by the methods were very close to each other. The genetic search method obtained the optimum result after 106 function evaluations. Among the gradient-based optimization methods, SQP had the least number of iterations and the least number of gradient evaluations. The total number of function call is 125 for the SQP analysis. As discussed above, the main advantage of SQP is that it does not attempt to satisfy constraints at each iteration that results in less number of function calls [30]. Therefore, the SQP algorithm is used as given in the MATLAB optimization toolbox for the solution of the optimization problems that are discussed below.
The procedure for the optimization process is represented in Figure 10.

The design variable array is used to calculate the objective function and the constraints for the current step. For this case, the aerodynamic design tool is called in parallel computations and the threads are used to calculate Cl and Cd values for the airfoils at each station. After that, the design variable array is perturbed by an increment array that is 1% of each design variable array element. Parallel computing is applied for the calculation of the objective function and the constraints by using perturbed design variable array elements. The aerodynamic design tool runs in serial for this case. The forward difference method is used for the calculation of the gradient of the objective function and Jacobian matrix of the constraints.
The process stops if the change of the design variable array (TolX) or the change in the objective function (TolFun) is less than 10−3. The violation of the constraints (TolCon) is limited to 10−2.
2.5. The Characteristics of the Baseline UAV
As seen in the above equations, Ww and nmax are implicit. The secant method is applied to find Ww.
The geometric parameters of the wing of the baseline UAV are shown in Table 2.
Airfoil | NACA 4412 |
---|---|
cr | 0.45 m |
ct | 0.45 m |
b | 4 |
Sb | 1.8 m2 |
The wing of the baseline UAV is a rectangular and unswept wing. The airfoil profile is constant along the span. Table 3 depicts the performance parameters of the baseline UAV.
14.08 | |
---|---|
α at | 8° |
V at | 15.52 m/s |
Mb at | 127.46 Nm |
Ww | 24.06 N |
Vmax | 39.45 m/s |
α at Vmax | -2.32° |
Vstall | 13.25 |
α at Vstall | 18° |
It has a maximum ratio of 14.08 when α is 8° and speed is 15.52 m/s. Mb is 127.46 Nm for this flight condition. Ww is 24.06 N. Vmax is 39.45 m/s when α is -2.32° and Vstall is 13.25 m/s when α is 18°.
3. Results
First of all, the details of the optimization problems are discussed in this section. Afterward, their results are analyzed.
3.1. The Optimization Problems
Equations (34) and (35) constrain the root bending moment at the maximum condition and the wing weight in the second optimization problem. In addition to these, equation (36) sets the minimum planform area as 1.8 m2.
In the third optimization problem, the level flight condition for the V2 and α2 values are defined in equation (37). This corresponds to the level flight of the baseline UAV with Vmax. V2 has a lower limit of 39.45 m/s so that the optimized UAV shall have an equal or greater Vmax than the baseline UAV. In addition to this, PR at V2 and α2 is constrained with PA of the UAV in equation (39). Equation (41) describes the level flight of the baseline UAV with Vstall. In the same manner, the upper limit of V3 is set as 13.25 m/s. The baseline UAV is the initial starting point for all optimization problems. The objective function, the constraints, the design variables, and their upper and lower limits are scaled with their initial values. In summary, the first optimization problem has eight design variables and one equality constraint. The second optimization problem has eight design variables and one equality and three inequality constraints. Finally, the third optimization problem has 12 design variables and three equality and four inequality constraints.
3.2. Comparison of the Optimization Problem Solutions
According to the results, the highest maximum is obtained for the first optimization problem when α1 is 5.56° and V1 is 11.97 m/s as depicted in Table 4. This corresponds to the neck in the CL − α curve in Figure 11. Contrary to this, Mb at maximum nearly doubles and the increment in Ww is about 55%. According to the results in Figure 12, Vmax of the first optimization problem is 34.2 m/s that is nearly 5 m/s less than the Vmax of the baseline UAV. Vstall of the first optimization problem is 11.33 m/s that is almost the same as its V1. The main reason for this situation is CL of the maximum is very close to the maximum lift coefficient . When the airfoil shape and the wing planform details in Table 5 and Figures 13 and 14 are investigated, it is seen that the airfoil of the first optimization problem reaches the lower limit of the thickness and the upper limit of the camber. ct and b are set to the lower limit and upper limit, respectively. cr is decreased from 0.45 m to 0.386 m that alters the taper ratio (λ) from 1 to 0.52.
Baseline UAV | Case 1 | Case 2 | Case 3 | |
---|---|---|---|---|
|
14.08 | 30.79 | 18.95 | 18.21 |
(°) | 8 | 5.56 | 5.69 | 6.44 |
(m/s) | 15.52 | 11.97 | 13.41 | 14.41 |
(Nm) | 127.46 | 249.4 | 127.3 | 127.4 |
Ww (N) | 24.06 | 37.64 | 19.41 | 21.8 |
V2 (m/s) | 39.45 | 39.45 | ||
α2 at V2 (°) | -2.32 | -5.3 | ||
V3 (m/s) | 13.25 | 12.58 | ||
α3 at V3 (°) | 18 | 17.86 |


Baseline UAV | Case 1 | Case 2 | Case 3 | |
---|---|---|---|---|
t | 0.12 | 0.08 | 0.08 | 0.092 |
p | 0.4 | 0.524 | 0.566 | 0.494 |
m | 0.04 | 0.08 | 0.08 | 0.063 |
cr (m) | 0.45 | 0.386 | 0.586 | 0.596 |
ct (m) | 0.45 | 0.2 | 0.2 | 0.2 |
b (m) | 4 | 8 | 4.578 | 4.524 |
S (m2) | 1.8 | 2.34 | 1.8 | 1.8 |


The airfoil shape of the second optimization problem is almost identical to the airfoil shape of the first optimization problem. Contrary to this, cr and b have significant change due to the addition of the functional constraints related with Mb at the maximum and S. Mb reaches its upper limit whereas S is at its lower limit. But Ww is distant from its bound. As a result, the increment at the maximum is decreased from 220% to 34.6%. Vmax of the second optimization problem is 37.2 m/s according to the PR − V curve in Figure 12 whereas the Vstall is 12.3 m/s. Since S is decreased from 2.34 m2 to 1.8 m2, the increase in Vstall is observed.
The wing planform shape of the third optimization problem is almost the same as the wing planform shape of the second optimization problem. As clearly seen in the results, the functional constraints related with Mb at the maximum and S are the key reason for the similar outcomes from the different optimization problems. They reach their limits whenever they are defined as the functional constraints. Vmax of the third optimization problem is identical to V2 of the same problem according to Table 4 and Figure 12. This implies that the third optimization problem barely has the same Vmax of the baseline UAV. The airfoil of the third optimization problem is thicker and less cambered when it is compared with the airfoil of the second optimization problem. This change is caused by the addition of the level flight performance analysis at the V2 speed. Vstall of the third optimization problem is approximately 0.7 m/s less than Vstall of the baseline UAV. According to this result, it can be said that defining a functional constraint related with Vstall in maximization problems has no significant contribution, because all optimized wings satisfy the level flight condition at a speed less than Vstall of the baseline UAV.
Table 6 depicts the number of iterations (I), the number of the function count (fc), and the elapsed solution time (te) of the optimization problems. According to the result, the third optimization problem has the longest solution time because the aerodynamic design tool is called three times at each function count due to the analysis of three different level flight phases. te of the third problem is 6.64 hours. If ANSYS-Fluent was used as a function evaluator in the third optimization problem, te would be around 500 hours. This comparison shows the cost and time effectiveness of the aerodynamic analysis tool.
Case 1 | Case 2 | Case 3 | |
---|---|---|---|
I | 13 | 18 | 12 |
fc | 32 | 26 | 38 |
te (s) | 8520 | 10505 | 23896 |
The evaluation of the design variables and the objective function with the iteration number for the optimization problems are presented in Figures 15, 16, and 17.



4. Conclusion
- (1)
Defining the functional constraint related to the stall speed performance of the UAV in maximization problems has no effect because all optimized UAVs have less stall speed than the baseline UAV. Moreover, the stall speed analysis increases the solution time
- (2)
When the bending moment at the root, the wing weight, and the wing planform are limited at the same time, the bending moment reaches its upper limit whereas the wing area is at its lower limit. Contrary to this, the wing weight is distant from its upper limit. That means the bending moment at the root and the planform area constraints form the planform shape. But their effect on the airfoil shape change is insignificant
- (3)
Limiting the maximum speed of the UAV yields thicker and less cambered airfoil
In summary, defining the constraints related to the bending moment at the root, the wing area, and the maximum speed of the UAV ensures the evaluation of the outcomes of the optimization problems to the more down-to-earth design results.
Conflicts of Interest
The authors declare that there is no conflict of interest regarding the publication of this paper.
Open Research
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.