The program CAVEL simulates the motion of ELectrons inside an RF CAVity. The cavity is assumed to be either an azimuthally symmetric cylinder or a rectangular box. The cavity may be immersed in a 2D or 3D external magnetic field. For the cylinder the cavity boundary coordinates and RF fields come from SuperFish.
CAVEL is under active development at the present time. It is being made available as a potential aid to members of the collaboration for studying cooling lattice design. Although considerable effort has gone into making the code give accurate answers, it is ultimately the user's responsibility to check that the program gives reasonable answers to any specific problem.
(19 October 2009)
Version 1.22 allows setting MAGDIM=0 for no external magnetic field. An interpolation error was fixed for cavity fields. (20 February 2009)
The tables below describes the available files, including a Windows executable and a users manual. The code may be accessed using the link at the bottom of the page.
| cavel.exe | Windows PC executable (binary) |
|---|---|
| cavel.f90 | CAVEL source file |
| cavel.inc | CAVEL source include file |
| CAVELman.pdf | CAVEL Users Manual |
| *.inp | CAVEL command input file |
| *.txt | SuperFish geometry file |
| *.T7 | SuperFish RF field file |
| *.dat | External magnetic field file |
You can download these files from the subdirectory V124 .
The previous release version can be found in V123 .