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 nexppoint grid. The information included is sufficient to carry out simulations of stronglyshaped updown asymmetric (i.e., arbitrary) equilibria using the new HAM equilibrium parameters.
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
commandline tool.
parameter 
description 


Total number of ions (thermal and fast). 

Number of experimental data gridpoints. 

The dimensionless ONETWO fluxsurface label, \(\hat\rho = \rho(r)/\rho(a)\). This should span the region \({\hat\rho} \in [0,1]\) using n_grid_exp values. The gridspacing can be nonuniform. 

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}\). For more information, see plasma rotation. 

The generalized major radius, \(R_0(r)\), in units of \({\rm m}\). 

Fluxsurface elevation, \(Z_0\), in units of \({\rm m}\). 

The dimensionless plasma elongation, \(\kappa\). 

The dimensionless plasma triangularity, \(\delta\). 

Plasma squareness, \(\zeta\). 











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}\). 

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. 

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}\). 