Struphy equilibrium

ConstantVelocity

Constant-velocity background equilibrium.

Represents a simple fluid equilibrium with a spatially-constant bulk velocity (ux, uy, uz) and configurable density/pressure profiles. The class provides the following instance methods used by the solver:

  • u_xyz(x, y, z): return the ion bulk velocity components matching

the shape of the inputs x, y, z. If velocity_step_function_in_y is set the x-velocity is applied only for y < velocity_step_function_in_y. - n_xyz(x, y, z): return the number-density according to density_profile. Supported profiles are: - "constant" : returns n everywhere. - "affine" : returns n + n1 x. - "gaussian_xy" : returns n exp(-(x2 + y2)/p0). - "step_function_xy" : returns a step-like density using the optional bounds upper_x, lower_x, upper_y, and lower_y (expects a Cuboid domain for meaningful bounds). - p_xyz(x, y, z): return an isotropic pressure (constant p0).

← 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 · 3.50e-1 to 3.50e-1
Densityx–y · 3.30e-3 to 9.91e-1

XZ plane at 0

Pressurex–z · 3.50e-1 to 3.50e-1
Densityx–z · 5.74e-2 to 9.95e-1

YZ plane at 0

Pressurey–z · 3.50e-1 to 3.50e-1
Densityy–z · 5.74e-2 to 9.95e-1

Coordinate-line profiles

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

Parameters

ParameterValueDescription
ux0—
uy0—
uz0—
velocity_step_function_in_ynullIf provided, x-velocity is applied only for ``y < value``.
n1Base number density.
n10Linear coefficient used when ``density_profile == 'affine'``.
density_profilegaussian_xyOne of ``'constant'``, ``'affine'``, ``'gaussian_xy'``, or ``'step_function_xy'``. upper_x, lower_x, upper_y, lower_y : float or None Bounds used by the ``'step_function_xy'`` profile (optional).
upper_xnull—
lower_xnull—
upper_ynull—
lower_ynull—
p00.35Reference pressure (also used as the Gaussian width parameter).