shamrock.model_ramses.RiemannSolverMode#
- class shamrock.model_ramses.RiemannSolverMode#
Bases:
pybind11_objectGas Riemann solver of the Ramses solver, to be given to
cfg.set_riemann_solver.The values are also exported in
shamrock.model_ramsesdirectly.>>> from shamrock.model_ramses import HLLC_PVRS >>> cfg.set_riemann_solver(HLLC_PVRS)
Members:
- Rusanov
Rusanov (local Lax-Friedrichs) flux.
- HLL
Harten-Lax-van Leer flux. This is the default.
- HLLC_PVRS
HLLC flux, with wave speeds estimated from the primitive variable Riemann solver (PVRS) star pressure, following Toro (Riemann Solvers and Numerical Methods for Fluid Dynamics, chapter 10).
- HLLC_Davis
HLLC flux, using the Davis (1988) wave speed estimate \(s_l = \min(v_l - c_l, v_r - c_r)\), \(s_r = \max(v_l + c_l, v_r + c_r)\).
Methods
Attributes
HLLHLLC_DavisHLLC_PVRSRusanovvalue
Barotropic collapse of a uniform sphere in RAMSES solver
Barotropic collapse of a uniform sphere in RAMSES solver
Compare first- vs second-order interpolation on AMR Sod tube
Compare first- vs second-order interpolation on AMR Sod tube- property name#