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

SU2 Discrete Adjoint Error!!!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2019, 19:13
Default SU2 Discrete Adjoint Error!!!!
  #1
New Member
 
Vishal Chauhan
Join Date: Jan 2012
Posts: 14
Rep Power: 14
vishu343 is on a distinguished road
Hello All,


I am trying to verify sensitivity of Discrete Adjoint against Finite differences for tutorial case ONERAM6 (SU2 version 6.2.0).


I have plotted dCd/dX (Change of drag coefficient against change in one coordinate of FFD box like delx = 0.001).




In this case, what I see is that at trailing edge of the wing, values differ significantly compared to Finite difference and in other words, Discrete Adjoint seems to be matching with Continuous Adjoint and there is no clear benefit of using Discrete Adjoint in this case.



Would anybody shed some light on such issue or anybody might have experienced something like this!


Thanks a lot!
vishu343 is offline   Reply With Quote

Old   September 15, 2019, 07:22
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Are you using the sharp corner filter option?
pcg is offline   Reply With Quote

Old   September 15, 2019, 08:50
Default
  #3
New Member
 
Vishal Chauhan
Join Date: Jan 2012
Posts: 14
Rep Power: 14
vishu343 is on a distinguished road
Hi, Thanks for your reply.

No, I am not aware of it (sharp corner filter option). What is that actually! Does it affect discrete adjoint sensitivity.

Thanks.
vishu343 is offline   Reply With Quote

Old   September 16, 2019, 06:48
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
It is a limiter for the sensitivities in areas where geometry changes very rapidly, it avoids numerical issues but it could explain why you see a mismatch close to the trailing edge.
The name of the option is SENS_REMOVE_SHARP, by default it is off so if you don't see it in your cfg file it is not being used.

Have you checked the FD value you get is (more or less) independent of the perturbation you use?
pcg is offline   Reply With Quote

Old   October 15, 2019, 19:55
Default
  #5
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 25
Rep Power: 7
cfdjetman is on a distinguished road
I've posted my question here


the gradients calculated through discrete adjoint are near zero


Could you someone help with this issue.
cfdjetman is offline   Reply With Quote

Reply

Tags
discrete adjoint, sensitivity analysis, 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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 22:37.