Skip to content
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

Flux Choice at Boundary #26

Open
lwonnell opened this issue May 5, 2020 · 1 comment
Open

Flux Choice at Boundary #26

lwonnell opened this issue May 5, 2020 · 1 comment

Comments

@lwonnell
Copy link
Collaborator

lwonnell commented May 5, 2020

@MollyRaver For certain problems, we would like to be able to choose different flux settings for different boundaries. Diffusion1, for instance, requires that the left and right boundaries use one flux setting. In principle, we would want the boundary to be upwind in both directions. The current setting mandates one value, (+1, 0, -1), for the partial term. This often leads to oscillations at one boundary depending on the flux choice. Ideally, we would like a global scheme such as Lax-Friedrichs for all boundaries.

@MollyRaver
Copy link
Collaborator

@lwonnell This is because we treat the 2nd order PDE as two 1st order PDEs. So for the 1st order PDE, which is the advection equation, and only the inflow boundary condition is enforced. Actually the Dirichlet BCS for diffusion equation are for two sides, however by the LDG setting with alternating flux setting, we only employ one side. In order to use two bc, we can use central flux or change the scheme from LDG to other scheme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants