CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

help with winglet shape optimisation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2024, 13:34
Default help with winglet shape optimisation
  #1
New Member
 
Join Date: Dec 2023
Posts: 12
Rep Power: 2
cfd-jg is on a distinguished road
Hi all,

I am doing my thesis on aerodynamic shape optimisation of winglets. However, I am struggling to make this work on SU2.

My aim is to minimize drag maintaining lift fixed. The approach I was following is setting an FFD box around the winglet (taking part of the wing as well). Then setting control points, which are allowed to move vertically (so it can adjust the cant angle, radius of rotation of the winglet, AoA and twist). And once I had this working, my plan is to add more complexity letting the control points to move both in x and z directions (to optimise sweep angle as well).

However, I am having issues with implementing this. The problem I am finding is that the objective function (drag) is reduced minimally (only 4th decimal place). I first thought that the problem might be that I had to tune the parameters OPT_GRAD_FACTOR and OPT_RELAX_FACTOR, so I tried it with multiple values (see fig Cd-gradFactor-4.jpg), but none of them reduced drag significantly, while a couple of them diverged.

To give an example of the output: (fig surface_deformed-relaxFactor_600.jpg) this is what the solver generates (first few iterations). This mainly modifies the AoA to reduce drag but not the cant angles much. Also, despite having the 2nd derivative continuity constraint on the configuration file, the output produced is not physically viable. This is because the gradients on the control points next to the boundary between wing-winglet are quite high compared to the rest of control points (seen in fig gradients.jpg).

I was expecting the deformation of the geometry to be larger (at least in cant angle). Interestingly, when I set a larger OPT_GRAD_FACTOR (1E3) the cant angle was deformed significantly (see fig surface_deformed-relaxFactor_1E3.jpg) but maintaining the discontinuity in the boundary between wing and winglet. As a result, the adjoint solution diverges after this point.

I have also tried with different scales in the objective function, but similar results are obtained.

To check if there was something wrong in my configuration file, I checked its validity with the ONERA wing mesh tutorial, and it worked fine (for that mesh and FFD box configuration). Therefore I suspect that my approach may not be the correct one for my case.

I would highly appreciate if anyone more experienced could help or indicate how to approach this optimisation or any suggestion that could help me.


Thank you very much for your help in advance,


The configuration file I am using is: EULER-winglet-shapeOptimisation.txt
cfd-jg is offline   Reply With Quote

Old   April 29, 2024, 16:21
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 520
Rep Power: 17
bigfootedrockmidget is on a distinguished road
The first step is to check the CFD setup.



Do you have a fully converged CFD simulation (independent of the adjoint setup) for a specified alpha that shows the expected CL (I guess there is measurement data)? This to check that the CL that you choose is a viable option, the the lengthscales were chosen correctly to get to this CL and that the solver settings that you use realize a converged solution.
bigfootedrockmidget is offline   Reply With Quote

Old   April 29, 2024, 17:33
Default
  #3
New Member
 
Join Date: Dec 2023
Posts: 12
Rep Power: 2
cfd-jg is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
The first step is to check the CFD setup.



Do you have a fully converged CFD simulation (independent of the adjoint setup) for a specified alpha that shows the expected CL (I guess there is measurement data)? This to check that the CL that you choose is a viable option, the the lengthscales were chosen correctly to get to this CL and that the solver settings that you use realize a converged solution.

Thanks for your reply.


Yes, I first ran the simulation with MATH_PROBLEM= DIRECT and got a converged result of CL= 0.853490 and CD= 0.011720 cfd-residuals.jpg. So then I used CL = 0.85 as the target lift. When running the shape optimisation, the results also converged log_DIRECT.jpg. These are the residuals of the direct solution of a random design iteration.


Even though the convergence criteria are not reached in the pictures, the residuals are quite low (around -9/-10, and both coefficients reach a steady value).
cfd-jg is offline   Reply With Quote

Old   April 30, 2024, 17:59
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 520
Rep Power: 17
bigfootedrockmidget is on a distinguished road
You need to have lower residuals. The adjoint can be quite sensitive to left-over errors. I would go to at least 1e-13, preferably 1e-14. You can also see CL still changing so that's an indication that you need to go lower.
Then, when you go to the adjoint with this converged solution, please check that the adjoint has converged as well. You can also load the history.csv file directly in paraview to visually inspect all the saved residual values.
bigfootedrockmidget is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shape optimisation not converging elninoft9 SU2 Shape Design 3 January 25, 2023 09:03
3D RANS based shape optimisation mesh deformation nikki_vlk SU2 Shape Design 0 May 30, 2022 04:36
Spline generation for Adjoint Based Shape Optimisation radioactivity OpenFOAM 1 November 1, 2021 00:11
Shape Optimisation Parametrisation Nick Janssens OpenFOAM Programming & Development 1 May 22, 2020 09:47
problems with winglet shape optimization, cannot impose geometrical constrains lpustin SU2 2 February 26, 2018 07:02


All times are GMT -4. The time now is 00:09.