Add inlet/outlet BCs for the 2D-SWE#91
Add inlet/outlet BCs for the 2D-SWE#91andrewwinters5000 merged 24 commits intotrixi-framework:mainfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #91 +/- ##
==========================================
- Coverage 99.33% 99.23% -0.10%
==========================================
Files 66 71 +5
Lines 3115 3370 +255
==========================================
+ Hits 3094 3344 +250
- Misses 21 26 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
andrewwinters5000
left a comment
There was a problem hiding this comment.
Thanks for adding this flexible boundary condition capability! It should work directly in 1D, right? It would be good to add an example elixir on TreeMesh if that is the case.
@andrewwinters5000 Yes, this should directly carry over to the 1D case. I only need to implement the boundary condition functions in |
Co-authored-by: Andrew Winters <andrew.ross.winters@liu.se>
|
There are some uncovered lines from the |
andrewwinters5000
left a comment
There was a problem hiding this comment.
Looks very nice, I just left some comments mainly regarding coding style.
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_shock.jl
Outdated
Show resolved
Hide resolved
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_shock.jl
Outdated
Show resolved
Hide resolved
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_shock.jl
Outdated
Show resolved
Hide resolved
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_shock.jl
Outdated
Show resolved
Hide resolved
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_transonic.jl
Outdated
Show resolved
Hide resolved
examples/tree_1d_dgsem/elixir_shallowwater_moving_water_shock.jl
Outdated
Show resolved
Hide resolved
I agree that it makes more sense to leave the function definition of |
464ac24
into
trixi-framework:main
This PR implements inlet/outlet boundary conditions for the
ShallowWaterEquationsWetDry2D.The new boundary conditions
BoundaryConditionWaterHeightandBoundaryConditionMomentumspecify the water height or the momentum on the boundary and extrapolate the remaining quantity from the Riemann Invariant.