GenLinWin
CEA    Saclay    Siiev    SAp    SPhN    SPP       drapeau

Service des Accélérateurs, de Cryogénie et de Magnétisme

GenLinWin

GenLinWin is a code for designing an independently phased cavities section. It helps to tune the amplitude and the phase of each cavity of the array. The input parameters are the following :

·    frequency,

·    particle type (charge and mass),

·    initial and final energy,

·    beam current,

·    intermediate characteristic in the linac (exit of intermediate sections).

 

A section is described with a geometrical ß, the number of cells per cavity, the number of cavities per cryomodule, the number of cryomodule per focusing period. Distances between elements can be easily defined. The field profile on the beam axis can be represented with an external file of by using a sophisticated model which allows to take into account the drift tube effect (length and aperture). This model is very useful in case the code is used to optimize the characteristics of the cavities with the presence of fringe fields. Different types of resonators have been successfully described with this model : quarter and half wave resonators, elliptical cavities.

For optimization processes, it is possible to constraint by setting a maximum field, a maximum power per cavity or the phase advance per period.

The transition between sections can be performed according to different techniques : continuity of the longitudinal acceptance [], continuity of the phase advance per meter. The computations of the code are based on the transport of generating particles which is performed with the Runge Kutta algorithm (order 4).

Each generated linac is described in the .dat format of the TraceWin code. A lot of chart describing the linac (power, transit time factor, field,…) where zoom, hardcopy, save on disk, scale change, copy-paste tools can be used.

The present version of GenLinWin is only win32 compatible but it has been used with an excellent stability with the wine emulator on several linux distributions. 



download : code GenLinWin

Contact: Didier Uriot
didier.uriot@cea.fr