Struphy equilibrium

AdhocTorus

Ad hoc tokamak MHD equilibrium with circular concentric flux surfaces. For a cylindrical coordinate system mathematical formulation with transformation formulae mathematical formulation the magnetic field is given by mathematical formulatio…

← All equilibria

Coordinate slices

Pressure and density sampled from the generated equilibrium data. Heatmaps use the perceptually uniform Viridis palette.

XY plane at 0

Pressurex–y · -2.64e+0 to 4.16e-2
Densityx–y · -5.93e+0 to -1.01e+0

XZ plane at 0

Pressurex–z · -3.40e+0 to -3.59e-1
Densityx–z · -6.81e+0 to -2.20e+0

YZ plane at 0

Pressurey–z · -3.40e+0 to -3.59e-1
Densityy–z · -6.81e+0 to -2.20e+0

Coordinate-line profiles

X-line · pressure / density
Y-line · pressure / density
Z-line · pressure / density

Parameters

ParameterValueDescription
a1Minor radius of torus (default: 1.).
R03Major radius of torus (default: 3.).
B02On-axis (r=0) toroidal magnetic field (default: 2.).
q_kind0Which safety factor profile, see docstring (0 or 1, default: 0).
q01.71Safety factor at r=0 (default: 1.71).
q11.87Safety factor at r=a (default: 1.87).
n121st shape factor for ion number density profile (default: 0.).
n212nd shape factor for ion number density profile (default: 0.).
na0.2Ion number density at r=a (default: 1.).
p_kind1Kind of pressure profile, see docstring (0 or 1, default: 1).
p01constant factor for ad hoc pressure profile (default: 1.).
p10.11st shape factor for ad hoc pressure profile (default: 0.).
p20.12nd shape factor for ad hoc pressure profile (default: 0.).
beta0.179On-axis (r=0) plasma beta if p_kind=1 (ratio of kinematic pressure to B^2/(2*mu0), default: 0.179).
psi_k3Spline degree to be used for interpolation of poloidal flux function (if q_kind=1, default=3).
psi_nel50Number of cells to be used for interpolation of poloidal flux function (if q_kind=1, default=50).