- **SU2 Shape Design**
(*http://www.cfd-online.com/Forums/su2-shape-design/*)

- - **Adjoint sensitivities at Mach 1.0 and above**
(*http://www.cfd-online.com/Forums/su2-shape-design/123068-adjoint-sensitivities-mach-1-0-above.html*)

Adjoint sensitivities at Mach 1.0 and aboveHi,
I'm running the continuous adjoint solver for the naca0012 airfoil from the provided test case in the SU2 package. I am manually comparing the adjoint sensitivities produced against finite differences. I have noticed that for Mach 1 and above that the adjoint sensitivities do not match with finite differences. Is there something that I need to change in the test case configuration other than just the Mach number? Do I need to define different boundary conditions in the farfield, such as supersonic inlet and supersonic outlet conditions? Thank you in advance, KW |

Hi KW,
As you know, obtaining good agreement between continuous adjoint and finite difference gradients can often be tricky business. The results can be very mesh dependent, very sensitive to the level of numerical dissipation used in the primal and adjoint problems, and the finite difference step size must also be selected carefully. In order to obtain good agreement, you might consider running an array of finite difference step sizes for the problem (the finite_differences.py script assumes 1e-4 by default, but can be adjusted with the '-s' option). You may also want to try a different/finer mesh which is better suited for the particular problem (note that the shock(s) will be in a different location) or to adjust the levels of artificial dissipation if you are using the JST scheme, for instance. The current far-field boundary condition implementation can handle the supersonic conditions. Hope some of these suggestions help. Thanks for using SU2, and all the best, Tom |

Thank you Tom.
I will give those suggestions a try. |

All times are GMT -4. The time now is 03:48. |