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

Minimazing SURFACE_STATIC/TOTAL_PRESSURE Does not Work

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2025, 07:04
Default Minimazing SURFACE_STATIC/TOTAL_PRESSURE Does not Work
  #1
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 71
Rep Power: 4
CleverBoy is on a distinguished road
Hello everybody,


I am trying to optimize my geometry with obj_func of SURFACE_STATIC_PRESSURE. I understand that in order to reduce the averaged pressure over a surface I have to set the weighing values as -1. When I use objective like this, Design Iterations stop after 1 adjoint calculation at DSN_002. I tried Wedge Test Cases and they don't work either. When I run a wedge test case for surface_total_pressure it returns the original geometry at DSN_003 and stops.


I am trying to read the source code to find a solution but Iam a bit loss at the moment. Any help is appreciated!


Thank you.
CleverBoy is offline   Reply With Quote

Old   June 12, 2025, 07:59
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 775
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Did you have a look at this tutorial that was added recently?
https://su2code.github.io/tutorials/...lent_Bend_Opt/
It optimizes the pressure drop over a 90 degree bend.
bigfootedrockmidget is offline   Reply With Quote

Old   June 12, 2025, 09:26
Default
  #3
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 71
Rep Power: 4
CleverBoy is on a distinguished road
Thank you for the info. I am trying to do an unsteady adjoint simulation so I am following that one tutorial about Unsteady Shape Optimization of an Airfoil.
Also, FADO is a bit complicated to dive in, I am using shape_optimizaton.py at the moment.

When I use the weight as +1, it works and changes the geometry accordingly to increase the pressure but adjoint simulations doesn't work for -1. I don't understand the reason behind this.
CleverBoy is offline   Reply With Quote

Old   June 12, 2025, 12:57
Default
  #4
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 71
Rep Power: 4
CleverBoy is on a distinguished road
I even tried ver6.2.0 for this and the results are the same.

Code:
  NIT    FC           OBJFUN            GNORM
    1     2     7.760305E+05     4.904019E+03
Optimization terminated successfully    (Exit mode 0)
            Current function value: 775956.901
            Iterations: 1
            Function evaluations: 3
            Gradient evaluations: 1
For the wedge test case in /TestCases/cont_adj_euler/wedge simulation stops after 1 NIT as in my own cases.
CleverBoy is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
RP_Set_Integer does not work in parallel 86lolo Fluent UDF and Scheme Programming 2 July 3, 2014 11:37
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 04:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 10:53
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 12:47.