MHD Piecewise Parabolic Reconstruction (PPMC)
This week I refactored PPMC and added MHD support to it. It was mostly using functions I wrote for PLMC with a couple small additions. Despite this simplicity there’s some weird oscillations in the shock tube solutions and the linear waves sort of “breathe” in amplitude. I’m not sure of the exact cause and haven’t yet had much luck finding it. All the projecting to and from characteristic variables seems well behaved and the new code that differs between hydro and MHD is extremely simple and appears correct.
Here’s an example of the issue. You can see the odd oscillations especially in the velocity.