1 of 39

1

28/06/2024

Author: Gerard Fortuny Aguilera

Director: Àlex Ferrer Ferré

Co-director: Pau Tarrés Jané

Study of Shape Optimisation for Aeronautical Engineering

Universitat Politècnica de Catalunya

Escola Superior d’Enginyeries Industrial, Aeroespacial i Audiovisual de Terrassa

28/06/2024

2 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

2

28/06/2024

3 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

3

28/06/2024

4 of 39

1. Introduction

  • Research and study approaches for aerodynamic shape optimisation.

  • Develop the most suitable shape optimisation method.

  • Apply the implemented method to solve particular cases.

Study of shape optimisation for aeronautical engineering

4

28/06/2024

Objectives

5 of 39

1. Introduction

  • Improve aircraft performance.

  • Reduce environmental impact.

  • Structural integrity.

  • Improve safety.

  • Noise reduction.

  • Applicability to different fields.

Study of shape optimisation for aeronautical engineering

5

28/06/2024

Shape optimisation for aeronautical engineering

Source: [1]

6 of 39

1. Introduction

Parametric optimisation

    • Finite differences.
    • Adjoint method.
    • Calculation of different points of the objective function .

Other approaches

    • Metaheuristic methods.
    • Shape derivative.
    • Genetic algorithms.

Study of shape optimisation for aeronautical engineering

6

28/06/2024

Shape optimisation for aeronautical engineering

Fluid solver

Sensitivity map calculation

Shape and mesh update

Source: [2]

7 of 39

1. Introduction

Computational fluid dynamics:

The fluid is described by PDEs, whose solutions can be approximated with the Finite Element Method.

Advantages of FEM:

    • High degree of accuracy.
    • Easy modeling of complex geometrical shapes.
    • Implemented on Swan.

Study of shape optimisation for aeronautical engineering

7

28/06/2024

CFD and the Finite Element Method

Source [3]

8 of 39

1. Introduction

  • Software originally created for topology optimisation.

  • Developed in Matlab®, using object-oriented programming.

  • Implemented fluid simulator (Stokes flow).

Study of shape optimisation for aeronautical engineering

8

28/06/2024

Swan code

Source: [4]

9 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

9

28/06/2024

10 of 39

2. Numerical solution for fluid flow

  • Negligible convective term (very viscous fluid, with Re → 0).
  • Incompressible.
  • Static.

Study of shape optimisation for aeronautical engineering

10

28/06/2024

The Stokes flow

11 of 39

2. Numerical solution for fluid flow

Strong formulation:

Study of shape optimisation for aeronautical engineering

11

28/06/2024

Weak form derivation

Energy minimisation problem:

Weak formulation:

12 of 39

2. Numerical solution for fluid flow

Domain discretisation:

Shape functions approximation:

Study of shape optimisation for aeronautical engineering

12

28/06/2024

Finite element formulation

Source: [5]

13 of 39

2. Numerical solution for fluid flow

System to compute:

Elementary matrices:

Study of shape optimisation for aeronautical engineering

13

28/06/2024

Finite element formulation

14 of 39

2. Numerical solution for fluid flow

Study of shape optimisation for aeronautical engineering

14

28/06/2024

Isoparametric elements and Gauss quadrature

Source: [6]

Source: [7]

Transformation to isoparametric elements:

Gauss quadrature integration:

15 of 39

2. Numerical solution for fluid flow

Study of shape optimisation for aeronautical engineering

15

28/06/2024

Isoparametric elements and Gauss quadrature

16 of 39

2. Numerical solution for fluid flow

Study of shape optimisation for aeronautical engineering

16

28/06/2024

Solvability

Ladyzhenskaya – Babuška – Brezzi condition:

P2P1 element:

17 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

17

28/06/2024

18 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

18

28/06/2024

Code implementation

Input parameters

Mesh

Boundary conditions

Solver

Aerodynamic forces calculation

Input parameters

Boundary conditions

Solver

Aerodynamic forces calculation

Mesh

19 of 39

3. Implementation of case studies

BC are applied at the boundary nodes.

Different types of BC:

    • Inlet.
    • Outlet.
    • Symmetry.
    • Walls.
    • Far field.
    • Cyclic.

Study of shape optimisation for aeronautical engineering

19

28/06/2024

Code implementation

Input parameters

Solver

Aerodynamic forces calculation

Mesh

Boundary conditions

20 of 39

3. Implementation of case studies

  1. Compute Ke and Ge.
  2. Assemble the LHS.
  3. Compute Fe.
  4. Assemble RHS
  5. Divide the restricted and free DoFs
  6. Solve the system.

Study of shape optimisation for aeronautical engineering

20

28/06/2024

Code implementation

Input parameters

Aerodynamic forces calculation

Mesh

Boundary conditions

