-
Notifications
You must be signed in to change notification settings - Fork 12
Add WENO-Z reconstruction #90
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: develop
Are you sure you want to change the base?
Conversation
|
Thanks for the contribution, @ajdittmann! Implementation looks good to me! I believe you'll find that our version of PPM actually performs quite poorly on linear wave tests. We did not implement its extremum-preserving variant (if we did, I assume that this would be competitive with WENO-Z). Nevertheless, this was a conscious decision because we did not want to have to introduce floors on our reconstructed states.... something that I believe WENO-Z would also require. All this being said --- is now the time to thread through all these floors on reconstructed states? |
|
Hrm, you may be right @pdmullen. I tried limiting the values to the left and right values as in the PPM implementation and the errors became similar. I personally favor adding floors after reconstruction for any/all higher-order options given the potential for improvement. |
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
Co-authored-by: Adam M. Dempsey <adamdemps@gmail.com>
If we do, maybe such "corrections" belong in |
that was my thinking as well. |
We now have the floors on the reconstructed states, so let's get this up to date and merged @ajdittmann |
Description of Changes
I have attempted to add WENO-Z reconstruction, following Borges et al. 2008 and the improvements suggested in Castro et al. 2011.
So far I have only tested linear waves in 1D, but it seems to get errors OOM below PPM at similar computational cost (I've found slightly longer runtimes on average, but within the run-to-run variance). These were using RK3 time stepping.