Numerical Studies on the Influence of Cavity Thermal Expansion on the Performance of a High-Power Gyrotron