PrincetonUniversity / athena

Athena++ radiation GRMHD code and adaptive mesh refinement (AMR) framework
https://www.athena-astro.app
BSD 3-Clause "New" or "Revised" License
226 stars 122 forks source link

Errors of linear Alfven wave for RK3+PPM (xorder=3) are much smaller than those in Athena++ paper #536

Open takasao opened 1 year ago

takasao commented 1 year ago

When I performed the convergence test of MHD linear waves, I noticed that my errors of Alfven waves for RK3+PPM (xorder=3) are much smaller than those in Athena++ paper (Stone+20). I’m curious about the reason. Do you have any ideas?

Below is Figure 11 of Stone+20. The error of Alfven wave is O(1e-7) when Nx=16 and RK3+PPM: stone20_fig11

Below is my results. Please compare data for RK3+PPM (xorder=3, orange squares) in the upper right panel with those in the previous figure. The error is O(1e-9) when Nx=16. summary_errors_ppm_public

I haven't checked old versions of the code to find the reason.

The unexpected behavior for RK3+PPM (xorder=4, 4c) is related to #535.