Improving Initial Aerofoil Geometry Using Aerofoil Particle Swarm Optimisation
Abstract
Advanced optimisation of the aerofoil wing of a general aircraft is the main subject of this paper. Meta-heuristic optimisation techniques, especially swarm algorithms, were used. Subsequently, a new variant denoted as aerofoil particle swarm optimisation (aPSO) was developed from the original particle swarm optimisation (PSO). A parametric model based on B-spline was used to optimise the initial aerofoil. The simulation software Xfoil was calculating basic aerodynamic features (lift, drag, moment).
Full text
MENDEL — Soft Computing Journal, Volume 28, No. 1, June 2022, Brno, Czech RepublicX ISSN: 1803-3814 (Printed), 2571-3701 (Online) https://doi.org/10.13164/mendel.2022.1.063 Improving Initial Aerofoil Geometry Using Aerofoil Particle Swarm Optimisation Jan M¨uller Institute of Automation and Computer Science, Brno University of Technology, Czech Republic [email protected] Abstract Advanced optimisation of the aerofoil wing of a general aircraft is the main subject of this paper. Meta-heuristic optimisation techniques, especially swarm algorithms, were used. Subsequently, a new variant denoted as aerofoil particle swarm optimisation (aPSO) was developed from the original particle swarm optimisation (PSO). A parametric model based on B-spline was used to optimise the initial aerofoil. The simulation software Xfoil was calculating basic aerodynamic features (lift, drag, moment). Keywords: Swarm Algorithms, Bezier-PARSEC Model, Aerofoil, Wing, Aerofoil Wing, Optimisation, Metaheuristics, Xfoil. Received: 22 December 2021 Accepted: 28 June 2022 Online: 30 June 2022 Published: 30 June 2022 1 Introduction The aim of the work is to optimise the aerofoil wing of a general aircraft. The advancement of aviation has always been linked to improved economic, environmental, and operational safety outcomes [20]. Thanks to the new algorithms of optimisations and recently developed software, previously unattainable results can now be reached. Because aviation technology represents a multidisciplinary and interdisciplinary area, the compromise between different disciplines demands is very difficult and thus requires taking into account a number of often conflicting requirements. Aerodynamics is a fundamental discipline for aviation and is closely related to the geometry of aerofoil. Aerofoil optimisation is necessary to find optimal aerofoil shape with optimal aerodynamic features [18]. To optimise the aerofoil, it is necessary to characterise the aerofoil by a few parameters denoted as parameterisation. The most important requirements for parameterisation are as follows: if possible, define the aerofoil geometry on as few parameters as possible, which affects the optimisation speed, selection of an initial aerofoil, which already has good evaluation of fitness function. The B-spline parameterisation [16] based on the control points meets the mentioned requirements. The most important features for good optimisation are the speed of convergence, maintaining diversity, and avoiding elitism. The fitness function is evaluating the division of aerodynamic lift to drag, searching for the average highest division. Original particle swarm optimisation (PSO) was modified to many optimizing liaisons (MOL) optimisation, which is base to aerofoil particle swarm optimisation (aPSO). Aerofoil particle swarm optimisation is used to implement B-spline parameterisation for initial aerofoil optimisation. The results from the mentioned optimisation (aPSO) are compared with the results of CFD ANSYS Fluent. The aerofoil with the lowest aerodynamic drag, reached by optimisation, reduces fuel consumption during cruise mission. This has a direct impact on flight-prices and also on the environment. The highest aerodynamic lift increases the safety of aircraft during take-off and landing [7]. The fitness function is characterised by the division of aerodynamic lift to drag, keeping together high aerodynamic lift with low aerodynamic drag. Bio-inspired algorithms are known for their ability to solve complex optimisation problems. Aerofoil optimisation has been solved by several authors. Derksen and Rogalsky [3] used genetic algorithms, while Lampinen and Zelinka [9] applied differential evolution. The mentioned evolutionary algorithms were compared with swarm algorithms. Swarm algorithms achieved better results, especially many optimizing liaisons (better by tens of percent). 2 Project ATR-42-4 ATR-42-4 [5,8,6,14] was one of the first aircrafts with applied aerofoil optimisation. The part of the upper surface of the aerofoil was elastic, allowing deformation by two actuation points (Fig. 1). Figure 1: Project ATR-42-4. Genetic algorithms (GAs) were used. Each individual in the population was defined by two real values, representing the stroke of the action members. The fitness function was focused on minimizing aerodynamic drag [20,10]. Modifications of the part of the upper surface are defined by cubic splines (Fig. 2). 63
MENDEL — Soft Computing Journal, Volume 28, No. 1, June 2022, Brno, Czech RepublicX Figure 2: Aerofoil shape optimisation. The calculation of the aerodynamic features of aerofoil was performed by the Xfoil general simulation program, which calculates the lift and drag values of the aerofoil. Input data to the Xfoil are as follows: Mach number, Reynolds number, angles of attack, and aerofoil data file (x, y coordinates). As a result of this modification of the aerofoil geometry, the drag coefficient was reduced by up to 26.73%. Reduction of aerodynamic drag leads to a reduction in fuel consumption by more than 20%. At the same time, the lift increased significantly, especially in the range of small positive and negative angles of attack. 3 Methods 3.1 Aerofoil Geometry Model Selection It is evident that aerofoil geometry model selection is fundamental for the whole process of optimisation [19]. One way to characterize the aerofoil geometry is to use control points. By manipulating the control points [2] the geometry of the aerofoil and thus also the aerodynamic features of the aerofoil change. Control points of aerofoil NACA 2412 are used, and the shape is defined by B-spline curve (Fig. 3). Figure 3: NACA 2412 aerofoil based on 14 control points. Aerofoil particle swarm optimisation (aPSO) was used to optimise the initial aerofoil. The fitness function searches for the average division of lift to drag in a certain interval of angles of attack, rather than finding just one angle of attack with the highest division. Figure 4: Flowchart of calculation of aerodynamic features based on control points. The flowchart (Fig. 4) demonstrates how the NACA 2412 aerofoil is optimised. First, the initial 14 control points from the original aerofoil are set. Second, the Bspline curve is used to generate an aerofoil shape from those control points. The generated aerofoil shape is represented by a set of coordinates saved in a text form file. Finally, the Xfoil program was used to calculate the pressure distribution on the aerofoil and hence lift and drag characteristics [4]. Input data to Xfoil program are given by the coordinates, specifying the shape of the aerofoil, Reynolds number, and angles of attack. Output from Xfoil program is a text form file with aerodynamic features corresponding to input coordinates and settings. For all iteration the vertical positions of control points are modified by optimisation and a new shape, with new aerodynamic features, is generated. 3.2 Aerofoil Fitness Function The wider cruise mission is defined by the range of angles of attack, in this case 3◦-9◦. For optimisation with the initial aerofoil, NACA 2412 was chosen [1,11]. The fitness function searches for the maximum average aerodynamic lift to drag division in the range of the wider cruise mission. To compare the aerodynamic features of both aerofoils, calculation conditions must be same, the swarm size is set to be 25 aerofoils, the Reynolds number 5.0e+06 and angles of attack from 3◦to 9◦. The optimised aerofoil is related to the initial aerofoil and inherits the features of the original aerofoil. 3.3 Many Optimizing Liaisons (MOL) It is important to note, that many optimizing liaisons (MOL) optimisation is based on the original particle swarm optimisation (PSO) [1,11,17]. Particle swarm optimisation (MOL) was invented and first applied by Marcus Pedersen [15]. This optimisation eliminates the best found position of the particle pBest by the acceleration coefficient c1 64
MENDEL — Soft Computing Journal, Volume 28, No. 1, June 2022, Brno, Czech RepublicX Muller: Improving Initial Aerofoil Geometry Using Aerofoil Particle Swarm Optimisation Algorithm 1 Pseudocode of aerofoil particle swarm optimisation (aPSO) application best swarm evaluation = 0 gBest = [] for each aerofoil ido generate array of speeds viand control points xifrom initial to actual aerofoil i end for t= 0 while t < maximum iterations do for each aerofoil ido new evaluation of aerofoil i= 0 while new evaluation of aerofoil i= 0 do if best swarm evaluation <> 0then update array of speeds viof aerofoil i:vi=ωvi+c2r2(gBest −xi) update array of control points xiof aerofoil i:xi=xi+vi new evaluation of aerofoil iis calculated by fitness function: PN j=1(CL/CD)j/N end if if new evaluation of aerofoil i= 0 then generate array of speeds viand control points xifrom initial to actual aerofoil i end if end while if new evaluation of aerofoil i <best swarm evaluation or best swarm evaluation = 0 then set best swarm evaluation to new evaluation of aerofoil i set gBest to array of control points xiof aerofoil i end if end for t=t+ 1 end while being 0. The particles are then randomly selected in the inner loop. The result is a simpler implementation that works as well as the original version of particle swarm optimisation, if not better [15]. From many optimizing liaisons (MOL) optimisation was developed general aerofoil particle swarm optimisation (aPSO). 3.4 Aerofoil Particle Swarm Optimisation (aPSO) Application When applied, the classical array of positions and speeds is replaced by a one dimensional array of control points and speeds. Also the term aerofoils is used instead of particles [13]. Calculate array of speeds of aerofoil: vi=ωvi+c2r2(gBest −xi) Calculate array of control points of aerofoil: xi=xi+vi Where: iindex of the individual aerofoil in the swarm viarray of speeds of aerofoil i xiarray of control points of aerofoil i gBest best array of control points of the swarm ωinertia weight constant c2acceleration coefficient r2random number between 0 and 1 Evaluate by fitness function: N X j=1 (CL/CD)j/N Where: Nall optimised angles of attack CLaerodynamic lift CDaerodynamic drag 3.5 Comparison of NACA 2412 Eerofoil and Optimised Aerofoil Many optimizing liaisons optimisation is used to optimise initial aerofoils with a weight of inertia ω=−0.2 and an acceleration coefficient c2= 2.8. The range of angles of attack used for optimisation is from 3◦to 9◦, but the figures are showing the range from -15◦to 15◦ just to demonstrate the behaviour of the aerofoil in the usual range of a cruise mission. 4 Results Aerofoil particle swarm optimisation (aPSO) with initial aerofoil optimisation, in this case NACA 2412, is used to optimise the wider cruise mission, which is defined by a range of 3◦-9◦of angles of attack. The fitness function searches for the maximum average aerodynamic lift to drag division in the range of 65
MENDEL — Soft Computing Journal, Volume 28, No. 1, June 2022, Brno, Czech RepublicX Figure 5: Aerofoil features (A) Shape of NACA 2412 aerofoil (102 coordinates).(B) Shape of optimised aerofoil (102 coordinates).(C) Aerodynamic lift, CL.(D) Aerodynamic drag, CD. (E) Aerodynamic lift to drag, CL/CD. (F) Polars, CLand CD. Table 1: Comparison of aerodynamic features of NACA 2412 and optimised aerofoil. αCLCDCL/CDCM NACA 2412 3◦-9◦0.87 0.0073 119.8 - 0.045 Optimised aerofoil 3◦-9◦1.09 0.0060 183.2 - 0.055 Improvements +25.2% -18.1% +52.9% +22.1% wider cruise mission. This is used to find better aerodynamic features of an existing aerofoil. The optimisation defines the shape of the aerofoil based on vertically tuning the control points chosen from the initial aerofoil. These are then modified to achieve better aerofoil geometry with correspondingly better aerodynamic features. The advantage of using the optimisation of initial aerofoil is inheritance of the good aerodynamic features from initial aerofoil to optimised aerofoil. Because the NACA 2412 aerofoil has safe features, also optimised aerofoil partially inherits those features and so should be safe, as it can be seen from (Fig. 5) both aerofoils have very similar trends. If aerodynamic features of the optimised aerofoil guarantee safety, there is no need for computer control during the flight. The resulting average reduction in aerodynamic drag is reduced by 18.10%, the lift and drag division is increased by 52.94% compared to the initial aerofoil NACA2412. 5 Conclusion The work is focused on optimising of the geometry aerofoil wing of a general aircraft. Optimising the geometry of the aircraft aerofoil has an important role in the aerodynamics and economy of aircraft operation. The fundamental importance and benefit of the research is the creation of a new, unique algorithm to optimise the geometry of the selected aerofoil. Aerofoil particle swarm optimisation (aPSO) achieves better results than reached by aerofoil evolutionary algorithms. Parameterisation based on the B-spline was used to represent the geometry of the selected aerofoil. To characterize the geometry of the selected aerofoil, control points were used, with the need to select the initial aerofoil representing the initial shape. The NACA 2412 aerofoil was selected. An evaluation function (fitness function) was created to select aerofoil with best aerodynamic features. The searched aerofoil should have the maximum average aerodynamic lift to drag division. Optimisation of the aerofoil particle swarm optimisation achieves very good results, with the best results for the size of swarm 25, with a weight of inertia ω=−0.2 and an acceleration coefficient c2= 2.8. The optimisation is based on the many optimizing liaisons (MOL) optimisation variant, which was also modified to use B-spline parameterisation. The benefits of the work in terms of aerodynamics are finding the minimum aerodynamic drag compared 66
MENDEL — Soft Computing Journal, Volume 28, No. 1, June 2022, Brno, Czech RepublicX Muller: Improving Initial Aerofoil Geometry Using Aerofoil Particle Swarm Optimisation with initial aerofoil NACA 2412. During a wider cruise mission flight in the range of 3◦-9◦angles of attack, the reduction of aerodynamic drag by 18.10% compared to the selected NACA 2412 aerofoil was achieved. This aerofoil optimisation is directly followed by the control of its geometry according to my invention [12]. It is possible to change the shape of the aerofoil (morphing) in flight so that the behaviour of the aircraft is safe and at the same time economical. By comparing the results obtained from the aerofoil optimisations (only with part of upper surface morphing) of the ATR-42-4 aircraft, the validity of the results is quite evident. References [1] Abbott, I. H., and Von Doenhoff, A. E. Theory of wing sections: including a summary of airfoil data. Courier Corporation, 2012. [2] Anderson, G. R., and Aftosmis, M. J. Adaptive shape parameterization for aerodynamic design. Nat. Aeronaut. Space Admin., Ames Res. Center, Moffett Field, CA, USA, NAS Tech. Rep. NAS-2015-02 (2015). [3] Derksen, R., and Rogalsky, T. Bezier-parsec: An optimized aerofoil parameterization for design. Advances in engineering software 41, 7-8 (2010), 923–930. [4] Drela, M., and Youngren, H. Xfoil subsonic airfoil development system. Software Package, available online at http: // web. mit. edu/ drela/ Public/ web/ xfoil/ [accessed 2022] (2022). [5] Gabor, O. S., Koreanschi, A., and Botez, R. M. Low-speed aerodynamic characteristics improvement of atr 42 airfoil using a morphing wing approach. In IECON 2012-38th annual conference on IEEE Industrial Electronics Society (2012), IEEE, pp. 5451–5456. [6] Hinshaw, T. Analysis and design of a morphing wing tip using multicellular flexible matrix composite adaptive skins. PhD thesis, Virginia Tech, 2009. [7] Jianghao, W., Chenfang, C., and Yanlai, Z. The changes in structural and flight safety due to flap design of blended-wing-body civil aircraft. Procedia Engineering 17 (2011), 320–327. [8] Kroo, I. Nonplanar wing concepts for increased aircraft efficiency. VKI lecture series on innovative configurations and advanced concepts for future civil aircraft (2005). [9] Lampinen, J., and Zelinka, I. Mixed integerdiscrete-continuous optimization by differential evolution. In Proceedings of the 5th international conference on soft computing (1999), vol. 71, p. 76. [10] Matousek, R., Dobrovsky, L., and Kudela, J. How to start a heuristic? utilizing lower bounds for solving the quadratic assignment problem. International Journal of Industrial Engineering Computations 13, 2 (2022), 151–164. [11] Matsson, J. E., Voth, J. A., McCain, C. A., and McGraw, C. Aerodynamic performance of the naca 2412 airfoil at low reynolds number. In 2016 ASEE Annual Conference & Exposition (2016). [12] Muller, J., and Muller, R. Device for continuous and defined change in geometry of airfoil wing shape and curvature, Czech Patent 300 728. Issued 29.7.2009. [13] Oyama, A., and Fujii, K. Airfoil design optimization for airplane for mars exploration. In J-55, The Third China-Japan-Korea Joint Symposium on Optimization of Structual and Mechanical Systems, CJK-OSM3 (2004), Kanazawa, Ishikawa. [14] Pankonien, A. M. Smart Material Wing Morphing for Unmanned Aerial Vehicles. PhD thesis, University of Michigan, 2015. [15] Pedersen, M. E. H. Good parameters for particle swarm optimization. Hvass Lab., Copenhagen, Denmark, Tech. Rep. HL1001 (2010), 1551–3203. [16] Peerlings, B. A review of aerodynamic flow models, solution methods and solvers and their applicability to aircraft conceptual design. Delft University of Technology: Delft, The Netherlands (2018). [17] Pluh´ aˇ cek, M., Kazikova, A., Kadavy, T., Viktorin, A., and Senkerik, R. Relation of neighborhood size and diversity loss rate in particle swarm optimization with ring topology. 74–79. [18] Saleem, A., and Kim, M.-H. Aerodynamic performance optimization of an airfoil-based airborne wind turbine using genetic algorithm. Energy 203 (2020), 117841. [19] Shi, Y., Mader, C. A., He, S., Halila, G. L., and Martins, J. R. Natural laminar-flow airfoil optimization design using a discrete adjoint approach. AIAA Journal 58, 11 (2020), 4702–4722. [20] Skinner, S. N., and Zare-Behtash, H. Stateof-the-art in aerodynamic shape optimisation methods. Applied Soft Computing 62 (2018), 933– 962. 67