Tutorials¶
The tutorials teach cavsim2d from the beginning, one task at a time. Each builds on the ones before it, so work through them in order. Each is a notebook: download it from the top of its page and run it yourself, or read it here with its results.
Every tutorial says what you need before you start and how long it takes to run. Results are saved in folders named after the cavities, next to the notebook.
- 1. Your first cavity: a pillbox
- 2. An elliptical cavity and its figures of merit
- 3. Is the mesh fine enough?
- 4. Tune a cell to a target frequency
- 5. Tune a multicell cavity
- 6. Compare designs: studies, sweeps and saved results
- 7. Wakefields and impedance
- 8. Multipacting
- 9. Shape optimisation
- 10. Uncertainty quantification
- 11. Beam lines
- 12. Your own cavity shape
After the tutorials, the user guide pages describe each analysis in full, with how-to guides for specific tasks, and the Glossary defines the terms they use.