trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
505 stars 98 forks source link

Upwind SBP on curved meshes #1857

Closed andrewwinters5000 closed 4 months ago

andrewwinters5000 commented 4 months ago

This PR replaces #1295 . Implementation of the upwind FDSBP solver on unstructured curvilinear meshes. The solver converges for all available splittings and is free-stream preserving provided the boundary polynomial order from the mesh file, i.e., mesh_polydeg is half the boundary closure order of the SBP operator.

github-actions[bot] commented 4 months ago

Review checklist

This 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 :heart: by the Trixi.jl community.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 97.97297% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 96.29%. Comparing base (e205b06) to head (40f6547).

Files Patch % Lines
src/solvers/fdsbp_unstructured/fdsbp_2d.jl 92.11% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1857 +/- ## ========================================== + Coverage 96.28% 96.29% +0.01% ========================================== Files 438 438 Lines 35386 35519 +133 ========================================== + Hits 34071 34201 +130 - Misses 1315 1318 +3 ``` | [Flag](https://app.codecov.io/gh/trixi-framework/Trixi.jl/pull/1857/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/trixi-framework/Trixi.jl/pull/1857/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework) | `96.29% <97.97%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

andrewwinters5000 commented 4 months ago

Thanks a lot! I will merge this and release a new Trixi.jl version when CI passes (whereever it can...)

Great, thanks! It is nice to have finally figured out all this curvilinear upwind stuff. I will close my old PR and delete that (very stale) branch.