Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes multi-component axisymmetric HLL solver.
PR #794 applied the same radial treatment as HLLC, which only fixed the single-component case but was completely unstable for multiple components. This is now fixed by adding the αv/r term for HLL to match the governing equations in cylindrical coordinates.
Also regenerates the test case.
Type of change
Scope
How Has This Been Tested?
Below are 2-components axisymmetric simulations, with a cylindrical fluid 2 at the center.
2mat_bot_HLLC_top_HLL_old.mp4
2mat_bot_HLLC_top_HLL_1st_change.mp4
2mat_bot_HLLC_top_HLL_fixed.mp4
Checklist
docs/
)examples/
that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh format
before committing my codeIf your code changes any code source files (anything in
src/simulation
)To make sure the code is performing as expected on GPU devices, I have:
nvtx
ranges so that they can be identified in profiles./mfc.sh run XXXX --gpu -t simulation --nsys
, and have attached the output file (.nsys-rep
) and plain text results to this PR./mfc.sh run XXXX --gpu -t simulation --omniperf
, and have attached the output file and plain text results to this PR.