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

inviscid Adjoint variables on airfoil profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2018, 08:24
Default inviscid Adjoint variables on airfoil profile
  #1
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Hi everyone,
I wonder if anyone has had experience comparing SU2 adjoint solutions at airfoils profile for different mesh refinement. In the attached figure I plot the surface value of the density discrete adjoint variable for drag on 5 different triangular meshes (each one obtained from the previous one by uniform refinement) for inviscid NACA0012 flow with M = 0.8 and aoa = 1.25.
(the solution has not been obtained with SU2 but with DLR's Tau code; I'm trying to see if anyone has had this kind of experience with SU2).

Continuous adjoint shows similar trends, and the sensitivities are OK (they do not show the same lack of mesh convergence as the surface adjoint values).

Any comments would be appreciated.
Regards,
Attached Images
File Type: png wall.png (17.8 KB, 15 views)
CarlosLozano is offline   Reply With Quote

Old   February 9, 2018, 05:47
Default follow-up on inviscid Adjoint variables on airfoil profile
  #2
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Hi,
it appears that SU2 has this very same issue, so it must be something inherent in the adjoint equations (probably linked to the adjoint singularity at the trailing edge).
Attached Images
File Type: png SU2_wall.png (14.5 KB, 12 views)
CarlosLozano is offline   Reply With Quote

Old   February 12, 2018, 04:19
Default
  #3
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Carlos,

I don't really understand the issue here. Can you elaborate more on that ? Is mesh 0 the finest or mesh 4 ? What other behavior would you expect ?

Regards,
Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   February 12, 2018, 05:39
Default
  #4
New Member
 
Join Date: Feb 2018
Posts: 27
Rep Power: 8
CarlosLozano is on a distinguished road
Quote:
Originally Posted by talbring View Post
Hi Carlos,

I don't really understand the issue here. Can you elaborate more on that ? Is mesh 0 the finest or mesh 4 ? What other behavior would you expect ?

Regards,
Tim

Hi Tim,
mesh 0 is coarsest. The issue here is that, in principle, as you refine the mesh you should expect that the computations would converge to a result, not change continually as the mesh is refined. When this happens, as in this case, you have to understand why. it can either be a bug (which I believe can be ruled out now since two different codes give simialr results) or a more fundamental issue. When I first posted the comment I hadn't done the computations with SU2 yet, so I wanted to check if some SU2 user had experienced the same "problem". Now I positively know that SU2 yields the same result, so the post can serve just to point out that this apparently odd behavior IS the one to expect. I believe this is related to the numerical adjoint system, which is afected by the singularity at the trailing edge. Inviscid adjoints are generically singular at trailing edges (meaning that the analytic solution has an infinite value there). In the discrete solution this is reflected in the growing values of the sirface adjoint near the trailing edge as the mesh is refined. These increasingly larger values probably corrupt the adjoint solution throughout the airfoil profile, causing the mesh divergent behavior we see.
CarlosLozano is offline   Reply With Quote

Old   February 24, 2018, 13:35
Default
  #5
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Hi Carlos,

The discrete adjoint in SU2 uses AD (it is not a manual implementation of the discrete adjoint) and the entire code has been differentiated. It would be interesting to check if you have the same problem with the AD in SU2.

Best,
Francisco

BTW Continuous adjoint is not the preferred option in SU2. However, there have been a lot of progress trying to understand the limitation of the surface formulation vs. domain formulation. If you are interested in collaborate with us feel free to use GitHub (pull request) or take a look at the SU2 IDS (www.su2devsociety.org)
fpalacios 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
Inviscid 2D Airfoil Case doug OpenFOAM Running, Solving & CFD 8 October 13, 2010 07:06
Oscillating Airfoil - Dynamic meshing or user-defined velocity profile. DarrenC Main CFD Forum 5 July 19, 2010 22:33
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36
oscillating airfoil in an inviscid fluid flow S.T Main CFD Forum 6 December 10, 2007 08:07
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 12:19


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