Title: Finite element analysis of rotationally symmetric electromagnetic cavities