Skip to content
Snippets Groups Projects
Commit 2e105ecc authored by Florian Atteneder's avatar Florian Atteneder
Browse files

GRHD: more specific boundry conditions [only incorporated for...

GRHD: more specific boundry conditions [only incorporated for FV+slope_limiter] (!179)

This adds new options under `GRHD.bc`:
- `tov_reflective_origin`: impose reflection symmetry at coordinate origin, impose vacuum values at outer bdry
- `tov_symmetric_domain`: impose vacuum values at both domain boundary ends

Also streamlined the setup of the bdry values for FV.
While doing so I realized that the inflow bdry in the Bondi test was wrongly treated.
There we cannot extrapolate interior data, nor just copy what we have in the interior, unless we are very far out (which in my test we aren't).
Instead, what we do now there is use the initial data, which is the analytical solution and extrapolate that.
This improves the behavior of the solution to no longer drift after the first time step. Nice.
parent ac9e42ed
No related branches found
No related tags found
1 merge request!179GRHD: more specific boundry conditions [only incorporated for FV+slope_limiter]
Pipeline #6881 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment