MPI-AMRVAC
3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
|
This is a standard 2D shock reflection test from Woodward & Collela (JCP 54, 1984). It serves as an example on the usage of non-trivial boundary prescriptions: the bottom boundary is partly fixed, partly solid wall, the top boundary uses a time-dependent prescription for the pre- and post-shock region. It is a nice test for AMR, as more resolution will show more details in the later stages of this shock reflection problem.
$AMRVAC_DIR/setup.pl -d=2
Simply issue the make
command:
make
To run with e.g. 4 processors, use
mpirun -np 4 ./amrvac -i wc_2d.par
A complete list of parameters can be found par.md.
Have a look at the local file mod_usr.t
. You can modify the initial conditions easily, try setting up shocks of different Mach number (and change the boundary prescription accordingly). Verify how different schemes and resolutions perform on this test. The extra variable in output is a Schlieren plot of the density (gradient).