piernik-dev / piernik

Piernik MHD Code
GNU General Public License v3.0
15 stars 15 forks source link

Fix explicit diffusion fluxes on refinement boundaries #481

Closed gawrysz closed 1 year ago

gawrysz commented 2 years ago

Achieve correct, conservative transport of CR through fine/coarse boundaries in explicit scheme. It should reach comparable accuracy to the implicit variant.

gawrysz commented 2 years ago

Conservative diffusion seems now to work nicely on refined grids: cr_tst_0001_Slice_z_err1

I think that there are some optimizations possible, especially further reduction of communication. This is something that should be tested on CRESP setups, perhaps ina new PR.