INPUT_profiles
Example
A sample INPUT_profiles file is given here.
Overview
The file INPUT_profiles contains the entire dataset required for specification of experimental profiles. All such profiles are specified on an n_grid_exp-point grid. The information included is sufficient to use the Miller local equilibrium model.
The format of each data-block is fixed, but between data blocks any number of comment lines (starting with # in the first column) can be added for convenience. These comment lines are ignored by the parser. Unlike INPUT, no inputs are supplied by default; a crash will result if data is missing. Below, we list the individual scalar and vector data names (which coincide with the GYRO internal names). In these definitions, recall that n_spec is the number of species.
Radial coordinates
The connection between radial variables can be confusing. We introduce two primitive radial variables:
- the midplane minor radius
,
- the areal coordinate
.
The areal coordinate serves to parameterize the toroidal flux:
The approach and definitions above are not strictly standard. However, the general approach of parameterizing the toroidal flux in terms of a new radial coordinate is ubiquitous. One source of ambiguity is the choice of reference magnetic field . This is normally the vacuum toroidal field, or close to it. However, it is important to keep in mind that the choice is ultimately arbitrary. What is required is that by knowing and one can exactly calculate . Note that in terms of , the area enclosed by a flux surface is approximately given by .
The effective magnetic field strength
The information connecting with is defined through the effective magnetic field strength, , where
Above, we have introduced the root of the nomalized toroidal flux according to
File Structure
Scalar Data
Scalar data comprise the first three non-comment lines:
- n_grid_exp
- Number of experimental data gridpoints.
- This is the dimension of the vectors which follow, for example, size(rhogrid_exp(:))=n_grad_exp.
- bt_exp
- On-axis magnetic field,
, in Tesla.
- The sign is taken to be positive if the direction of B points in the clockwise direction, viewed from above. For example,
in DIII-D and in JET.
- arho_exp
-
(i.e., at the separatrix) in units of .
- This will serve to denormalize the vector
defined in the next section.
Vector data, block 1 (1-5)
- rhogrid_exp(:)
- The dimensionless areal variable,
.
- This should span the region
using n_grid_exp values.
- The grid-spacing can be nonuniform.
- rmin_exp(:)
- The midplane minor radius,
, in units of .
- rmaj_exp(:)
- The flux-surface-center major radius,
, in units of .
- q_exp(:)
- The dimensionless safety factor,
.
- kappa_exp(:)
- The dimensionless plasma elongation,
.
Vector data, block 2 (6-10)
- delta_exp(:)
- The dimensionless plasma triangularity,
.
- tem_exp(n_spec,:)
- The electron temperature,
, in units of keV.
- den_exp(n_spec,:)
- The electron density,
, in units of .
- z_eff_exp(:)
- The (dimensionless) effective ion charge,
.
- er_exp(:)
- Radial electric field, in units of kV/m.
Vector data, block 3 (11-15)
- flow_mom_exp(:)
- The convected and conducted angular momentum flow [Nt-m].
- The rate of change of angular momentum within a flux surface has the units of a torque.
- The transp variable is VOLINT(MVISC+MCOND).
- pow_e_exp(:)
- The convected and conducted electron energy flow [MW].
- This is the electron heating power, corrected for the ion-electron energy transfer, the radiated power, and the rate of change of the energy stored by the electrons.
- The transp variable is VOLINT(PCONV+PCOND)*E-6
- pow_i_exp(:)
- The convected and conducted electron energy flow [MW].
- This is the ion heating power, corrected for the ion-electron energy transfer, the net charge-exchange loss power, and the rate of change of the energy stored by the ions.
- The transp variable is VOLINT(PCNVE+PCNDE)*E-6
- pow_ei_exp(:)
- The volume-integral of the electron-ion energy transfer rate [MW]
- The transp variable is VOLINT(QIE)*E-6
- delta1
- Asymmetry of triangularity (see tech. manual).
Vector data, block 4 (16-20)
- flow_beam_exp(:)
- flow_wall_exp(:)
- z_mag_axis(:)
- Flux-surface elevation, in units of
.
- (empty)
- (empty)
Vector data, block 5 (21-25)
- den_exp(1,:)
- Ion density,
, in units of .
- den_exp(2,:)
- Ion density,
, in units of .
- den_exp(3,:)
- Ion density,
, in units of .
- den_exp(4,:)
- Ion density,
, in units of .
- den_exp(5,:)
- Ion density,
, in units of .
Vector data, block 6 (26-30)
- tem_exp(1,:)
- Ion temperature,
, in units of keV.
- tem_exp(2,:)
- Ion temperature,
, in units of keV.
- tem_exp(3,:)
- Ion temperature,
, in units of keV.
- tem_exp(4,:)
- Ion temperature,
, in units of keV.
- tem_exp(5,:)
- Ion temperature,
, in units of keV.
Vector data, block 7 (31-35)
- vphi_exp(1,:)
- Ion toroidal velocity,
, in units of .
- vphi_exp(2,:)
- Ion toroidal velocity,
, in units of .
- vphi_exp(3,:)
- Ion toroidal velocity,
, in units of .
- vphi_exp(4,:)
- Ion toroidal velocity,
, in units of .
- vphi_exp(5,:)
- Ion toroidal velocity,
, in units of .
Vector data, block 8 (36-40)
- vpol_exp(1,:)
- Ion poloidal velocity,
, in units of .
- vpol_exp(2,:)
- Ion poloidal velocity,
, in units of .
- vpol_exp(3,:)
- Ion poloidal velocity,
, in units of .
- vpol_exp(4,:)
- Ion poloidal velocity,
, in units of .
- vpol_exp(5,:)
- Ion toroidal velocity,
, in units of .
|