-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add low-mach correction to HLLC solver #18
Comments
If you quickly want to try it, I have a hacked version of the latter in a branch for testing (main...pgrete/lhlld) |
For reference on how to port Athena++ solvers to AthenaPK: https://gitlab.com/theias/hpc/jmstone/athena-parthenon/athenapk/-/merge_requests/32/diffs?commit_id=258905f9baadef3e1cca6f977fff79dac1ee2b43 for updating the implemention itself and https://gitlab.com/theias/hpc/jmstone/athena-parthenon/athenapk/-/merge_requests/32/diffs?commit_id=6947bc33a33e038a8f6d2d83ae81f240387e7f2e to integrate the riemann solver |
The main thing complicating this appears to be the addition of a separate In Quokka, we found that computing the velocity differences inside the Riemann solver kernel itself improved performance slightly. The code is here, but there is some rather inelegant index manipulation involved: https://github.com/quokka-astro/quokka/blob/4c34ac8fd1299192ef8934b7959eb73f83b27bea/src/hydro_system.hpp#L897. I can probably port this over after the ASU conference. |
This will be useful for many galaxy cluster applications.
There is
HLLC-LM is not stable for very low-amplitude linear waves, but it works well otherwise. I'm not sure which is best. Both have ad-hoc modifications to recover the$\mathcal{M} \rightarrow 0$ limit, and both suppress carbuncles.
The text was updated successfully, but these errors were encountered: