Wing shape optimization: Difference between revisions

From Cornell University Computational Optimization Open Textbook - Optimization Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
== '''Numerical example''' ==
== '''Numerical example''' ==
We discuss a numerical example of wing shape optimization using a modern cutting approach comprising of computational fluid dynamics (CFD), a gradient based optimizer, and adjoint method to compute the necessary gradients for efficient airflow from the MDO Lab under PI Joaquim R. R. A. Martins at the University of Michigan. <ref name=":2">Robust aerodynamic shape optimization—from a circle to an airfoil.  X. He, J. Li, C. A. Mader, A. Yildirim, and J. R. R. A. Martins.  Aerospace Science and Technology, 8748–61, 2019.  doi:10.1016/j.ast.2019.01.051</ref>
We discuss a numerical example of wing shape optimization using a modern cutting approach comprising of computational fluid dynamics (CFD), a gradient based optimizer, and adjoint method to compute the necessary gradients for efficient airflow from the MDO Lab under PI Joaquim R. R. A. Martins at the University of Michigan. <ref name=":2">Robust aerodynamic shape optimization—from a circle to an airfoil.  X. He, J. Li, C. A. Mader, A. Yildirim, and J. R. R. A. Martins.  Aerospace Science and Technology, 8748–61, 2019.  doi:10.1016/j.ast.2019.01.051</ref>
=== Problem Formulation ===
=== Problem Formulation ===
As the objective of this problem statement is to minimize the drag, <math>C_d</math>, of an RAE 2822 airflow in transonic, turbulent flow, this may be solved under the following design variables.  <math>C_m</math> and <math>C_l</math> refer to the moment and lift coefficient.  The lift coefficient is constrained to  <math>C_l = 0.824</math>, and the moment coefficient about the quarter chord must be higher than <math>C_m=-0.092</math>. The airfoil area must be no less than the initial area. <ref>Lyu, Z., Kenway, G.K., & Martins, J.R. (2015). Aerodynamic Shape Optimization Investigations of the Common Research Model Wing Benchmark. AIAA Journal, 53, 968-985.</ref>  The area, <math>A</math>, of airflow is constrained from exceeding the area of the baseline airflow <math>A_{initial}</math>.  The mesh was also determined to have 32,768 cells.
As the objective of this problem statement is to minimize the drag, <math>C_d</math>, of an RAE 2822 airflow in transonic, turbulent flow, this may be solved under the following design variables.  <math>C_m</math> and <math>C_l</math> refer to the moment and lift coefficient.  The lift coefficient is constrained to  <math>C_l = 0.824</math>, and the moment coefficient about the quarter chord must be higher than <math>C_m=-0.092</math>. The airfoil area must be no less than the initial area. <ref>Lyu, Z., Kenway, G.K., & Martins, J.R. (2015). Aerodynamic Shape Optimization Investigations of the Common Research Model Wing Benchmark. AIAA Journal, 53, 968-985.</ref>  The area, <math>A</math>, of airflow is constrained from exceeding the area of the baseline airflow <math>A_{initial}</math>.  The mesh was also determined to have 32,768 cells.


