AMReX-Astro / Castro

Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.

Home Page:http://amrex-astro.github.io/Castro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shock detection changes seem to make hybrid Riemann worse

zingale opened this issue · comments

the issue seems to be that our "shock" tag is now 1 zone narrower (3 zones wide instead of 4):

image

(top is new, bottom is old)

This is something that can be adjusted by setting the threshold parameter

indeed, changing the threshold from the default 2/3 down to 1/2 seems to make the problem look good again:

image

(left is castro.shock_detection_threshold=0.66666, right is castro.shock_detection_threshold=0.5)

closing this, as it just seems to be a threshold issue