Skip to content

Variable AV fix | Cosmology

Josh Borrow requested to merge viscosity_fix_cosmology into master

Fixes the AV and AD coefficients in ANARCHY and in the Morris & Monaghan AV. Thanks to @bvandenbroucke for the Cosmological Sod Shock tests, they were instrumental in debugging this.

Before fix; artificial diffusion coefficient as a function of space: compare_alpha_broken

After fix: compare_alpha_fixed

I am currently testing this fix with the EAGLE_12 to see if it rectifies the problem we were having there. Once that is over (I guess whether it passes or not), I'll re-assign this and remove the WIP.

Edited by Josh Borrow

Merge request reports