Equilibrium and boundary¶
There are four output files containing magnetic equilibrium and boundary parameters: xgc.bfield.bp, xgc.bfieldm.bp, xgc.bounce.bp and xgc.equil.bp.
For the name of the output variable, replace [species]
with one of the following: e_
, i_
, i2
, i3
, i4
, i5
, i6
.
xgc.bfield.bp
Printed when: always. Output frequency: once at start/restart.
This file is for the magnetic field information at the node points of the 3D mesh.
Output |
Dimension |
Units |
Description |
---|---|---|---|
bfield |
# poloidal planes * \(\times\)
3 \(\times\)
# planar mesh nodes
|
T |
Magnetic field vector \((B_R,B_Z,B_phi)\) on the mesh nodes |
jpar_bg |
# poloidal planes * \(\times\)
# planar mesh nodes
|
Equilibrium current \(j_{\parallel} = \hat{\mathbf{b}} \cdot (\nabla \times \mathbf{B}) / \mu_{0}\) |
|
jpar_bg_fs_avg |
# flux surfaces |
Flux-surface average of |
|
n_n |
Scalar |
Positive integer |
Number of mesh nodes per plane. |
psi |
# planar mesh nodes |
\(\mathrm{T m^2}\) |
Poloidal magnetic flux \(\psi\) (over \(2 \pi\)) |
xgc.bfieldm.bp
Printed when: always Output frequency: once at start/restart.
This file is for the magnetic field at the midplane.
Output |
Dimension |
Units |
Description |
---|---|---|---|
N |
Scalar |
Positive integer |
# of midplane points (1000) |
abs_bphi |
# of midplane points |
T |
Absolute value of toroidal magnetic field |
dpdr |
# of midplane points |
Tm |
\(\frac{d\psi}{dr}\) |
psi_n |
# of midplane points |
Normalized |
Normalized poloidal magnetic flux by X-point value |
rmajor |
# of midplane points |
m |
Major radius |
z |
Scalar |
m |
Z(height) at the magnetic axis |
xgc.equil.bp
Printed when: always. Output frequency: once at start/restart.
Output |
Dimension |
Units |
Description |
---|---|---|---|
eq_I |
eq_mpsi |
Tm |
\(B_{tor} R\) as a function of flux label. Poloidal current function in EFIT |
eq_axis_b |
Scalar |
T |
Magnetic field at the magnetic axis |
eq_axis_r |
Scalar |
m |
Major radius at the magnetic axis |
eq_axis_z |
Scalar |
m |
Z(height) at the magnetic axis |
[species]eq_dens_path |
Scalar |
A path constructed from input variables |
|
eq_max_r |
Scalar |
m |
Maximum major radius of interpolation boundary |
eq_max_z |
Scalar |
m |
Maximum height of interpolation boundary |
eq_min_r |
Scalar |
m |
Minimum major radius of interpolation boundary |
eq_min_z |
Scalar |
m |
Minimum height of interpolation boundary |
eq_mpsi |
Scalar |
Number of psi (poloidal flux/flux label) grid points |
|
eq_mr |
Scalar |
Number of horizontal R grid points |
|
eq_mz |
Scalar |
Number of vertical Z grid points |
|
eq_psi_grid |
eq_mpsi |
\(Tm^2\) |
Poloidal flux on the \(\psi\) grid points |
eq_psi_rz |
eq_mz
\(\times\) eq_mr
|
\(Tm^2\) |
Poloidal flux on the rectangular grid points |
[species]eq_temp_path |
Scalar |
A path constructed from input variables |
|
eq_x_psi |
Scalar |
\(Tm^2\) |
Description |
eq_x_r |
Scalar |
m |
Major radius at the first (lower) X-point |
eq_x_z |
Scalar |
m |
Height at the first (lower) X-point |
xgc.rmp_deltaa.bp/xgc.rmp_deltab.bp
Printed when: ? Output frequency: ?
These files are for RMP simulations (with field data from M3D-C1 file).
Output |
Dimension |
Units |
Description |
---|---|---|---|
n_coord |
Scalar |
Positive integer |
|
n_n
nnode
|
Scalar |
Positive integer |
Number of mesh nodes per plane. |
n_phi |
Scalar |
Positive integer |
Number of poloidal planes \(N_{\mathrm{planes}}\). |
n_r |
|||
n_z |
|||
num_ntor |
Scalar |
Positive integer |
Number of toroidal mode numbers for RMP simulations (1+ptb_3db_num_ntor). |
ntor |
|||
deltaa |
|||
deltaa_re |
|||
deltaa_im |
|||
deltab_re |
|||
deltab_im |
* Dimension only for stellarator simulations.