Solver

21 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

21

28/06/2024

Code implementation

Input parameters

Solver

Mesh

Boundary conditions

Aerodynamic forces calculation

22 of 39

3. Implementation of case studies

  • One of the simplest cases.

  • Comparison with LaCàN developed code for verification.

Study of shape optimisation for aeronautical engineering

22

28/06/2024

Cavity flow case definition

23 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

23

28/06/2024

Cavity flow simulation

24 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

24

28/06/2024

Ellipse case definition

25 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

25

28/06/2024

Ellipse simulation

Velocity in the x direction:

Pressure distribution:

26 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

26

28/06/2024

Airfoil geometry

Circumference superposition method:

Polygonal approximation method:

27 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

27

28/06/2024

Airfoil case definition

28 of 39

3. Implementation of case studies

Study of shape optimisation for aeronautical engineering

28

28/06/2024

Airfoil simulation

Velocity in the x direction:

Pressure distribution:

29 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

29

28/06/2024

30 of 39

4. Aerodynamic shape optimisation

  • The semi-minor axis is the parameter modified.

  • Tendency towards the flat plate case.

Study of shape optimisation for aeronautical engineering

30

28/06/2024

Ellipse

31 of 39

4. Aerodynamic shape optimisation

Example for a beam of 0.11x0.1 located x = 0.3, being m = 0.04 and p = 0.4:

Study of shape optimisation for aeronautical engineering

31

28/06/2024

Airfoil beam constrain

Maximum thickness as a function of m and p, for a beam of 0.11x0.1 located x = 0.3:

32 of 39

4. Aerodynamic shape optimisation

Lift distribution:

Study of shape optimisation for aeronautical engineering

32

28/06/2024

Airfoil results

Drag distribution:

Efficiency distribution:

33 of 39

4. Aerodynamic shape optimisation

It can be interpreted as a minimisation problem:

Gradient calculation: finite differences.

Projection:

Study of shape optimisation for aeronautical engineering

33

28/06/2024

Gradient descent

Source: [8]

34 of 39

4. Aerodynamic shape optimisation

Study of shape optimisation for aeronautical engineering

34

28/06/2024

Gradient descent results

35 of 39

Index

  1. Introduction
  2. Numerical solution for fluid flow
  3. Implementation of case studies
  4. Aerodynamic shape optimisation
  5. Conclusions
  6. References

Study of shape optimisation for aeronautical engineering

35

28/06/2024

36 of 39

5. Conclusions

Main accomplishments:

    • Achievement of the objectives; study and implementation of aerodynamic shape optimisation.
    • Coherent results, although subjected to the Stokes flow simplification.
    • Acquisition of valuable knowledge.

Future work:

    • Improvement of the mesh quality and domain.
    • Develop components for microfluidic systems.
    • Implementation of the complete Navier - Stokes equations.
    • Consider momentum.

Study of shape optimisation for aeronautical engineering

36

28/06/2024

37 of 39

6. References

[1] CHERNYKHIN, O.; ZINGG, D. V. Multimodality and global optimization in aerodynamic design. AIAA Journal. 2013, vol. 51, no. 6, pp. 1312–1354.

[2] KELECY, P. M. et al. Adjoint Shape Optimization for Aerospace Applications. NASA Advanced

Supercomputing (NAS). 2021. Available also from: https://www.nas.nasa.gov/assets/nas/pdf/

ams/2021/AMS_20210408_Kelecy.pdf.

[3] GOMEZ, R.; CARY, A.; MALIK, M. Continued progress toward the CFD Vision 2030 goals. 2022.

Available also from: https://aerospaceamerica.aiaa.org/year-in-review/continued-progress-

toward-the-cfd-vision-2030-goals/. Accessed: 2024-06-28.

[4] SwanLab. Available also from: https://github.com/SwanLab. Accessed: 2024-06-28.

[5] HERNÁNDEZ ORTEGA, J. A. Stokes Flow. Universitat Politècnica de Catalunya.

[6] SERT, C. Formulation of FEM for Two-Dimensional Problems. Chapter 3. ME 582 Finite Element

Analysis in Thermofluids.

Study of shape optimisation for aeronautical engineering

37

28/06/2024

38 of 39

6. References

[7] Isoparametric Elements. Chapter 4. ETH Zürich. [N.d.]. Available also from: https://ethz.ch/

content/dam/ethz/special-interest/baug/ibk/structural-mechanics-dam/education/femI/

lecture4.pdf.

[8] Calculus in Data Science. 2018. Available also from: https://2796gaurav.github.io/work/Calculus.

html. Accessed: 2024-06-28.

Study of shape optimisation for aeronautical engineering

38

28/06/2024

39 of 39

Thank you for your attention

Study of shape optimisation for aeronautical engineering

39

28/06/2024