Trixi.jl
Trixi.jl copied to clipboard
Add subcell limiting support for P4estMesh
This PR includes:
- Adding P4estMesh elixir "elixir_euler_supersonic_cylinder_sc_subcell.jl" and "elixir_euler_sedov_blast_wave_sc_subcell.jl"
- Add
calc_bounds_twosided_interface
andcalc_bounds_onesided_interface
for P4estMesh - Update parameters of
get_boundary_outer_state
to allow normal directions, inner values (for slip wall), ... - Remnant of last PR: Move routine
save_bounds_check_errors
fromsubcell_bounds_check_2d.jl
tosubcell_bounds_check.jl
TODO:
- [x] Code coverage for two-sided bounds calculations for conservative variables.
- [x] Does it make sense to add additional elixir (e.g. sedov blast) and test
calc_bounds_twosided_boundary
for Periodic boundaries.
No support for non-conservative terms implemented yet.
Example: Supersonic cylinder
Local two-sided limiting of density, positivity of pressure and local onesided limiting of entropy (guermond et al)
No AMR. Initial refinement level for given mesh of 3 -> 35904 elements; polynomial degree of 3