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

- - **Total force optimization or pressure force optimization?**
(*http://www.cfd-online.com/Forums/su2-shape-design/120254-total-force-optimization-pressure-force-optimization.html*)

Hi Roberto,
Indeed, the force-based optimization in SU2 is based on the form of the objective function in your post. It turns out that, if you perform some manipulations/simplifications during the adjoint derivation including substitution of the N-S equations written on the surface, you arrive at an expression for the sensitivity that does not explicitly involve the pressure or stress tensor on the surface (please see Appendix E of "Continuous Adjoint Approach for the Spalart-Allmaras Model in Aerodynamic Optimization"). The surface sensitivity is computed for inviscid flows in CAdjEulerSolver::Inviscid_Sensitivity(CGeometry *geometry, CSolver **solver_container, CNumerics *numerics, CConfig *config) and for viscous flows in CAdjNSSolver::Viscous_Sensitivity(CGeometry *geometry, CSolver **solver_container, CNumerics *numerics, CConfig *config), which can both be found in the file solver_adjoint_mean.cpp in the latest version of the code. Hope this helps, and cheers, Tom |

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