-
Notifications
You must be signed in to change notification settings - Fork 13
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
Low-Mach correction for HLLC solver #80
base: main
Are you sure you want to change the base?
Conversation
@pgrete @forrestglines I'd like to get this merged in, so I can run my precipitator simulations with upstream AthenaPK and Parthenon. Please let me know what you need from me to do this. |
This is not the full implementation of the LHLLC solver, i.e., it just contains the fix for the |
Yes, that's right. |
Given that this boils down to a 5 line change (with regard to the HLLC solver), I'm wondering if there's a smart ( Otherwise, it'd be great if
|
The template metaprogramming to do this while keeping it as a runtime parameter is not trivial. For instance, this is the AMReX implementation: https://github.com/AMReX-Codes/amrex/blob/b78849057c0f533466da6b517a59d2eddc99c1a8/Src/Base/AMReX_CTOParallelForImpl.H#L143 I can add it to CHANGELOG + docs. |
Interesting. Might be worth to keep that in mind for the futures.
Yes, that'd be great. |
Includes the low-mach correction for the pressure in the Riemann solver. Does not include carbuncle fix. Based on Minoshima & Miyoshi (2021).
This is an updated version of PR #57.
Closes #18.