|
|
The beam tracing code [GRAY](https://dx.doi.org/10.13182/fst07-a1494) performs the computation of the quasi-optical propagation of a Gaussian beam of electron cyclotron waves in a general tokamak equilibrium, and of the power absorption and driven current.
|
|
|
|
|
|
The propagation of a general astigmatic Gaussian beam is described within the framework of the complex eikonal approach in terms of a set of "extended" rays that allow for diffraction effects.
|
|
|
|
|
|
The absorbed power and the driven current density are computed along each ray solving the fully relativistic dispersion relation for electron cyclotron wave and by means of the neoclassical response
|
|
|
function for the current.
|
|
|
|
|
|
The equations and models used in GRAY to compute Gaussian beam propagation, absorption and current drive are summarized in the [Physics](Physics-model) section.
|
|
|
|
|
|
The main development version of the source code is currently managed under a Git [repository](https://maxwell.ydns.eu/git/istp/gray), which allows to compile the code as a stand-alone executable or as a library to be called from within the [JINTRAC](https://git.ccfe.ac.uk/jintrac/jetto-sanco) suite.
|
|
|
|
|
|
Two forks of the code happened in the past, in the process of developing the interface for [integrated modelling](https://wpcd-workflows.github.io) workflows, and they are currently maintained in different repositories:
|
|
|
|
|
|
- [IMAS version at EUROfusion](https://gforge-next.eufus.eu/svn/gray)
|
|
|
- [IMAS version at ITER](https://git.iter.org/projects/HEAT/repos/gray/)
|
|
|
|
|
|
For the main development version of GRAY, we provide here a complete description of the code [parameters](Code-parameters), [input](Input-data) and [output](Output-data) data. |
|
|
\ No newline at end of file |