Merged
Conversation
Contributor
gregorgassner
left a comment
There was a problem hiding this comment.
Are you really sure about the „non-typical“ symbols? It makes the code hard to read for me.
Contributor
gregorgassner
left a comment
There was a problem hiding this comment.
I observed, that the anti-dissipation flux comparison is better behaved for the value of the switch smoothing.
Also, 1e-12 basically is the hard switch...maybe relax as default?
sloede
reviewed
Mar 16, 2021
Member
Author
|
I changed the names of the fluxes and also increased the switch constant |
sloede
requested changes
Mar 16, 2021
Co-authored-by: Michael Schlottke-Lakemper <michael@sloede.com>
…ixi.jl into hr/ho_flux_comparison
Member
Author
|
Now in 1D, 2D, and 3D |
gregorgassner
approved these changes
Mar 16, 2021
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.
High-order flux comparison
This basically implement a version comparing the local entropy production based on local high-order fluxes as in the work of Fisher and Carpenter. Right now, it is restricted to 1D.
The density wave works in 1D.
EOC does not seem to be too bad (but not necessarily with a similarly clear superconvergence as central DG).
Interestingly, we get linear stability for high wave numbers for the Burgers' example (where the element-based comparison results in eigenvalues with positive real parts)
However, we get eigenvalues with positive real parts for low wave numbers (where the element-based comparison was linearly stable).
Local flux comparison
I also implemented the version where each two-point flux is compared using the entropy dissipation approximation in 1D. It seems to be linearly stable for Burgers 🥳
The density wave works in 1D.
However, the EOC is reduced significantly the more "discontinuous" the switch between the fluxes gets...