Mesh¶
There are two output files containing mesh parameters (the 5D mesh consists of a 3D unstructured triangular mesh in configuration space and a 2D structured rectangular grid in velocity space): xgc.f0.mesh.bp and xgc.mesh.bp.
Remarks
These files contain quantities that can be useful to calculate various averages.
# flux surfaces here includes the scrape-off layer, i.e. the open field-line region.
xgc.f0.mesh.bp
Printed when: sml_f0_grid=.true.. Output frequency: once at start/restart.
Output |
Dimension |
Units |
Description |
---|---|---|---|
f0_T_ev |
\(N_{\mathrm{species}}~\times\)
# 3D mesh nodes
|
\(\mathrm{eV}\) |
Temperature at start in all configuration space vertices for electrons (0) and ions (1). |
f0_den |
# 3D mesh nodes |
\({\mathrm{m}}^{-3}\) |
Density at start in all configuration space vertices. Is n_e = n_i assumed? |
f0_dsmu |
Scalar |
\(v_{Ts} = \sqrt{\frac{T_s}{m_s}}\) |
\(\Delta v_{\perp}\) in the 2D velocity grid of species \(s\). |
f0_dvp |
Scalar |
\(v_{Ts} = \sqrt{\frac{T_s}{m_s}}\) |
\(\Delta v_{\|}\) in the 2D velocity grid of species \(s\). |
f0_grid_vol_vonly |
\(N_{\mathrm{species}}~\times\)
# 3D mesh nodes
|
Units |
Description |
f0_nmu |
Scalar |
Positive integer |
Number of grid points in \(v_{\perp}\) in the 2D velocity grid is f0_nmu + 1. Same as input parameter |
f0_nvp |
Scalar |
Positive integer |
Number of grid points in \(v_{\|}\) in the 2D velocity grid is 2 \(\times\) f0_nvp + 1. Same as input parameter |
f0_smu_max |
Scalar |
\(v_{Ts} = \sqrt{\frac{T_s}{m_s}}\) |
Maximum \(v_{\perp}\) in the 2D velocity grid (minimum is \(0\)). Same as input parameter |
f0_vp_max |
Scalar |
\(v_{Ts} = \sqrt{\frac{T_s}{m_s}}\) |
Maximum/minimum \(v_{\|}\) (minimum with minus sign) in the 2D velocity grid. Same as input parameter |
gradpsi |
# 3D mesh nodes
\(\times\) 2
|
Units |
Description |
inode1m1 |
Scalar |
Units |
Description |
n_n |
Scalar |
Positive integer |
Number of 3D mesh nodes. |
nb_curl_nb |
# 3D mesh nodes |
Units |
Description |
ndata |
Scalar |
Positive integer |
Description |
nsp |
Scalar |
Positive integer |
Number of kinetic species. |
v_curv |
# 3D mesh nodes
\(\times\) 3
|
Units |
Description |
v_gradb |
# 3D mesh nodes
\(\times\) 3
|
Units |
Description |
xgc.mesh.bp
Printed when: always. Output frequency: once at start/restart.
Output |
Dimension |
Units |
Description |
---|---|---|---|
/cell_set[0]/node_connect_list |
?
\(\times\) 3
|
Units |
Description |
/coordinates/values |
# 3D mesh nodes
\(\times\) 2
|
Units |
Description |
epsilon |
# flux surfaces |
Normalized |
Description |
n_geo |
Scalar |
Positive integer |
Description |
n_n |
Scalar |
Positive integer |
Number of 3D mesh nodes. |
n_t |
Scalar |
Units |
Description |
nlim |
Scalar |
Units |
Description |
node_vol |
# 3D mesh nodes |
Units |
Description |
node_vol_nearest |
# 3D mesh nodes |
Units |
Description |
nsurf |
Scalar |
Positive integer |
Number of flux surfaces. |
nwall |
Scalar |
Positive integer |
Description |
psi |
# 3D mesh nodes |
Units |
Description |
psi_surf |
# flux surfaces |
Units |
Description |
qsafety |
# flux surfaces |
Units |
Description |
rmaj |
# flux surfaces |
Units |
Description |
rmin |
# flux surfaces |
Units |
Description |
surf_arc_len |
# flux surfaces |
Units |
Description |
surf_idx |
# flux surfaces
\(\times\) nwall
|
Units |
Description |
surf_len |
# flux surfaces |
Units |
Description |
surf_maxlen |
Scalar |
Units |
Description |
theta |
# 3D mesh nodes |
Units |
Description |
trapped |
# flux surfaces |
Units |
Description |
wall_nodes |
nwall |
Units |
Description |