Using numerical simulation, the study of the process of rapid local energy release in supersonic flow in a two-dimensional unsteady case and the process of separation point shift by a gas-dynamic perturbation caused by the energy input into the flow were carried out. The flow around the airfoil was modeled as laminar, and local heat release as a instantaneous isochoric process without changing the gas density. The value of energy input and the place of gas heating on the surface of the airfoil were varied. The cases of initiation of energy input at a certain distance before and after the initial position of the separation point, as well as immediately before the separation point, were considered. During obtained flow patterns processing, the displacement of the separation point position downstream, the time of this displacement, the position and size of the separation region with reattachment and the lifetime of this flow zone were determined. The obtained data can help to choose a strategy for initiating energy input in a repetitively pulsed regime, as well as in a regime of a variable position of energy release on the surface of a body, streamlined by compressible gas flow.