Struphy equilibrium

GenericCartesianFluidEquilibrium

Generic Cartesian fluid equilibrium with callable fields.

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.

← 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 0x7f19e87400e0>—
n_xyz<function available_equilibria.<locals>.<lambda> at 0x7f19c8b837e0>—