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, 17:59
Default Get gradients of both lift and drag
  #1
New Member
 
Ryan Barrett
Join Date: May 2015
Posts: 15
Rep Power: 10
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, 09:03
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
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 08:35
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
[OpenFOAM] Display lift and Drag in paraview SamerAli ParaView 1 May 16, 2013 12:51
Lift and Drag Monitor Point Values Converging to Zero Josh CFX 24 May 9, 2011 10:38
Correct lift but wrong pressure drag - possible? zx Main CFD Forum 4 July 27, 2007 23:38


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