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

OPT_OBJECTIVE vs OBJECTIVE_FUNCTION

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

Like Tree4Likes
  • 1 Post By mardar572
  • 3 Post By wallym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2022, 13:07
Default OPT_OBJECTIVE vs OBJECTIVE_FUNCTION
  #1
New Member
 
mardar
Join Date: Dec 2019
Posts: 17
Rep Power: 6
mardar572 is on a distinguished road
What is the difference between OBJECTIVE_FUNCTION and OPT_OBJECTIVE in .cfg file? I read the master .cfg file explanations but I am still not clear.



OBJECTIVE_FUNCTION= DRAG
OPT_OBJECTIVE= DRAG
ashvin likes this.
mardar572 is offline   Reply With Quote

Old   October 24, 2022, 12:09
Default
  #2
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Hi Mardar572,

I agree the explanations could use some work.
OBJECTIVE_FUNCTION is used in the computations of gradients/sensitivities within the adjoint framework.
OPT_OBJECTIVE (I believe) is only used with shape_optimization.py script.

Best,
Wally
mardar572, ashvin and danielncku like this.
wallym is offline   Reply With Quote

Old   October 9, 2024, 05:26
Default
  #3
New Member
 
Ashvin
Join Date: Feb 2020
Posts: 9
Rep Power: 6
ashvin is on a distinguished road
Thanks! I have the same issue. I sometimes get lost as to why there are two such definitions.
ashvin 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



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