sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
158 stars 187 forks source link

Multi-stage piecewise polytrope #5512

Open nilsvu opened 11 months ago

nilsvu commented 11 months ago

Our PiecewisePolytropicFluid equation of state currently has only 2 stages. It would be useful to generalize this to an arbitrary number of stages.

nilsdeppe commented 11 months ago

Yes, but I'm not convinced one should use piecewise polytropes in real simulations. The enthalpy parametrization seems to be superior in every way possible for MHD simulations