The interior of an open cavity exposed to a grazing flow is known to experience strong periodic pressure oscillations sustained for a wide range of flow velocities. In the first part of the present study, an analytical model is developed to allow predictions of the amplitude and the frequency of the pressure fluctuations induced inside the cavity. The flow-excited cavity system is assumed to be described in the frequency domain by two gain functions, forming a closed-loop. The forward gain function is associated with the excitation mechanism, governed by the shedding of discrete vortices within the shear layer over the orifice. The backward gain function is associated with the acoustic response of the cavity resonator. An original approach ...