shamrock.model_ramses.RiemannSolverMode#

class shamrock.model_ramses.RiemannSolverMode#

Bases: pybind11_object

Gas Riemann solver of the Ramses solver, to be given to cfg.set_riemann_solver.

The values are also exported in shamrock.model_ramses directly.

>>> 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

HLL

HLLC_Davis

HLLC_PVRS

Rusanov

name

value

Advection test in RAMSES solver

Advection test in RAMSES solver

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

Jeans instability characteristic timescales

Jeans instability characteristic timescales

Kelvin-Helmholtz instability in RAMSES solver

Kelvin-Helmholtz instability in RAMSES solver

Rayleigh-Taylor instability in RAMSES solver

Rayleigh-Taylor instability in RAMSES solver

Shu-Osher shock tube in RAMSES solver

Shu-Osher shock tube in RAMSES solver

Sod tube test with pseudogradient based refinment

Sod tube test with pseudogradient based refinment

Toro shocks test in RAMSES solver

Toro shocks test in RAMSES solver

Mirror symmetry of the RAMSES solver AMR

Mirror symmetry of the RAMSES solver AMR
property name#