-
Notifications
You must be signed in to change notification settings - Fork 103
use one-sided PPM stencils at reflecting BCs #2118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
|
here's a 1-d flame_wave atmosphere run via and here's the version with these new one-sided PPM stencils: Velocity is on the y-axis and height in the atmosphere in on the x-axis. Notice that with these new stencils, the velocity goes to 0 at the reflecting boundary as it should. |
|
the 2-d axisymmetric Sedov problem NaNs with these new BCs. |
|
this seems to work well for the HSE boundary, but it does not see to work with the -x boundary in axisymmetric coords. This might be because we need to take into account the geometry somehow, like this paper suggested: https://ui.adsabs.harvard.edu/abs/1993ApJS...88..589B/abstract |
|
as an example, Sedov 2-d in axisymmetry crashes after a while. |
|
The way to do this to match what we do with PLM (which uses the Saltzman 1994 approach) is to only use the one-sided stencil for velocity. Then also reflect the interface states at the reflecting boundary -- this will ensure that the flux through the boundary is zero (and we won't have to rely on that hack in the Riemann solvers). |
|
this has been updated to work with pslope |
|
I think the MHD issues are fixed in #3109 |
|
for some reason, changing I am restructuring things so I don't need to do this increase, but this is odd. |
|
I think that this works now. I will use this for the basis of a PR that does inflow BCs for flames, addressing #687 |


PR summary
PR motivation
PR checklist
CHANGESfile has been updated, if appropriate