Skip to content

Latest commit

 

History

History
186 lines (157 loc) · 4.03 KB

autotest.md

File metadata and controls

186 lines (157 loc) · 4.03 KB

AUTOMATIC TEST RESULTS

The results below are automatically generated by running python3 python/autotest.py and reloading this script (using Jupyter for instance).

Test 1: Convergence rates

The linear transport equation is solved in 1D inside a cyclic domain x=[0,1] using the following initial conditions:

$$u(x,0)=1+0.5\sin(2\pi x)$$

The advection velocity is $a=1$ and the simulation time is t=5 s. The numerical errors are computed using the L_1 error norms by comparing with the exact solution:

$$u(x,0)=1+0.5\sin(2\pi (x-at))$$

my alt text

Test 2: Riemann Problem RP1

This RP involves a equilibrium state that must be preserved with machine accuracy by the solver:

Left Right
$\rho$ 1.0 1.0
$p$ 1.0 1.0
$u$ 0.0 0.0
$\phi$ 1.0 0.0

my alt text

Test 3: Riemann Problem RP2

This RP consists of the typical sod-shock tube problem:

Left Right
$\rho$ 1.0 0.125
$p$ 1.0 0.1
$u$ 0.0 0.0
$\phi$ 1.666 5.0

my alt text

Test 4: Riemann Problem RP3

This RP considers a nonz-zero velocity:

Left Right
$\rho$ 5.99924 5.99242
$p$ 460.894 46.0950
$u$ 19.5975 -6.19633
$\phi$ 1.0 0.0

my alt text

Test 5: Riemann Problem RP4

This is a test case from Rémi Abgrall, Smadar Karni, Computations of Compressible Multifluids, Journal of Computational Physics, Volume 169, Issue 2, 2001, Pages 594-623.

Left Right
$\rho$ 1.0 0.125
$p$ 1.0 0.1
$u$ 0.0 0.0
$\gamma$ 1.40 1.60

my alt text

Test 6: Colliding thermals

my alt text my alt text my alt text my alt text my alt text my alt text my alt text my alt text