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

Get gradients of both lift and drag

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 18:59
Default Get gradients of both lift and drag
  #1
New Member
 
Ryan Barrett
Join Date: May 2015
Posts: 15
Rep Power: 11
Ry10 is on a distinguished road
I need the adjoint gradients of both drag and lift. I can get the drag gradient or lift gradient by changing OBJECTIVE_FUNCTION= DRAG or OBJECTIVE_FUNCTION= LIFT in the config file. What can I do to get the gradients of both? Whatever I try I get the error: OBJECTIVE_FUNCTION: multiple values for type enum.
Ry10 is offline   Reply With Quote

Old   January 7, 2016, 10:03
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Hi Ry10,

like you already noticed, it is not possible to get both gradients at once. You have to do two separate runs. One with OBJECTIVE_FUNCTION=DRAG and one with OBJECTIVE_FUNCTION=LIFT.
talbring is offline   Reply With Quote

Reply

Tags
gradients, 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
How to calculate lift, drag and lift distribution in Star CCM+? israelcasillas94 STAR-CCM+ 4 November 6, 2020 09:35
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 06:18
[OpenFOAM] Display lift and Drag in paraview SamerAli ParaView 1 May 16, 2013 13:51
Lift and Drag Monitor Point Values Converging to Zero Josh CFX 24 May 9, 2011 11:38
Correct lift but wrong pressure drag - possible? zx Main CFD Forum 4 July 28, 2007 00:38


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