Trixi.jl icon indicating copy to clipboard operation
Trixi.jl copied to clipboard

Add subcell limiting support for P4estMesh

Open bennibolm opened this issue 1 month ago • 2 comments

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 and calc_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 from subcell_bounds_check_2d.jl to subcell_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 rho alpha

bennibolm avatar May 24 '24 11:05 bennibolm