In intermediate cavities of a relativistic klystron amplifier (RKA) driven by intense relativistic electron beam, the equivalent circuit model, which is widely adopted to investigate the interaction between bunched beam and the intermediate cavity in a conventional klystron design, is invalid due to the high gap voltage and the nonlinear beam loading in a RKA. According to Maxwell equations and Lorentz equation, the self-consistent equations for beam-wave interaction in the intermediate cavity are introduced to study the nonlinear interaction between bunched beam and the intermediate cavity in a RKA. Based on the equations, the effects of modulation depth and modulation frequency of the beam on the gap voltage amplitude and its phase are obtained. It is shown that the gap voltage is significantly lower than that estimated by the equivalent circuit model when the beam modulation is high. And the bandwidth becomes wider as the beam modulation depth increases. An S-band high gain relativistic klystron amplifier is designed based on the result. And the corresponding experiment is carried out on the linear transformer driver accelerator. The peak output power has achieved 1.2 GW with an efficiency of 28.6% and a gain of 46 dB in the corresponding experiment.