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 t…
← All equilibriaCoordinate slices
Pressure and density sampled from the generated equilibrium data. Heatmaps use the perceptually uniform Viridis palette.
XZ plane at 0
YZ plane at 0
Coordinate-line profiles
Parameters
| Parameter | Value | Description |
|---|---|---|
ux | 0 | — |
uy | 0 | — |
uz | 0 | — |
velocity_step_function_in_y | null | If provided, x-velocity is applied only for ``y < value``. |
n | 1 | Base number density. |
n1 | 0 | Linear coefficient used when ``density_profile == 'affine'``. |
density_profile | gaussian_xy | One 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_x | null | — |
lower_x | null | — |
upper_y | null | — |
lower_y | null | — |
p0 | 0.35 | Reference pressure (also used as the Gaussian width parameter). |