Background fields

Equilibria

Explore the reference equilibria used to initialize Struphy simulations. Each slice is generated from the corresponding Struphy equilibrium class during the site build.

Equilibrium

AdhocTorus

Pressure p
Density n

Coordinates: x–y · value 0

Coordinate-line profiles

Each line varies one coordinate while the other two remain zero.

X-line (other coordinates = 0)
Pressure pDensity n
Y-line (other coordinates = 0)
Pressure pDensity n
Z-line (other coordinates = 0)
Pressure pDensity n

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).