Remove option to pass averaged normal direction for NonConservativeJump terms#2890
Draft
patrickersing wants to merge 9 commits intotrixi-framework:mainfrom
Draft
Conversation
Contributor
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2890 +/- ##
=======================================
Coverage 97.09% 97.09%
=======================================
Files 609 610 +1
Lines 47493 47497 +4
=======================================
+ Hits 46111 46116 +5
+ Misses 1382 1381 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
See #2852
This PR modifies the
calcflux_fhat!kernel forNonConservativeJump()terms to pass the left and right normal direction instead of the averaged normal direction, to fix the convergence issues on curvilinear meshes.This also required a modification of how the normal direction is applied for
flux_nonconservative_powell_local_jump.Here are convergence results for

elixir_mhd_alfven_wave_curved_sc.jlwithpolydeg=4,dt=2e-4at timet=0.1:TODO:
TrixiShallowWater.jl: Create PR to adapt the arguments forflux_nonconservative_ersing_local_jump