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

Shape Sensitivity

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By robyTKD
  • 1 Post By rktchip

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2013, 10:27
Default Shape Sensitivity
  #1
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
Hi developers,

I have a question about shape sensitivity. I am simulating laminar subsonic flow around NACA0012 airfoil, at same flow conditions of Castro et al. paper "Systematic Continuous Adjoint Approach to Viscous Aerodynamic Design on Unstructured Grids":
  • M = 0.3
  • Re = 1000
  • AoA = 2.5^o
  • T_{\infty} = 273.15

I have simulated two adjoint cases: the first with J=DRAG, the second J=LIFT.

Attached below you find shape sensitivity of both simulations. Regarding drag sensitivity you can see that signs are opposite with respect to the paper. Is it due to different normal vectors conventions?

Concerning shape optimization, I noticed that the code, after adjoint simulations, writes the file of_grad_cd.plt or of_grad_cl.plt; in these files I see gradient values (with opposite signs) at design variables declared in the configuration file.
Then, in order to deform the geometry, the code writes config_MDC.cfg, but in this case signs are inverted only if DRAG objective function is declared, while in case of LIFT objective function signs are not inverted. So my question is: does the code change deformation direction in order to maximize LIFT and minimize DRAG, in any case?

Best regards,
Roberto
Attached Files
File Type: pdf SensCD.pdf (55.9 KB, 40 views)
File Type: pdf SensCL.pdf (56.6 KB, 14 views)
samiam1000 and beatlejuice like this.
robyTKD is offline   Reply With Quote

Old   June 11, 2013, 18:48
Default
  #2
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
Quote:
Originally Posted by robyTKD View Post

Concerning shape optimization, I noticed that the code, [...] signs are inverted only if DRAG objective function is declared, while in case of LIFT objective function signs are not inverted. So my question is: does the code change deformation direction in order to maximize LIFT and minimize DRAG, in any case?

Best regards,
Roberto
Hi Roberto,

indeed, shape_optimization (and the Design() class if anyone is using it) is programmed maximize LIFT, EFFICIENCY, THRUST and FIGURE_OF_MERIT

if you would like to minimize, you can change the sign of the scale parameter, for example

OBJ_FUNCTION = LIFT * -1.0

- Trent
beatlejuice likes this.
rktchip is offline   Reply With Quote

Old   June 13, 2013, 19:52
Default
  #3
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Could you please send us the config file that you are using. This kind of laminar flows work very well in SU2.

Cheers,
Francisco
fpalacios is offline   Reply With Quote

Old   June 13, 2013, 20:05
Default
  #4
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
Quote:
Originally Posted by rktchip View Post
indeed, shape_optimization (and the Design() class if anyone is using it) is programmed maximize LIFT, EFFICIENCY, THRUST and FIGURE_OF_MERIT
Thank you for the reply Trent. Now I understand the behavior of shape optimization. But I don't understand why, in files of_grad_*.plt, signs of shape sensitivity are inverted.

Attached below you find the configuration file of the case.

Best regards,
Roberto
Attached Files
File Type: txt lam_NACA0012.cfg.txt (10.3 KB, 18 views)
robyTKD 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
how to define a shape deformation using the grid deformation variables (FSI problem) momo_sjx SU2 Shape Design 6 June 7, 2015 23:29
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Adjoint sensitivity on specified surface robyTKD OpenFOAM Programming & Development 0 April 29, 2013 06:05
Mesh elements shape on faces Mohsin FLUENT 3 August 17, 2011 03:37
What exactly is a sensitivity analysis? Josh CFX 3 August 19, 2009 10:18


All times are GMT -4. The time now is 18:40.