Validation¶
How far can you trust the numbers cavsim2d reports? These pages compare its results with exact answers, with other codes and with each other, and measure how the mesh and the solver settings change them. You do not need them to use cavsim2d; they are here so you can check its accuracy for yourself.
Against exact answers¶
Eigenmode analysis: the pillbox cavity: every mode of a closed cylinder, monopole to high azimuthal order, against the analytic spectrum.
Mesh convergence: how fine is fine enough?: how the error of a frequency falls as the mesh is refined, for a cavity whose frequency is known exactly.
Accuracy against time¶
Solver settings: time against accuracy: what each eigensolver setting costs in time and buys in accuracy, on a fixed mesh.
Against other methods and codes¶
Open boundaries (PML) and the radiated impedance: the impedance built from the modes of an open-ended solve, against the wakefield solver.
Dielectric loss: perturbation vs the full complex eigenproblem: the perturbative dielectric loss against the full lossy solve, over a range of loss tangents.
Eigenmodes from reduced and joined models: the resonances of reduced and joined frequency-domain models against the eigenmode solver.
Impedance spectrum of a cavity: frequency domain against ABCI: the impedance spectrum of a cavity from the frequency-domain solver against ABCI.
Beam coupling impedance: frequency domain against ABCI: the beam coupling impedance of a collimator from the frequency-domain solver against ABCI.