© 2023 by the authors. Licensee MDPI, Basel, Switzerland.Lozano, CarlosPonsin, J.2023-12-042023-12-042023-03-10Aerospace 10(3): 267(2023)https://www.mdpi.com/2226-4310/10/3/267http://hdl.handle.net/20.500.12666/910(This article belongs to the Special Issue Adjoint Method for Aerodynamic Design and Other Applications in CFD). © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).This paper considers the formulation of the adjoint problem in two dimensions when there are shocks in the flow solution. For typical cost functions, the adjoint variables are continuous at shocks, wherein they have to obey an internal boundary condition, but their derivatives may be discontinuous. The derivation of the adjoint shock equations is reviewed and detailed predictions for the behavior of the gradients of the adjoint variables at shocks are obtained as jump conditions for the normal adjoint gradients in terms of the tangent gradients. Several numerical computations on a very fine mesh are used to illustrate the behavior of numerical adjoint solutions at shocks.engAttribution-NonCommercial-NoDerivatives 4.0 Internationalhttps://creativecommons.org/licenses/by-nc-nd/4.0/Adjoint euler equationsShocksNormal derivativesShock equations and jump conditions for the 2D adjoint euler equationsinfo:eu-repo/semantics/article10.3390/aerospace100302672226-4310info:eu-repo/semantics/openAccess