Analysis of an overmoded re-entrant cavity