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

time-average of the surface sensitivities

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By talbring

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2017, 05:20
Default time-average of the surface sensitivities
  #1
Member
 
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 10
mlooti is on a distinguished road
Hi
When we do unsteady optimization, SU2 take the time averaged sensitivities to compute gradient of objective function.

Can anyone tell me the exact location of this time averaging procedure in the code??

Since in any situation I want to do an unsteady optimization my
DRAG gradient: -nana

Which I believe is related to this averaging
mlooti is offline   Reply With Quote

Old   January 15, 2017, 06:41
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Tom,

this problem should be solved in the current develop branch (see this pull request for more information: https://github.com/su2code/SU2/pull/360)
mlooti likes this.
talbring is offline   Reply With Quote

Old   January 15, 2017, 07:38
Default
  #3
Member
 
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 10
mlooti is on a distinguished road
tanks allot for the answer
Attached Images
File Type: jpg Screenshot (38).jpg (76.8 KB, 14 views)

Last edited by mlooti; January 18, 2017 at 03:06.
mlooti is offline   Reply With Quote

Old   January 18, 2017, 03:10
Default
  #4
Member
 
Tom
Join Date: Oct 2015
Posts: 67
Rep Power: 10
mlooti is on a distinguished road
Hi tim

I changed the code in geometry_structure.cpp as you mentioned in SU2-4.3.0 and everything’s works well

but when I compile the develop branch to see how it works the result was a bit confusing

I run the following command with both codes
Shape_optimization.py -f turb_NACA64A010.cfg
And here is the log adjoint file for the first design DSN_001 (I manage it to have just 4 time step)

As you see in develp branch the ExtItr is always 0 so it just call the firs direct time step???
Attached Files
File Type: zip Desktop.zip (11.4 KB, 1 views)
mlooti 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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 21:51
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03


All times are GMT -4. The time now is 06:39.