November 30, 2012. Updated: November 9, 2024
The beam tracing code GRAY 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 [1]. 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 aim of the present note is to document the current version of the GRAY code, by describing the main code features and listing the inputs and outputs. To this goal in sec. 2 the main equations and models used in the GRAY code to compute Gaussian beam propagation, absorption and current drive are summarized shortly. In sec. 3, the details on the code inputs and outputs are presented.
A few sets of coordinate systems are used in the code. The reference system is the right handed Cartesian orthogonal system with axis being the tokamak symmetry axis. For the purpose of the physics analysis this coordinate system may be rotated around the axis so that the plane contains the launching point, i.e., vertical, radially outward through the port center, and pointing in the counter clockwise direction when viewed from above.
In addition to the right handed Cartesian orthogonal system specified above, we introduce also a right-handed cylindrical system with transformation from the cylindrical to the Cartesian system given by , , .
In the complex eikonal framework, a solution of the wave equation for the electric field is looked for in the form
such that it allows for Gaussian beam descriptions. In eq. 1, is the real frequency, the wavevector amplitude in vacuum, the normalised polarisation (Jones) vector and the slowly varying wave amplitude.
The function is the complex eikonal, , in which the real part is related to the beam propagation as in the geometric optics (GO), and the imaginary part to the beam intensity profile shape, as it is apparent writing eq. 1 as
We introduce a reference system , in which the axis is directed along the direction of propagation of the beam and the axis lies in the horizontal plane (i.e., ), and two additional coordinate systems, and in the plane, rotated by the angles and , respectively,
In the and systems, the axes are aligned with the major and minor axes of the intensity and phase ellipses respectively, and the general astigmatic Gaussian beam in vacuum takes the simple form [2]
Note that a general astigmatic Gaussian beam is described in terms of six parameters: the beam widths , the phase front curvature radii and the intensity and phase ellipses rotation angles .
Simple astigmatic beams can be described in terms of 5 parameters only, because the phase and intensity ellipses are aligned, i.e., : , , or alternatively by the beam waists , the waists coordinates , and , where , are related to , by the following equations:
and is the Raylegh length. According to eq. 5, a convergent beam () has , while a divergent beam has .
The beam tracing equations and the algorithm for their solution are described in detail in [1].
The “extended” rays obey to the following quasi-optical ray-tracing equations that are coupled together through an additional constraint in the form of a partial differential equation: where the function is the QO dispersion relation, which reads
being , , and the solution of the cold dispersion relation for the considered mode.
In GRAY three choices for the integration variable are available, i.e.: 1. the arclength along the trajectory , 2. the time , and 3. the real part of the eikonal function .
The default option is the variable and the QO ray equations become:
The QO ray equations eq. 7 are solved for rays distributed in order to simulate the Gaussian pattern of an actual antenna, with initial position on a suitable surface at the antenna centered on the beam axis.
The rays are distributed radially up to a “cut-off” radius defined as such that the beam carries a fraction of the input power equal to . The angular rays are distributed at constant electric field amplitude (i.e. at ). Details are given in [1].
Care must be taken in the proper choice of the integration step to avoid the occurrence of numerical instabilities due to the last equation in the set eq. 7. The value must be tuned with respect to the number of rays (i.e., to the distance between rays).
The code can be run also as a “standard” ray-tracing code, simply imposing in eqns. 6, 7. In this case the initial conditions are given to asymptotically match, for , the ray distribution used for the QO ray-tracing.
The launching coordinates of the central ray of the EC beam will be denoted either as , or , depending on the coordinate system used (cartesian or cylindrical) and the launched wavevector will have components , and , related by
The poloidal and toroidal angles are defined in terms of the cylindrical components of the wavevector
with , and , so that
A 1-D scan of launch angle with constant toroidal component at launch () is achieved by varying only , keeping fixed. Injection at results in a ray launched horizontally and in a poloidal plane towards the machine centre. The above choice is quite convenient to perform physics simulations, since EC results are invariant under toroidal rotation, due to axisymmetry. This convention is the same used for the EC injection angles in ITER [3].
The EC power is assumed to evolve along the ray trajectory obeying to the following equation
where here is the absorption coefficient
being (and ) the perpendicular refractive index (and wave vector) solution of the relativistic dispersion relation for EC waves
The warm dispersion relation is solved up to the desired Larmor radius order either in the weakly or the fully relativistic approximation as described in [4].
Integration of eq. 10 yields the local transmitted and deposited power in terms of the optical depth as respectively, being the injected power.
The flux surface averaged absorbed power density is computed as the the ratio between the power deposited within the volume between two adjacent flux surfaces and the volume itself. At each position along the ray trajectory (parametrized by ), the absorbed power density can be written in terms of the absorption coefficient as
being the ray length between two adjacent magnetic surfaces, and the associated volume.
Within the framework of the linear adjoint formulation, the flux surface averaged EC driven current density is given by
where is a current drive efficiency, which can be expressed as a ratio between two integrals in momentum space
where is the collision frequency, with the Coulomb logarithm, and , are the minimum value and the flux surface averaged value of the magnetic field on the given magnetic surface, respectively.
The functions and are the normalized absorbed power density and current drive efficiency per unit momentum [1]. Note that the warm wave polarisation is used to compute . In the adjoint formulation adopted here, the function is written in terms of the response function for the current, and its explicit expression is related to the chosen ECCD model.
The flux surface average driven current density eq. 13 can be written as [1]
and the equation for the current evolution along the ray trajectory as where is an effective radius for the computation of the driven current being the poloidal flux function.
Two models for efficiency in eq. 14 are implemented for ECCD calculations, a Cohen-like module in the high-velocity limit and the momentum conserving model developed by Marushenko. The used Cohen-like module, developed explicitly for GRAY, is described in [1]. The Marushchenko module [5] has been incorporated into GRAY as far as the energy part is concerned, while the pitch-angle part on trapping is based on a local development.
In GRAY, three outputs for the EC driven current density are given. The EC flux surface averaged driven parallel current density , that is the output of the ECCD theory, defined as a toroidal driven current density defined as
being the current driven within the volume between two adjacent flux surfaces, and the poloidal area between the two adjacent flux surfaces, such that the total driven current is computed as .
Finally, an EC flux surface averaged driven current density to be compared with transport code outputs
with the value dependent on the transport code, i.e, for ASTRA and CRONOS, and for JINTRAC.
The above definitions are related to each other in terms of flux surface averaged quantities, dependent on the equilibrium, i.e.,
Driven current and absorbed power density profiles, , , can be characterized in term of suitable quantities. In GRAY, two approaches are followed, both available at each computation, that yields the same results in case of almost Gaussian profiles. Here, the flux label denotes the normalized toroidal radius defined as the square root of the toroidal flux normalized to its edge value.
In the first case, the profiles are characterized in terms of three quantities: the peak value of the toroidal current density , the radius corresponding to the peak, and the full profile width at 1/e of the peak value. In addition, the ratio between is computed at the peak radius via eq. 18 for the two choices.
The second approach applies also to non monotonic profiles. Two average quantities are computed for both power and current density profiles, namely, the average radius
and average profile width defined in terms of the variance as
Factor is introduced to match with the definition of the full profile width in case of Gaussian profiles. Consistently with the above average definitions, we introduce suitable peak values and , corresponding to those of a Gaussian profile characterized by eqns. 19, 20 and same total absorbed power and driven current
The polarisation of the beam is used to compute the coupling to the Ordinary (O) and Extraordinary (X) plasma modes when the beam crosses the vacuum-plasma interface. The fraction of power converted into a mode is given by the coupling coefficient where are the plasma mode and beam Jones vectors, respectively. The mode vector is defined as the eigenvector of the cold plasma dielectric tensor in the low density limit. The beam vector at launch is computed from the polarisation ellipse parameters using the formula:
The following convention is assumed (illustrated in fig. 1):
is the angle between the axis and the major axis.
where are ellipse major and minor semi-axes, respectively.
A positive corresponds to an ellipse rotated counterclockwise in the plane.
A positive corresponds to an ellipse traced clockwise in the plane with the axis in the direction of the wave propagation. In other words: negative helicity (projection of spin angular momentum unto wavevector) or left handed wave (IEEE convention).
If the initial polarisation is not specified, 100% coupling to a given mode is assumed.
A model for wave reflection on a smooth surface is included in GRAY. This is used to describe the beam reflection on the inner wall of the tokamak in the cases where only partial absorption occurs at the first pass in the plasma. An ideal conductor is assumed for the reflecting surface, so that the full power of the incident beam is transferred to the reflected one. The vector refractive index and the Jones vector of the reflected beam are being and the vector refractive index and the Jones vector of the incoming wave, and the normal unit vector to the wall at the beam incidence point.
The reflected beam Jones vector is again used to compute the coupling to the plasma modes at the second and successive pass, with potentially independent modes being traced after n reflections.
Note that the Jones vectors of the ordinary and extraordinary modes are orthogonal w.r.t. the standard Hermitian product: . From eq. 22 it then follows that these relations hold: with the latter meaning all the incoming power is coupled to the plasma.
This section describes the input data required by GRAY and the output files that are saved and stored for the GRT-161 analysis. In tbl. 1 the assigned unit numbers used for various input and output files in GRAY are listed. Shell scripts allow to run the code for various input data that are varied by means of suitable loops.
Unit Number | I/O | Content | Filename |
---|---|---|---|
2 | I | Input data | gray_params.data |
99 | I | Equilibrium file EQDSK | filenmeqq.eqdsk |
98 | I | Kinetic profiles | filenmeprf.prf |
97 | I | Beam data | filenmebm.txt |
4 | O | Data for central ray | None |
7 | O | Global data and results | None / assigned by shell script |
48 | O | ECRH&CD profiles | None / assigned by shell script |
33 | O | Data for outmost rays | None |
8 | O | Beam cross section shape | None |
9 | O | Rays distribution at the end of the integration path | None |
12 | O | Beam transverse sizes | None |
17 | O | Beam tracing error on Hamiltonian | None |
55 | O | Kinetic profiles | None |
56 | O | Flux averaged quantities | None |
70 | O | EC resonance surface at relevant harmonics | None |
71 | O | Flux surface contours at | None |
78 | O | Record of input parameters | headers.txt / attached to
output by shell script |
To run GRAY, the user must supply a gray_params.data
file and two files, containing information about the MHD equilibrium and
the kinetic profiles, respectively.
The variables and quantities in gray_params.data
are
listed in tbls. 6-8,
suitably grouped together. The equilibrium information is provided via a
G-EQDSK file (with extension .eqdsk
), with conventions
specified as in [6]. The kinetic
profiles are provided in an ASCII file (with extension
.prf
). The format of the G-EQDSK file is described in
sec. 3.2, while the format of the
.prf
file for the profiles is the following quantities
defined in tbl. 9:
read (98,*) npp
do i=1,npp
read(98,*) psin(i),Te(i),ne(i),Zeff(i)
end do
The beam parameters are read either from the
gray_params.data
file, or from an ASCII file (with
extension .txt
), depending on the value of the
ibeam
parameter as specified in tbl. 6. If the ASCII file is used, the user can supply
multiple launching conditions, and/or use a general astigmatic Gaussian
beam. The format of the .txt
file is the following, for
ibeam
=1 and ibeam
=2 respectively (quantities
defined in tbl. 10):
! +++ IBEAM=1 +++
read(97,*) nsteer
do i=1,nsteer
read(97,*) gamma(i),alpha0(i),beta0(i),x0mm(i),y0mm(i),z0mm(i), &
w0xi(i),d0eta(i),w0xi(i),d0eta(i),phiw(i)end do
! +++ IBEAM=2 +++
read(97,*) nsteer
do i=1,nisteer
read(97,*) gamma(i),alpha0(i),beta0(i),x0mm(i),y0mm(i),z0mm(i), &
wxi(i),weta(i),rcixi(i),rcieta(i),phiw(i),phir(i)end do
The G EQDSK file provides information on:
All quantities are defined on a uniform flux grid from the magnetic axis to the plasma boundary and the poloidal flux function on the rectangular computation grid. A right-handed cylindrical coordinate system is used.
In order of appearance in the file:
Name | Type | Description |
---|---|---|
case |
String(6) | Identification string |
nw |
Integer | Number of horizontal grid points |
nh |
Integer | Number of vertical grid points |
Name | Type | Unit | Description |
---|---|---|---|
rdim |
Real | m | Horizontal dimension of the computational box |
zdim |
Real | m | Vertical dimension of the computational box |
rleft |
Real | m | Minimum R of the rectangular computational box |
zmid |
Real | m | Z of center of the computational box |
rmaxis |
Real | m | R of the magnetic axis |
zmaxis |
Real | m | of the magnetic axis |
Name | Type | Unit | Description |
---|---|---|---|
simag |
Real | Wb/rad | Poloidal flux at the magnetic axis |
sibry |
Real | Wb/rad | Poloidal flux at the plasma boundary |
rcentr |
Real | m |
of vacuum toroidal magnetic field bcentr |
bcentr |
Real | T | Vacuum toroidal magnetic field at
rcentr |
current |
Real | A | Plasma current |
fpol |
Real | mT | Poloidal current function, on the flux grid |
pres |
Real | Pa | Plasma pressure on a uniform flux grid |
ffprim |
Real | (mT²)/(Wb/rad) | on a uniform flux grid |
pprime |
Real | Pa/(Wb/rad) | on a uniform flux grid |
psizr |
Real | Wb/rad | Poloidal flux on the rectangular grid points |
qpsi |
Real | 1 | values on uniform flux grid from axis to boundary |
Name | Type | Unit | Description |
---|---|---|---|
nbbbs |
Integer | 1 | Number of boundary points |
limitr |
Integer | 1 | Number of limiter points |
rbbbs |
Real | m | of boundary points |
zbbbs |
Real | m | of boundary points |
rlim |
Real | m | of surrounding limiter contour |
zlim |
Real | m | of surrounding limiter contour |
The toroidal current (A/m²) is related to and through
The following snippet can be used to load a G-EQDSK file:
character*10 case(6)
dimension psirz(nw,nh),fpol(1),pres(1),ffprim(1),
. pprime(1),qpsi(1),rbbbs(1),zbbbs(1),
. rlim(1),zlim(1)
c
read (neqdsk,2000) (case(i),i=1,6),idum,nw,nh
read (neqdsk,2020) rdim,zdim,rcentr,rleft,zmid
read (neqdsk,2020) rmaxis,zmaxis,simag,sibry,bcentr
read (neqdsk,2020) current,simag,xdum,rmaxis,xdum
read (neqdsk,2020) zmaxis,xdum,sibry,xdum,xdum
read (neqdsk,2020) (fpol(i),i=1,nw)
read (neqdsk,2020) (pres(i),i=1,nw)
read (neqdsk,2020) (ffprim(i),i=1,nw)
read (neqdsk,2020) (pprime(i),i=1,nw)
read (neqdsk,2020) ((psirz(i,j),i=1,nw),j=1,nh)
read (neqdsk,2020) (qpsi(i),i=1,nw)
read (neqdsk,2022) nbbbs,limitr
read (neqdsk,2020) (rbbbs(i),zbbbs(i),i=1,nbbbs)
read (neqdsk,2020) (rlim(i),zlim(i),i=1,limitr)
c
2000 format (6a8,3i4)
2020 format (5e16.9)
2022 format (2i5)
GRAY outputs are given in ASCII files at each GRAY execution. tbls. 11, 12 describe the outputs reported in units 7 and 48, respectively.
Variable | Type | Units | Valid range | Definition |
---|---|---|---|---|
alpha0 |
Real | deg | Poloidal injection angle , defined in eq. 9. | |
beta0 |
Real | deg | Toroidal injection angle , defined in eq. 9. | |
fghz |
Real | GHz | EC frequency. | |
P0 |
Real | MW | EC injected power. | |
Nrayr |
Integer | 1 | Number of rays in radial direction + 1 in the center, . | |
Nrayth |
Integer | 1 | Number of rays in angular direction. | |
rwmax |
Real | “cut-off” size of the gaussian beam. (typical ), defined at page. | ||
x0 |
Real | cm | coordinate of the launching point. | |
y0 |
Real | cm | coordinate of the launching point. | |
z0 |
Real | cm | coordinate of the launching point. | |
w0xi |
Real | cm | Beam waist in beam reference system. along , defined in eq. 5. | |
w0eta |
Real | cm | Beam waist in beam reference system. along , defined in eq. 5. | |
d0xi |
Real | cm | coordinate of beam waist ,. defined in eq. 5. | |
d0eta |
Real | cm | coordinate of beam waist ,. defined in eq. 5. | |
phiw |
Real | deg | Rotation angle of local beam coordinate. system, defined in eq. 3. | |
ibeam |
Integer | 0, 1, 2 | Input source for beam data: 0=simple
astigmatic beam with parameters as above, 1=simple astigmatic beam from
filenmbm , 2=general astigmatic beam from
filenmbm . |
|
irho |
Integer | 0, 1, 2 | Coordinate of the input profiles: 0=, 1=, 2=. | |
filenmbm |
String | len | Name of file (extension .txt
appended) with beam. parameters, used if
. |
|
iox |
Integer | 1, 2 | 1=Ordinary mode (OM), 2=Extraordinary (XM) mode. | |
ipol |
Integer | 0, 1 | Whether to compute the mode at the
launcher from the polarisation: 0=use iox , 1=use
psipol0 , chipol0 angles. |
|
psipol0 |
Real | deg | Wave polarisation angle at the launching point. | |
chipol0 |
Real | deg | Wave polarisation angle at the launching point. |
Variable | Type | Units | Valid range | Definition |
---|---|---|---|---|
iequil |
Integer | 0, 1, 2 | Magnetic equilibrium model: 0=vacuum (no plasma at all), 1=analytical 2=G-EQDSK. | |
ixp |
Integer | -1, 0, 1 | X point occurrence: -1=bottom, 0=none, +1=top. | |
iprof |
Integer | 0, 1 | Kinetic profiles: 0=analytical 1=numerical. | |
filenmeqq |
String | len | Name of EQDSK file (extension
.eqdsk appended). |
|
ipsinorm |
Integer | 0, 1 | 0=dimensional (default), 1=normalized
(obsolete, for some old files
psi
in filenmeqq . |
|
sspl |
Real | 1 | Tension of spline fit for psi ( typical), 0=interpolation. | |
factb |
Real | 1 | Numerical factor to rescale the magnetic field . | |
factt |
Real | 1 | Numerical factor to rescale the electron temperature . | |
factn |
Real | 1 | Numerical factor to rescale the electron density . | |
iscal |
Int | 1, 2 | Model for
,
scaling with
:
1=constant
(ab =1), 2=none (ab =0). |
|
filenmprf |
String | len | Name of file for kinetic profiles | |
psdbnd |
Real | 1 | Normalized psi value at the plasma boundary where is set to zero (typ. ). | |
sgnbphi |
Real | 1 | -1, +1, 0 | Force signum of toroidal B, used if nonzero |
sgniphi |
Real | 1 | -1, +1, 0 | Force Signum of toroidal plasma current , used if nonzero |
icocos |
Int | 1-8, 11-18 | COCOS index used in the EQDSK equilibrium as defined in [6]: |
Variable | Type | Units | Valid range | Definition |
---|---|---|---|---|
iwarm |
Integer | 0, 1, 2, 3 | Absorption model: 0=none (α=0), 1=weakly relativistic, 2=fully relativistic (fast), 3=fully relativistic (slow). | |
ilarm |
Integer | 1 | Order of Larmor radius expansion for absorption computation local EC harmonic number. | |
ieccd |
Integer | 0, 1, 11 | Current drive model: 0=none, 1=Cohen, 2=No trapping 3=Neoclassical. | |
igrad |
Integer | 0, 1 | Ray-tracing model: 0=optical, 1=quasi-optical (requires ). | |
idst |
Integer | 0, 1, 2 | Ray-tracing integration variable: 0=, e1=, 2=, (default=0). | |
dst |
Real | cm | Spatial integration step. | |
nstep |
Integer | 1 | Maximum number of integration steps. | |
istpr |
Integer | 1 | Subsampling factor for beam cross section data output (units 8, 12). | |
istpl |
Integer | 1 | Subsampling factor for outmost rays data output (unit 33). | |
ipec |
Integer | 1, 2 | Grid spacing for ECRH&CD profiles: 1=equispaced in , 2=equispaced in , | |
nnd |
Integer | 1 | Number of points in the ECRH&CD profile grid. | |
ipass |
Integer | =number
of passes into plasma: -2=reflection at rwallm ,
+2=reflection at limiter. Surface given in EQDSK. |
||
rwallm |
Real | m | Inner wall radius for 2nd pass
calculations, used only for
ipass =. |
Variable | Type | Units | Valid range | Definition |
---|---|---|---|---|
npp |
Integer | 1 | Number of points in psin
table |
|
psin |
real | 1 |
psdbnd |
Poloidal flux normalized over the value at the LCS |
Te |
real | keV | Electron temperature | |
ne |
real | 10¹⁹m⁻³ | Electron density | |
Zeff |
real | 1 | Effective charge, |
Variable | Type | Units | Valid range | Definition |
---|---|---|---|---|
nsteer |
Integer | 1 | Number launching conditions in table. | |
gamma |
Real | deg | Steering angle w.r.t. a reference position (unused). | |
alpha0 |
Real | deg | Poloidal injection angle . | |
beta0 |
Real | deg | Toroidal injection angle . | |
x0mm |
Real | mm | coordinate of the launching point. | |
y0mm |
Real | mm | coordinate of the launching point. | |
z0mm |
Real | mm | coordinate of the launching point. | |
w0xi |
Real | mm | Beam waist along . | |
w0eta |
Real | mm | Beam waist along . | |
d0xi |
Real | mm | coordinate of beam waist , | |
at launching point. | ||||
d0eta |
Real | mm | coordinate of beam waist , | |
at launching point. | ||||
wxi |
Real | mm | Beam width at the launching point. | |
weta |
Real | mm | Beam width at the launching point. | |
rcixi |
Real | mm⁻¹ | Inverse of phase front curvature radius at the launching point. | |
rcieta |
Real | mm⁻¹ | Inverse of phase front curvature radius at the launching point. | |
phiw |
Real | deg | Rotation angle of the reference system, defined in eq. 3. | |
phir |
Real | deg | Rotation angle of the reference system, defined in eq. 3. |
Variable | Type | Units | Definition |
---|---|---|---|
Icd |
Real | kA | EC total driven current . |
Pa |
Real | MW | EC total absorbed power . |
Jphimx |
Real | MA⋅m⁻² | EC peak current density . |
dPdVmx |
Real | MW⋅m⁻³ | EC peak power density . |
rhotj |
Real | 1 |
value corresponding to Jphimx . |
rhotp |
Real | 1 |
value corresponding to dPdVmx . |
drhotj |
Real | 1 | Full width at of driven current density profile. |
drhotp |
Real | 1 | Full width at of power density profile. |
Jphip |
Real | MA⋅m⁻² | EC peak current density from Gaussian profile, defined in eq. 21. |
dPdVp |
Real | MW⋅m⁻³ | EC peak power density from Gaussian profile, defined in eq. 21. |
rhotjava |
Real | 1 | value averaged over current density profile, defined in eq. 19. |
rhotpav |
Real | 1 | value averaged over power density profile, defined in eq. 19. |
drhotjava |
Real | 1 | Full width of the driven current density profile, defined in eq. 20. |
drhotpav |
Real | 1 | Full width of the driven power density profile, defined in eq. 20. |
ratjbmx |
Real | 1 | Ratio
at
rhotjava ,
with
. |
ratjamx |
Real | 1 | Ratio
at
rhotjava ,
with
|
stmx |
Real | cm | Path from the launching point and peak for the central ray. |
psipol |
Real | deg | polarisation angle at vacuum-plasma boundary. |
chipol |
Real | deg | polarisation angle at vacuum-plasma boundary. |
index_rt |
Integer | Index encoding mode and pass number, see sec. 4.1. |
Variable | Type | Units | Definition |
---|---|---|---|
psin |
Real | 1 | Normalized poloidal flux. |
rhot |
Real | 1 | Normalized minor radius . |
Jphi |
Real | MA⋅m⁻² | EC current density , with the area of the poloidal section labelled by . |
Jcdb |
Real | MA⋅m⁻² | EC current density . |
dPdV |
Real | MW⋅m⁻³ | EC power density . |
Icdins |
Real | kA | EC current driven inside surface of radius , . |
Pins |
Real | MW | EC power absorbed inside surface of radius , . |
P% |
Real | 1 | Fraction of power deposited inside radius
,
P% . |
index_rt |
Integer | Index encoding mode and pass number, see sec. 4.1. |
index_rt
The index_rt
is a unique index assigned to each
combination of beam propagation mode and number of passes into the
plasma. Initially index_rt
is 1 for the ordinary mode or 2
for the extraordinary mode. Due to the mode mixing, on subsequent passes
each beam splits into two modes and the index_rt
is updated
as:
= 2*index_rt + 1 ! for the O mode
index_rt = 2*index_rt + 2 ! for the X mode index_rt
It follows that ordinary(extraordinary) modes respectively have
odd(even) indices and the number of passes is given by
.
For example, an index_rt
=19 denotes the following chain:
The code GRAY is maintained under Git revision control in a local repository at ISTP-CNR. The changes in input/output variables and parameters names are listed in tbl. 13, below.
Unit | Rev. 4 | Rev. 19 | Rev. 24+ | Rev. 60 | Notes |
---|---|---|---|---|---|
2,78 | alfac |
alpha0 |
|||
2,78 | betac |
beta0 |
|||
2,78 | nray |
nrayr |
|||
2,78 | ktx |
nrayth |
|||
2,78 | rmx |
rwmax |
|||
2,78 | x00 |
x0 |
|||
2,78 | y00 |
y0 |
|||
2,78 | z00 |
z0 |
|||
2,78 | w0xt |
w0xi |
|||
2,78 | w0yt |
w0eta |
|||
2,78 | pw0xt |
d0xi |
|||
2,78 | pw0yt |
d0eta |
|||
2,78 | awr |
phiw |
|||
2,78 | psipola |
psipol0 |
|||
2,78 | chipola |
chipol0 |
|||
7 | - |
ratjbmx |
Column header missing until rev. 24. | ||
7 | - |
ratjamx |
|||
7 | - |
Jphip |
|||
7 | - |
dPdVp |
|||
7 | polpsi |
psipol |
|||
7 | polchi |
chipol |
|||
48 | Jcda |
Jcdb |
Jcda : ASTRA, CRONOS,…,
Jcdb : JINTRAC def. See eq. 17. |
Istituto per la Scienza e Tecnologia dei Plasmi, Consiglio Nazionale delle Ricerche Via R. Cozzi, 53 - 20125 Milano, Italy↩︎
Istituto per la Scienza e Tecnologia dei Plasmi, Consiglio Nazionale delle Ricerche Via R. Cozzi, 53 - 20125 Milano, Italy↩︎
Istituto per la Scienza e Tecnologia dei Plasmi, Consiglio Nazionale delle Ricerche Via R. Cozzi, 53 - 20125 Milano, Italy↩︎
Università degli Studi di Milano-Bicocca, Piazza dell’Ateneo Nuovo, 1 - 20126, Milano↩︎