input.gacode
To see what a sample input.gacode looks like, at the command line type
$ cgyro -g reg14 ; cat reg14/input.gacode
Overview
The file input.gacode contains the entire dataset required for specification of experimental profiles. All such profiles are specified on an nexp-point grid. The information included is sufficient to carry out simulations of strongly-shaped up-down asymmetric (i.e., arbitrary) equilibria using the new MXH equilibrium parameters [ACB20].
Profile ordering in input.gacode is arbitrary and comment lines (starting with #
in the first column) can be added for convenience. These comment lines are ignored by the parser. To generate input.gacode, please use the profiles_gen
command-line tool.
parameter |
description |
---|---|
|
Total number of ions (thermal and fast). |
|
Number of experimental data gridpoints. |
|
The dimensionless ONETWO flux-surface label, \(\hat\rho = \rho(r)/\rho(a) \in [0,1]\) (nonuniform allowed). |
|
The generalized minor radius, \(r\), in units of \({\rm m}\). See here for definition. |
|
Poloidal flux over \(2\pi\), in units of Webers/radian. |
|
Safety factor, \(q\). |
|
Rotation frequency, \(\omega_0 = \displaystyle \frac{c E_r }{R B_p} = -c \frac{d \Phi}{d \psi}\) in units of \({\rm rad/s}\) (see plasma rotation). |
shape |
– |
|
The generalized major radius, \(R_0(r)\), in units of \({\rm m}\). |
|
Flux-surface elevation, \(Z_0\), in units of \({\rm m}\). |
|
Flux-surface elongation, \(\kappa\). |
|
Flux-surface triangularity, \(\delta\). |
|
Flux-surface squareness, \(\zeta\). |
|
Flux-surface tilt. |
|
|
|
|
|
|
|
|
– |
|
|
The electron density, \(n_e\), in units of \(10^{19}/{\rm m}^3\). |
|
The electron temperature, \(T_e\), in units of \({\rm keV}\). |
|
Total plasma pressure, in units of Pascals. |
|
The (dimensionless) effective ion charge, \(Z_{\rm eff}\). |
|
Ion density in units of \(10^{19}/{\rm m}^3\). There is a column for every ion species. |
|
Ion temperature in units of \({\rm keV}\). There is a column for every ion species. |
|
Bootstrap current (parallel) in units of \({\rm MA/m^2}\). |
|
RF-driven current in units of \({\rm MA/m^2}\). |
|
Beam-driven current in units of \({\rm MA/m^2}\). |
|
Bootstrap current (toroidal) in units of \({\rm MA/m^2}\). |
|
Ion toroidal velocity in units of \({\rm m/s}\). There is a column for every ion species. |
|
Ion poloidal velocity in units of \({\rm m/s}\). There is a column for every ion species. |
powers |
– |
|
Ohmic power to electrons in units of \({\rm MW/m^3}\). |
|
Beam power to electrons in units of \({\rm MW/m^3}\). |
|
Beam power to ions in units of \({\rm MW/m^3}\). |
|
RF power to electrons in units of \({\rm MW/m^3}\). |
|
RF power to ions in units of \({\rm MW/m^3}\). |
|
Fusion power to electrons in units of \({\rm MW/m^3}\). |
|
Fusion power to ions in units of \({\rm MW/m^3}\). |
|
Electron synchrotron radiation in units of \({\rm MW/m^3}\). |
|
Bremsstrahlung radiation in units of \({\rm MW/m^3}\). |
|
Electron line radiation in units of \({\rm MW/m^3}\). |
|
Electron-ion exchange \({\rm MW/m^3}\). |
|
Recombination power to electrons in units of \({\rm MW/m^3}\). |
|
Recombination power to ions in units of \({\rm MW/m^3}\). |
|
Charge-exchange power to ions in units of \({\rm MW/m^3}\). |
particle sources |
– |
|
Beam-particle source density in units of \({\rm 1/m^3/s}\). |
|
Wall-particle source density in units of \({\rm 1/m^3/s}\). |
momentum source source |
– |
|
The total (convected and conducted) torque density in units of \({\rm N/m^2}\). |
Important
For more information about how powers are summed in TGYRO, please see Scenarios and connection to energy sources.