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

Optimization objective

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2014, 16:40
Default Optimization objective
  #1
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Hi,

In the configuration file, there is an option to specify objective function with the scale. Objective functions are drag , lift etc. How does the solver know whether its a minimization or maximization problem.

In my case , i am interested in minimizing the force on an object. So how should the objective function be specified?

Thanks,

Sreekanth
shsreekanth is offline   Reply With Quote

Old   May 15, 2014, 17:13
Default
  #2
Member
 
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13
copeland is on a distinguished road
Hello Sreekanth,

Generally, objective functions in SU2 are always minimized (there are some exceptions like efficiency). For an example on how to specify a design problem in SU2, visit the TestCases/euler/naca0012 and look at the optimal design settings in the NACA 0012 configuration file provided.


Hope that helps,
Sean
copeland is offline   Reply With Quote

Old   May 16, 2014, 03:11
Default
  #3
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Hi,
Thanks for the reply.
You say there are some exceptions.
1. By default, is "Lift" being minimized or is it maximized?
2. If its being maximized, can i convert it to minimization problem by multiplying with -1 ?
3. Can i have a linear combination, or a ratio of the two terms, say (LIFT + 10* DRAG )? I tried giving like that, but it doesn't work.

Sreekanth
shsreekanth is offline   Reply With Quote

Old   May 16, 2014, 04:10
Default
  #4
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
hey sreekanth,
lift is maximized by default. you can set the scale to be negative to change that --
OPT_OBJECTIVE = LIFT * -1.0
You can't combine objectives here at the moment, tho be sure to explore posing your problem with constraints, like lift constrained drag minimization. You can also take a look inside of shape_optimization.py to see how you can build your own objective functions in python.
rktchip 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
what are the scaling factors of Optimization objective and constraint functions ? mechy SU2 Shape Design 4 September 22, 2017 04:23
Total force optimization or pressure force optimization? robyTKD SU2 Shape Design 1 August 19, 2013 16:54
COMSOL: Setting up simple optimization problem tdh89 COMSOL 1 May 23, 2012 04:55
COMSOL: optimization applied to a laminar flow tdh89 COMSOL 0 April 30, 2012 09:57
How to do Design Optimization in Fluent 13.0? p36288 Fluent UDF and Scheme Programming 1 July 20, 2011 01:37


All times are GMT -4. The time now is 16:41.