magic-sph / magic

MagIC is a high-performance code that solves the magneto-hydrodynamics equations in rotating spherical shells
https://magic-sph.github.io/
80 stars 25 forks source link

angular momentum correction with SBDF3 #46

Open tgastine opened 8 months ago

tgastine commented 8 months ago

Something weird is happening on restarts of SBDF-like schemes when AM correction is turned on (coupled-Earth like setups): toroidal axi. energy is jumping. This is happening at the first iteration of each restart, maybe this is because the implicit rhs is not computed for SBDF schemes. In that case, it might be that AM correction does not work as expected. Further investigations are needed.