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: ?   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

# planar mesh nodes
\(\times\) 3

T

Magnetic field vector \((B_R,B_Z,B_phi)\) on the mesh nodes

n_n

Scalar

Number of node points of the mesh

num_ntor

Scalar

Number of toroidal mode numbers for RMP simulations (1+ptb_3db_num_ntor)

psi

# planar mesh nodes

\(\mathrm{T m^2}\)

Poloidal magnetic flux \(\psi\) (over \(2 \pi\))


xgc.bfieldm.bp
Printed when: ?   Output frequency: once at start/restart.

This file is for the magnetic field at the midplane.

Output

Dimension

Units

Description

N

Scalar

# 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


xgc.equil.bp
Printed when: ?   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 sml_input_file_dir and eq_dens_file

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 sml_input_file_dir and eq_temp_file

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