Struphy equilibrium

GenericCartesianFluidEquilibriumWithB

Generic Cartesian fluid equilibrium with magnetic field and callable fields.

This class extends GenericCartesianFluidEquilibrium to include magnetic field and its gradient. It allows user-defined callable functions for velocity, pressure, number density, magnetic field, and magnetic field gradient as functions of spatial coordinates (x, y, z).

Methods

b_xyz : callable Magnetic field as a function of (x, y, z) coordinates. gradB_xyz : callable Gradient of the magnetic field magnitude as a function of (x, y, z) coordinates.

Attributes

params : dict Dictionary of initialization parameters for reproducibility.

← All equilibria

Governing formula

Formula not available for this equilibrium.

Coordinate slices

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

XY plane at 0

Pressurex–y · 5.79e-1 to 1.42e+0
Densityx–y · 1.14e+0 to 1.25e+0

XZ plane at 0

Pressurex–z · 5.79e-1 to 1.42e+0
Densityx–z · 1.25e+0 to 1.25e+0

YZ plane at 0

Pressurey–z · 1.00e+0 to 1.00e+0
Densityy–z · 1.14e+0 to 1.25e+0

Coordinate-line profiles

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

Parameters

ParameterValueDescription
u_xyznull—
p_xyz<function available_equilibria.<locals>.<lambda> at 0x7f19c8b839c0>—
n_xyz<function available_equilibria.<locals>.<lambda> at 0x7f19c8b83a60>—
b_xyznull—
gradB_xyznull—