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

Objective functions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2019, 10:02
Question Objective functions
  #1
New Member
 
kevin havart
Join Date: Jun 2019
Posts: 8
Rep Power: 7
khavart is on a distinguished road
Hello,

I post this thread because I have some questions about Objective functions available in SU2.



My goal is to optimize a Nozzle in order to have a uniform Mach number at the outlet and minimizing losses.



First of all I've seen that many objective functions were implemented but I don't know what these functions exactly mean. For example what represent Efficiency and Surface_Mach functions ? Those could be interessant for me.



And if there are no objective functions already implemented in SU2 for my problem, do you know if it is possible to implement custom objective function ? (I don't know C langage at all)


Thanks,
Kevin
khavart is offline   Reply With Quote

Old   June 10, 2019, 12:01
Default
  #2
New Member
 
Nitish Anand
Join Date: Sep 2016
Location: Netherlands
Posts: 12
Rep Power: 10
nitish_anand is on a distinguished road
Hey Kevin,

You can use ENTROPY_GENERATION. To use this objective you need to set up your nozzle as Turbomachinery problem. And is not difficult, look into the tutorials.

Thanks,
Nitish
nitish_anand is offline   Reply With Quote

Old   June 11, 2019, 04:32
Default
  #3
New Member
 
kevin havart
Join Date: Jun 2019
Posts: 8
Rep Power: 7
khavart is on a distinguished road
Hey Nitish,

Thanks for your answer, Trying to do this I've have a segmentation fault (core dumped), is there any change to do in my mesh file to be able to use turbomachinery settings ?


And have you an idea for the uniformization of the mach number ?

Thanks,
Kevin

Last edited by khavart; June 11, 2019 at 06:33.
khavart is offline   Reply With Quote

Old   June 11, 2019, 08:01
Default
  #4
New Member
 
Nitish Anand
Join Date: Sep 2016
Location: Netherlands
Posts: 12
Rep Power: 10
nitish_anand is on a distinguished road
Hey Kevin,

You need TURBOMACHINERY_KIND and TURBOMACHINERY_MARKERS() in config to enable turbomachinery features.

By uniformation, I guess you mean averaging kinds, yes there are several implemented. Please look into the tutorials or config_template and you will find them.

Thanks,
Nitish
nitish_anand is offline   Reply With Quote

Reply

Tags
objective function, optimization


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
How to solve the boundary layer without wall functions? WhiteW OpenFOAM Running, Solving & CFD 4 January 20, 2020 05:55
Custom Objective Function, Adjoint, and Adjoint Extraction jack_ross23 SU2 Shape Design 0 October 24, 2018 16:26
Objective Functions m_cita93 SU2 Shape Design 1 January 2, 2018 10:52
what are the scaling factors of Optimization objective and constraint functions ? mechy SU2 Shape Design 4 September 22, 2017 04:23
[Commercial meshers] CCM+ Mesh Conversion Ingenieur OpenFOAM Meshing & Mesh Conversion 17 February 2, 2014 10:34


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