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

Implement second order upwind scheme for particle advection #18

Open
Nicholaswogan opened this issue Jul 1, 2022 · 1 comment
Open

Comments

@Nicholaswogan
Copy link
Owner

Right now we are using a first order upwind scheme for particles falling. This is very diffusive. We can do better with a second order finite volume upwind scheme.

See Chapter 6 in LeVeque.

One potential issue is that these schemes depend on the size of the timestep. We can get the size of the timestep from CVODE, in the RHS function. I just worry that this will be an issue.

@Nicholaswogan
Copy link
Owner Author

I think the timestep size thing is OK. See 10.4 in LeVeque. They say Method of Lines works OK with higher order methods.

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

1 participant