Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The problem is that the square wave has to generate a voltage across the cavity gap to bunch the beam. Now if your cavity is tuned to the square wave it will sort of work, but only the components within the bandwidth of the cavity will generate any voltage across the gap and hence any bunching effect.