zoomy_core.systemmodel.euler

zoomy_core.systemmodel.euler#

Compressible Euler equations of an ideal gas, built directly as a SystemModel (no Model derivation). Declares eigenvalues, momentum roles, admissibility [rho, p] and the reconstruction pair W = (rho, u, p).

Module Contents#

Functions#

compressible_euler

Ideal-gas Euler SystemModel in dimension = 1, 2 or 3 space dimensions.

pressure

Pressure p(Q) (sympy) of a compressible_euler system.

API#

zoomy_core.systemmodel.euler.compressible_euler(dimension: int = 3, gamma: float = 1.4, boundary_conditions=None, initial_conditions=None) → zoomy_core.systemmodel.system_model.SystemModel#

Ideal-gas Euler SystemModel in dimension = 1, 2 or 3 space dimensions.

Args

  • gamma: heat-capacity ratio.

  • boundary_conditions: a BoundaryConditions (or list) of the existing BC classes.

  • initial_conditions: an initial_conditions object, e.g. IC.UserFunction.

Returns

The SystemModel with state (rho, rho_u[, rho_v[, rho_w]], E).

References

  • Toro 2009, https://doi.org/10.1007/b79761

zoomy_core.systemmodel.euler.pressure(sm: zoomy_core.systemmodel.system_model.SystemModel)#

Pressure p(Q) (sympy) of a compressible_euler system.