Basics
Input Files
All GYRO input parameters reside in one of two files:
INPUT must always exist, whereas INPUT_profiles is required only when simulations are based on experimental profiles. These files are local to a given simulation directory, or simdir. Both INPUT and INPUT_profiles are parsed by a python script to generate new input files to be read directly by GYRO. The user need not pay attention to python-generated files.
Species Notation
We use the following simplified notation for species indices: . Here, corresponds to electrons, while correspond to primary ion, secondary ion, and so on. For example:
| Symbol
| INPUT Parameter
| Meaning
|
| (unit) | Electron density
|
| NI_OVER_NE | First (main) ion density
|
| NI_OVER_NE_2 | Second ion density
|
| NI_OVER_NE_3 | Third ion density
|
| DLNNDR_ELECTRON | Electron density gradient inv. length
|
| DLNNDR | First (main) ion density gradient inv. length
|
| DLNNDR_2 | Second ion density gradient inv. length
|
| DLNNDR_3 | Third ion density gradient inv. length
|
Normalization
Lengths and times in GYRO are normalized according to the quantities in the table below. An overbar, in general, means that the quantity is evaluated at the reference radius, .
| Quantity
| Unit
| Description
|
| Length | | Minor radius
|
| Velocity | | Sound speed at reference radius
|
| Time | | Minor radius over sound speed at the reference radius
|
Diffusivities in GYRO output files are expressed in gyroBohm units.
We have also defined
- Reference radius
-
(this is specified using RADIUS).
- Ion sound gyroradius
-
- Ion sound speed
-
- gyroBohm unit diffusivity
-
Computed Quantities
In this section we list primitive definitions of computed quantities. The normalization of these quantities is detailed in the output file section.
Potentials
The electrostatic potential is
, where .
The parallel part of the vector potential is
, where .
Above, (see geometry notes for more details).
These expansions are subject to the reality condition . Thus, we solve numerically for the coefficients , and obtain the others by reflection.
Eigenmode frequencies
For linear simulations only, GYRO will compute the mode frequency and growth rate under the assumption that
,
such that
.
Density fluctuations
Energy fluctuations
Particle diffusivity
For nonlinear simulations, or linear simulations with quasilinear estimates, we define
, where
is the particle flux. Because is bilinear, it is computed as a sum over
where .
Note that there is no contribution from .
Energy diffusivity
For nonlinear simulations, or linear simulations with quasilinear estimates, we define
, where
is the energy flux. Because is bilinear, it is computed as a sum over
where .
Note that there is no contribution from .
Contributions from magnetic flutter
Note that the diffusivities have so-called electrostatic and magnetic flutter components, corresponding to the and parts of
.
|