Test problems

Shadowfax - A moving mesh code

This page contains a number of initial condition and parameter files that can be used to run test problems that are somewhat more involved than the test problems included in the default testsuite that is part of Shadowfax.

We provide initial conditions for both Shadowfax and public competitor codes, so that anyone can repeat the tests we carried out with the code. For a detailed description of the results and comparison between Shadowfax and other methods, please refer to the relevant publications.

We have compared Shadowfax with MPI-AMRVAC1 and SWIFT2.

Overview of the test problems:

Kelvin-Helmholtz test with and without bulk velocity

MPI-AMRVAC

Short description of how to run the test
Setup code for the test
Parameter file for 100x100 finite difference test without bulk velocity
Parameter file for 100x100 finite volume test without bulk velocity
Parameter file for 400x400 finite volume test without bulk velocity
Parameter file for 100x100 finite difference test with bulk velocity v = 100
Parameter file for 100x100 finite volume test with bulk velocity v = 100
Parameter file for 400x400 finite volume test with bulk velocity v = 100

Shadowfax

Short description of how to run the test
Parameter file for 100x100 setup without bulk velocity
Parameter file for 400x400 setup without bulk velocity
Parameter file for 100x100 setup with bulk velocity v = 100
Parameter file for 400x400 setup with bulk velocity v = 100
Initial condition generating script for 100x100 setup without bulk velocity
Initial condition generating script for 400x400 setup without bulk velocity
Initial condition generating script for 100x100 setup with bulk velocity v = 100
Initial condition generating script for 400x400 setup with bulk velocity v = 100

Kelvin-Helmholtz linear growth rate test

MPI-AMRVAC

Short description of how to run the test
Setup code for the test
Parameter file for 100x100 finite volume simulation
Parameter file for 200x200 finite volume simulation
Parameter file for 400x400 finite volume simulation

Shadowfax

Short description of how to run the test
Parameter file for 100x100 simulation
Parameter file for 200x200 simulation
Parameter file for 400x400 simulation
Parameter file for 800x800 simulation
Initial condition generating script for 100x100 simulation
Initial condition generating script for 200x200 simulation
Initial condition generating script for 400x400 simulation
Initial condition generating script for 800x800 simulation

Sod shock test

SWIFT, Shadowfax

Short description of how to run the test
Shadowfax parameter file
Initial condition file

Noh test

MPI-AMRVAC

Short description of how to run the test
Setup code for the test
Parameter file for 1600x1600 finite volume simulation
Parameter file for 400x400 finite volume simulation

Shadowfax

Short description of how to run the test
Initial condition generating script for 400x400 simulation
Parameter file for 400x400 simulation

Liska & Wendroff implosion test

MPI-AMRVAC

Short description of how to run the test
Setup code for the test
Parameter file for 800x800 finite volume simulation

Shadowfax

Short description of how to run the test
Parameter file for 800x800 simulation
Block specificiations for 800x800 simulation

Sod shock L1 convergence test

Shadowfax

Short description of how to run the test
Parameter file for the Sod shock test
Initial condition block structure for the Sod shock test
Analytical solution used as a reference for the L1 norm calculation
Python script to calculate the L1 norm

Sound wave L1 convergence test

Shadowfax

Short description of how to run the test
Parameter file for the sound wave test
Initial condition block structure for the sound wave test
Python script to calculate the L1 norm
  1. ascl:1208.014
    Keppens, R., Meliani, Z., van Marle, A. J., Delmont, P., Vlasis, A., van der Holst, B., 2012, Journal of Computational Physics, 231, 718 

  2. https://gitlab.cosma.dur.ac.uk/swift/swiftsim