Wing shape optimization: Difference between revisions

From Cornell University Computational Optimization Open Textbook - Optimization Wiki
Jump to navigation Jump to search
Line 75: Line 75:




<math display="inline">\begin{array}{lcl} C_D & = & {C_L^2 \over \pi*AR*e} \\  C_D & = & Drag \ Coefficient \\  C_L & = & Lift  \ Coefficient \end{array} AR = Aspect  \ Ratio \quad e = Efficiency  \ Factor</math>
<math display="inline">\begin{array}{lcl} C_D & = & {C_L^2 \over \pi*AR*e} \\  C_D & = & Drag \ Coefficient \\  C_L & = & Lift  \ Coefficient \\  AR & = & Aspect  \ Ratio \e & = & Efficiency  \ Factor \end{array}</math>


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 [9]. 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.
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 [9]. 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.

Revision as of 21:48, 28 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]

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.[2]

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.[2]

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=":1">


Problem Formulation

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

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


Methodology and Optimization Formulation

[1] 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 [1]. 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 [3].


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 [1].

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 [1].


Visualization from a circle to an airfoil via methods from [1]. The final shape resembles RAE2822. Video source from MDO Lab [2].

Applications

[1] Aircraft Wing Shape Optimization for Wing Mounted Models

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. [7]

[2] Blended wing body optimization for Unmanned Aerial Vehicle(UAV)

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. [6]

[3] 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.[ 8]

[4] 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. [9]


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 [6]. 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.


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 [9]. 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. 2.0 2.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.