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

Is SU2 able to handle adjoint for pressure distribution when doing inverse design?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2016, 00:40
Post Is SU2 able to handle adjoint for pressure distribution when doing inverse design?
  #1
New Member
 
Xiaosong
Join Date: Oct 2015
Posts: 11
Rep Power: 10
Xiaosong is on a distinguished road
Hi all,

I am doing pressure inverse design using SU2. It will speed up the computation if adjoint could be added. I know SU2 can handle adjoint for Cd and Cl, and also find that objective function could be set as inverse_design_pressure in SU2. So, I am just wondering whether I can do adjoint for this, as well, just like that for Cd and Cl.

Thanks for the patience! Any comments are very welcome!

Thanks,
Xiaosong
Xiaosong is offline   Reply With Quote

Old   December 4, 2016, 00:15
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by Xiaosong View Post
Hi all,

I am doing pressure inverse design using SU2. It will speed up the computation if adjoint could be added. I know SU2 can handle adjoint for Cd and Cl, and also find that objective function could be set as inverse_design_pressure in SU2. So, I am just wondering whether I can do adjoint for this, as well, just like that for Cd and Cl.

Thanks for the patience! Any comments are very welcome!

Thanks,
Xiaosong
Yes, it can.
Set the appropriate objective function, and run the adjoint as you would for Cd or Cl.
See example in TestCases/optimization_euler/steady_inverse_design/ - note that config file and mesh/target cp files are in the su2code/SU2 and su2code/TestCases repositories respectively:

https://github.com/su2code/SU2/tree/...inverse_design

https://github.com/su2code/TestCases...inverse_design
hlk is offline   Reply With Quote

Old   December 4, 2016, 00:25
Default
  #3
New Member
 
Xiaosong
Join Date: Oct 2015
Posts: 11
Rep Power: 10
Xiaosong is on a distinguished road
Quote:
Originally Posted by hlk View Post
Yes, it can.
Set the appropriate objective function, and run the adjoint as you would for Cd or Cl.
See example in TestCases/optimization_euler/steady_inverse_design/ - note that config file and mesh/target cp files are in the su2code/SU2 and su2code/TestCases repositories respectively:

https://github.com/su2code/SU2/tree/...inverse_design

https://github.com/su2code/TestCases...inverse_design
OK! I see! Thank you very much for your reply!
Actually, I have already tried that test case, and started building up my own cases.

For now, I get one more question:
in source code, the objective function = SUM{area * (cp - cp_target) * (cp - cp_target)}, where area is obtained from modulus of normal vectors of each small segment on airfoil. But each node will have two lines sharing it, which arc should we take into the formula, please?

Thanks,
Xiaosong
Xiaosong is offline   Reply With Quote

Reply

Tags
adjoint, inverse design, pressure distribution, su2


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
Inverse design Seroga Main CFD Forum 0 April 8, 2008 01:58
Collaboration on continuous adjoint design optimiz Carlos Lozano Main CFD Forum 0 April 4, 2008 04:13
Inverse design and Optimization of Aircraft Wings Simon Nava Main CFD Forum 8 May 22, 2007 14:55
uptodate water distribution network fredius,magige,tanzanian,(e.a) Main CFD Forum 0 January 27, 2002 07:10
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 10:18


All times are GMT -4. The time now is 01:59.