[[File:Table.png|thumb|center|ADODG RAE 2822 case problem statement.  Table taken from <ref name=":2" />.]]
[[File:Table.png|thumb|center|ADODG RAE 2822 case problem statement.  Table taken from <ref name=":2" />.]]
=== Methodology and Optimization Formulation ===
<ref name=":2" /> introduces an original adaptive parameterization and discusses their mesh deformation, CFD solver, and numerical optimization.  They used a free-foam deformation (FFD) method for its versatility in compute local and global changes capable of handling and starting with any baseline geometry.  The paper utilizes two approaches for mesh deformation: the first using the pyWrap package is able to handle small changes and the second using the IDWarp package is able to handle large shape deformations across tightly-spaced points.  The CFD solver used is ADflow, which includes a discrete adjoint method that can efficiently compute the derivatives of objective and constraint functions with respect to the many design variables. <ref name=":2" />  For numerical optimization, Sparse Nonlinear OPTimizer (SNOPT) was used as its sequential quadratic programming (SQP) approach allows it to approximate the Hessian matrix using a quasi-Newton method.  A mesh convergence test is performed to ensure the results of analysis are not influenced by changes in the size of the mesh. <ref>P. E. Gill, W. Murray, M. A. Saunders, SNOPT: An SQP algorithm for large-scale constrained optimization, SIAM Journal of Optimization 12 (2002) 979–1006.</ref>
=== Results ===
As seen in the video below, the algorithm starts from a circle and uses their shape optimization techniques to automatically get the modern supercritical airfoil. This solution represents the result of three optimization problems: 1. Drag minimization for a low air speed. 2. Adding a lift constraint, and 3. Changes of speed to high speed. <ref name=":2" />
In this RAE 2822 case, they managed to obtain a reduction of 88.66 drag counts, which is comparable to the drag reductions reported in published literature while also showing less scatter.  As the RAE 2822 case problem can expose issues related to gradient accuracy and flow solver failure due to separation interaction, the authors believe the use of the turbulence model in the adjoint-based gradient computation is necessary for obtaining well-converged optimization results.  A unique challenge taken on by this paper is obtaining their optimal airflow starting from a circle.  This challenge is taken to demonstrate their approach to converge to the optimal airflow starting from a “blank slate.”  By obtaining this result, the paper shows the robustness in their numerical methods and effectiveness of using adaptive FFD parameterization.  They also discovered that their FFD method results in a monotonic decrease in the minimum drag as the number of design variables increases, which shows scalability. <ref name=":2" />[[File:From a circle to an airfoil via aerodynamic design optimizationfin.png|thumb|Visualization from a circle to an airfoil via methods from. <ref name=":2" />  The first shape resembles a circle.  Video source from MDO Lab. <ref>MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: <nowiki>https://youtu.be/FHYTBguMfWc</nowiki>, Accessed on: Nov. 25, 2017.</ref>|alt=|left]]
[[File:Frame 134 delay-0.1s.gif|thumb|Visualization from a circle to an airfoil via methods from. <ref name=":2" />  The final shape resembles RAE2822.  Video source from MDO Lab. <ref>MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: <nowiki>https://youtu.be/FHYTBguMfWc</nowiki>, Accessed on: Nov. 25, 2017.</ref>]]




=== Methodology and Optimization Formulation ===
<ref name=":2" /> introduces an original adaptive parameterization and discusses their mesh deformation, CFD solver, and numerical optimization.  They used a free-foam deformation (FFD) method for its versatility in compute local and global changes capable of handling and starting with any baseline geometry.  The paper utilizes two approaches for mesh deformation: the first using the pyWrap package is able to handle small changes and the second using the IDWarp package is able to handle large shape deformations across tightly-spaced points.  The CFD solver used is ADflow, which includes a discrete adjoint method that can efficiently compute the derivatives of objective and constraint functions with respect to the many design variables. <ref name=":2" />  For numerical optimization, Sparse Nonlinear OPTimizer (SNOPT) was used as its sequential quadratic programming (SQP) approach allows it to approximate the Hessian matrix using a quasi-Newton method.  A mesh convergence test is performed to ensure the results of analysis are not influenced by changes in the size of the mesh. <ref>P. E. Gill, W. Murray, M. A. Saunders, SNOPT: An SQP algorithm for large-scale constrained optimization, SIAM Journal of Optimization 12 (2002) 979–1006.</ref>
 




=== Results ===
As seen in the video below, the algorithm starts from a circle and uses their shape optimization techniques to automatically get the modern supercritical airfoil. This solution represents the result of three optimization problems: 1. Drag minimization for a low air speed. 2. Adding a lift constraint, and 3. Changes of speed to high speed. <ref name=":2" />


In this RAE 2822 case, they managed to obtain a reduction of 88.66 drag counts, which is comparable to the drag reductions reported in published literature while also showing less scatter.  As the RAE 2822 case problem can expose issues related to gradient accuracy and flow solver failure due to separation interaction, the authors believe the use of the turbulence model in the adjoint-based gradient computation is necessary for obtaining well-converged optimization results.  A unique challenge taken on by this paper is obtaining their optimal airflow starting from a circle.  This challenge is taken to demonstrate their approach to converge to the optimal airflow starting from a “blank slate.”  By obtaining this result, the paper shows the robustness in their numerical methods and effectiveness of using adaptive FFD parameterization.  They also discovered that their FFD method results in a monotonic decrease in the minimum drag as the number of design variables increases, which shows scalability. <ref name=":2" />




[[File:From a circle to an airfoil via aerodynamic design optimizationfin.png|thumb|Visualization from a circle to an airfoil via methods from. <ref name=":2" />  The first shape resembles a circle.  Video source from MDO Lab. <ref>MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: <nowiki>https://youtu.be/FHYTBguMfWc</nowiki>, Accessed on: Nov. 25, 2017.</ref>]]


[[File:Frame 134 delay-0.1s.gif|thumb|Visualization from a circle to an airfoil via methods from. <ref name=":2" />  The final shape resembles RAE2822.  Video source from MDO Lab. <ref>MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: <nowiki>https://youtu.be/FHYTBguMfWc</nowiki>, Accessed on: Nov. 25, 2017.</ref>]]





Revision as of 00:43, 29 November 2021

Authors: Santiago Correa (sc2355), Jeet Dhoriyani, Joshua Krsek (jpk254), Aayush Singh, Jeremy Wang (jw2363) (SYSEN/CHEME 6800 Fall 2021)

Introduction

The aerodynamic performance of a given body is maximized using an aerodynamic shape optimization method. This process can be thought of as minimizing the cost of total fuel consumption and maximizing the total lift of an aircraft by a method known as Wing Shape optimization. The aerodynamic performance is evaluated using software packages like computational fluid dynamics and the optimization can be done using a number of algorithms like Adjoint Method, Direct Sensitivity Analysis and Finite Differences. The wing shape problem is an application under the aerodynamic shape optimization method. An Adjoint method also known as gradient-based method is often used for shape optimization which is capable of computing objective function sensitivities based on the design parameters and variables of the shape under investigation. Methods like Direct Sensitivity Analysis and Finite Differences underperforms when compared to the Adjoint-Method when it comes to the aerodynamic shape optimization There are two different forms of Adjoint-Method namely, the continuous and discrete one. The discrete formulation is used for the purpose of explanation in this wiki.The Discrete-Adjoint Method used for the aerodynamic optimization aims at computing the gradient of the objective function F with respect to the design variable. The Adjoint-Method uses a computational fluid dynamics software package for the optimization method as the computation can get complicated. A numerical example and its explanation is provided later in this wiki-page.

Theory, methodology, and/or algorithmic discussions

To perform wing shape optimization, two tools must be utilized simultaneously – a differential equation solver used to solve the parameters of the fluid flow (often a computational fluid dynamics (CFD) package) and an optimization method that adjusts the wing shape parameters to achieve an optimum of a specific quantity.

Shape parameterization

There are numerous commercial and open-source CFD programs capable of resolving air flow around an airplane wing. The new methods introduced when discussing wing shape optimization, or shape optimization in general, are the optimization methods that modify the shape to achieve a desired minimum or maximum quantity subject to specified constraints. In order to modify the shape of the airfoil or overall wing, the original shape must be defined mathematically in a way that allows it to be update within an optimization loop.

One method is to discretize the airfoil shape in to points defined by x and y coordinates, which become the design parameters updated each optimization iteration. This method allows for nearly any shape to be formed because the points can move in any direction. However, this can sometimes result in sharp corner in the airfoil which are difficult to resolve by the flow solver. Furthermore, storing a high-resolution shape, meaning a large number of points, is computationally expensive.[1]

Another shape parametrization method is to define the airfoil using two polynomials, one for the top surface, one for the bottom. For this method, the degree n of the polynomial is determined by defining the initial airfoil shape. The design parameters are the weights in front of each term.[1]

Example spline for mesh movement from airfoil surface to domain boundary. Image taken from Schramm et al.[2]

Mesh moving

When the shape of the airfoil changes with each optimization iteration, the mesh defining the flow domain around the airfoil must adjust according. Two methods are typically used to update the mesh.

For large changes in shape, the entire flow domain can be re-meshed for the new shape present using a variety of mesh techniques. This is quite computationally expensive, especially for large or high-resolution domains.

The other method is to simply move cells to account for the change in shape. To prevent potential overlapping of cells from this movement, splines are often defined from the surface of the shape to the boundary of the domain which the cells move.[3]

Optimization

Multiple optimization techniques are used update the design parameters and achieve the minimum or maximum specified quantity, such as the adjoint method, direct sensitivity analysis and finite difference.

The adjoint method is the most common method due to its computational independence from the number of design variables. The adjoint method initially solves for the flow parameters in the flow domain. However, after these parameters are initially solved, they do not need to be recomputed because the adjoint gradient which updates the design parameters is independent of the flow parameters. This is unique to the adjoint method is why it is commonly used instead of the computationally intensive finite difference method.[3]

Numerical example

We discuss a numerical example of wing shape optimization using a modern cutting approach comprising of computational fluid dynamics (CFD), a gradient based optimizer, and adjoint method to compute the necessary gradients for efficient airflow from the MDO Lab under PI Joaquim R. R. A. Martins at the University of Michigan. [4]

Problem Formulation

As the objective of this problem statement is to minimize the drag, , of an RAE 2822 airflow in transonic, turbulent flow, this may be solved under the following design variables. and refer to the moment and lift coefficient. The lift coefficient is constrained to , and the moment coefficient about the quarter chord must be higher than . The airfoil area must be no less than the initial area. [5] The area, , of airflow is constrained from exceeding the area of the baseline airflow . The mesh was also determined to have 32,768 cells.

ADODG RAE 2822 case problem statement. Table taken from [4].

Methodology and Optimization Formulation

[4] introduces an original adaptive parameterization and discusses their mesh deformation, CFD solver, and numerical optimization. They used a free-foam deformation (FFD) method for its versatility in compute local and global changes capable of handling and starting with any baseline geometry. The paper utilizes two approaches for mesh deformation: the first using the pyWrap package is able to handle small changes and the second using the IDWarp package is able to handle large shape deformations across tightly-spaced points. The CFD solver used is ADflow, which includes a discrete adjoint method that can efficiently compute the derivatives of objective and constraint functions with respect to the many design variables. [4] For numerical optimization, Sparse Nonlinear OPTimizer (SNOPT) was used as its sequential quadratic programming (SQP) approach allows it to approximate the Hessian matrix using a quasi-Newton method. A mesh convergence test is performed to ensure the results of analysis are not influenced by changes in the size of the mesh. [6]

Results

As seen in the video below, the algorithm starts from a circle and uses their shape optimization techniques to automatically get the modern supercritical airfoil. This solution represents the result of three optimization problems: 1. Drag minimization for a low air speed. 2. Adding a lift constraint, and 3. Changes of speed to high speed. [4]

In this RAE 2822 case, they managed to obtain a reduction of 88.66 drag counts, which is comparable to the drag reductions reported in published literature while also showing less scatter. As the RAE 2822 case problem can expose issues related to gradient accuracy and flow solver failure due to separation interaction, the authors believe the use of the turbulence model in the adjoint-based gradient computation is necessary for obtaining well-converged optimization results. A unique challenge taken on by this paper is obtaining their optimal airflow starting from a circle. This challenge is taken to demonstrate their approach to converge to the optimal airflow starting from a “blank slate.” By obtaining this result, the paper shows the robustness in their numerical methods and effectiveness of using adaptive FFD parameterization. They also discovered that their FFD method results in a monotonic decrease in the minimum drag as the number of design variables increases, which shows scalability. [4]

Visualization from a circle to an airfoil via methods from. [4] The first shape resembles a circle. Video source from MDO Lab. [7]
Visualization from a circle to an airfoil via methods from. [4] The final shape resembles RAE2822. Video source from MDO Lab. [8]






Applications

Aircraft Wing Shape Optimization for Wing Mounted Models

Air Craft wing shape optimization using CFD Mesh. Base line case vs Optimized model [9]

Wing-mounted configuration is very common in modern civil aircraft because of many advantages. For example, the wings structure is unloaded by the engine’s weight in flights, and the passenger cabin gets a low noise level. Furthermore, this configuration also contributes to the easy maintenance and replacement of the power systems. For Given Wing shape the Gradient-based optimization system is commonly used. The CFD mesh and FFD block is generated, and they are passed to the optimizer to define the aerodynamic optimization problem, such as drag minimization with respect to lift. The discrete-Adjoin Method is chosen to fulfill the complex aerodynamic optimization. problems. After the optimization problem is defined, the design variables vector is determined by the optimizer and passed to the shape parameterization module to produce a new surface mesh. [10]

Blended wing body optimization for Unmanned Aerial Vehicle (UAV)

BWB geometric modification during efficient aerodynamic shape optimization using multi-fidelity models.[11]

In recent years, in order to reduce fuel consumption and improve performance, the optimization of UAV shapes has been the main focus of the competitive aerospace market. The development of Blended Wing Body (BWB) design is such an effort. In addition to the elimination of the tail for this particular kind of UAV and the significant reduction in equivalent weight, drag force, and radar cross-section, the available space for installing equipment inside the wing and the effective range have also been increased. [12]

Drone Propeller Topology Optimization

The propeller is a type of fan that converts mechanical energy into thrust power by accelerating the propulsive fluid. A drone propeller optimized the geometry to achieve greater efficiency and therefore longer life of multirotor adopts these propellers. Optimized Propeller designs also help in saving the battery life of Electric Drones.[13]

Wind Turbine Blade Optimization

An aerodynamically efficient blade is the prime necessity to extract maximum power from a wind turbine. With the increasing size of the wind turbine blade, the blades are now basically made of composite materials. In the research on the structure of wind turbine blades, the study of structural testing and simulation of the wind turbine blade. The overall goal is to reduce the cost price of the produced power, and as long a size increase results in lowering the cost price, the trend will continue. However, another way of capturing more wind energy is to improve the aerodynamic efficiency of the energy conversion, such as maximizing the power coefficient and the energy yield of wind turbines. [14]


Conclusion

With the various uses of wing-shape optimization, it is abundantly clear that this optimization method is robust enough to withstand most problems that carry real world constraints/parameters. The shape of a blade or a wing is subjected to a wide variety of dimensional and performance constraints, magnifying the need to correctly set up one’s optimization problem. These constraints then directly affect the outcome of the objective, such as optimizing aerodynamic performance through drag and lift coefficient constraining. By reducing the drag coefficient of the solution, one also reduces the amount of generated lift, expectedly lowering an aircraft in altitude[15]. Another constraint that factors into this optimization is the wing length, which can be constrained due to a physical or monetary/material constraint. As seen, certain regulatory factors have to be followed for the solution to be feasible, but there are other driving factors that are out of engineering control.

[16]


When constraining a wing turbine blade, engineers need to also factor in the length of the blade along with the strength of the building material to ensure the blade does not snap during use at any wing speed[17]. The designed blade would need to stay intact during periods of no wind to periods of strong wind due to inclement weather. This is a factor that needs to be considered when constructing the optimization algorithm, which highlights the importance of the correct problem setup. If an optimization algorithm is unable to solve the basic problem ensuring component integrity, then it is presumed the solution will fare poorly in a more complicated performance analysis/situation.

Having the correct optimization algorithm is critical to the success of the solution. If a certain constraint is missed or forgotten, the entire solution is at risk of failure due to this simple mistake. This is one of the small number drawbacks to wing-shape optimization, the real world implication of the solution and ensuring its high performance during prototyping and testing. Nevertheless, wing shape optimization through Adjoint Method, Direct Sensitivity Analysis or Finite Differences is a versatile solution methodology as all factors can be coded as constraints and the solution will fulfill the objective of the project. The solution also satisfies all real world factors that have been coded to ensure the most optimized feasible solution.

References

  1. 1.0 1.1 Silisteanu, Paul & Botez, Ruxandra. (2012). Two-dimensional airfoil shape optimization for airfoils at low speeds. AIAA Modeling and Simulation Technologies Conference 2012. 10.2514/6.2012-4790.
  2. Schramm, Matthias & Stoevesandt, Bernhard & Peinke, Joachim. (2018). Optimization of Airfoils Using the Adjoint Approach and the Influence of Adjoint Turbulent Viscosity. Computation. 6. 5. 10.3390/computation6010005.
  3. 3.0 3.1 Schramm, Matthias & Stoevesandt, Bernhard & Peinke, Joachim. (2018). Optimization of Airfoils Using the Adjoint Approach and the Influence of Adjoint Turbulent Viscosity. Computation. 6. 5. 10.3390/computation6010005.
  4. 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Robust aerodynamic shape optimization—from a circle to an airfoil.  X. He, J. Li, C. A. Mader, A. Yildirim, and J. R. R. A. Martins.  Aerospace Science and Technology, 8748–61, 2019.  doi:10.1016/j.ast.2019.01.051
  5. Lyu, Z., Kenway, G.K., & Martins, J.R. (2015). Aerodynamic Shape Optimization Investigations of the Common Research Model Wing Benchmark. AIAA Journal, 53, 968-985.
  6. P. E. Gill, W. Murray, M. A. Saunders, SNOPT: An SQP algorithm for large-scale constrained optimization, SIAM Journal of Optimization 12 (2002) 979–1006.
  7. MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: https://youtu.be/FHYTBguMfWc, Accessed on: Nov. 25, 2017.
  8. MDO Lab, “From a circle to an airfoil via aerodynamic design optimization.” YouTube, Aug. 28, 2017. [Video recording]. Available: https://youtu.be/FHYTBguMfWc, Accessed on: Nov. 25, 2017.
  9. Lei, Ruiwu, Junqiang Bai, and Danyang Xu. "Aerodynamic optimization of civil aircraft with wing-mounted engine jet based on adjoint method." Aerospace Science and Technology 93 (2019): 105285.
  10. Lei, Ruiwu, Junqiang Bai, and Danyang Xu. "Aerodynamic optimization of civil aircraft with wing-mounted engine jet based on adjoint method." Aerospace Science and Technology 93 (2019): 105285.
  11. Lei, Ruiwu, Junqiang Bai, and Danyang Xu. "Aerodynamic optimization of civil aircraft with wing-mounted engine jet based on adjoint method." Aerospace Science and Technology 93 (2019): 105285.
  12. ZADEH, Parviz MOHAMMAD, and Mohsen Sayadi. "An efficient aerodynamic shape optimization of blended wing body UAV using multi-fidelity models." Chinese Journal of Aeronautics 31.6 (2018): 1165-1180.
  13. LAROCCA, Francesco, et al. "Topological optimization of a drone propeller using commercial CFD code."
  14. Song, Fangfang, Yihua Ni, and Zhiqiang Tan. "Optimization design, modeling and dynamic analysis for composite wind turbine blade." Procedia Engineering 16 (2011): 369-375.
  15. ZADEH, Parviz MOHAMMAD, and Mohsen Sayadi. "An efficient aerodynamic shape optimization of blended wing body UAV using multi-fidelity models." Chinese Journal of Aeronautics 31.6 (2018): 1165-1180.
  16. “Induced Drag Coefficient.” NASA, NASA,  https://www.grc.nasa.gov/www/k-12/airplane/induced.html.
  17. Song, Fangfang, Yihua Ni, and Zhiqiang Tan. "Optimization design, modeling and dynamic analysis for composite wind turbine blade." Procedia Engineering 16 (2011): 369-375.