Struphy equilibrium
GenericCartesianFluidEquilibrium
This class extends CartesianFluidEquilibrium to allow user-defined callable functions for velocity, pressure, and number density fields. It provides a flexible interface for specifying equilibrium quantities as functions of spatial coordinates (x, y, z).
Methods
u_xyz : callable Velocity field as a function of (x, y, z) coordinates. p_xyz : callable Pressure field as a function of (x, y, z) coordinates. n_xyz : callable Number density field as a function of (x, y, z) coordinates.
Attributes
params : dict Dictionary of initialization parameters for reproducibility.
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.
XZ plane at 0
YZ plane at 0
Coordinate-line profiles
Parameters
| Parameter | Value | Description |
|---|---|---|
u_xyz | null | — |
p_xyz | <function available_equilibria.<locals>.<lambda> at 0x7f19e87400e0> | — |
n_xyz | <function available_equilibria.<locals>.<lambda> at 0x7f19c8b837e0> | — |