-
Notifications
You must be signed in to change notification settings - Fork 82
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
Make WENO-Z default advection scheme #1212
Conversation
Haven't checked the tests yet; there may need to be some new input lines |
Should we change this too? amr-wind/amr-wind/equation_systems/AdvOp_Godunov.H Lines 67 to 73 in ee0ea50
|
Not including Prakash's comment, here's a list of tests that failed and would probably need an updated input line in their input files. Or we permanently switch some of these to weno (though probably not all).
|
On the reg tests, if the test is unrelated to ppm functionality and could be used as a generic example, I would prefer it to use the new default. Or if it's used for verification or validation. However, if it's testing something unrelated to the flow or is a more obscure case that is unlikely to get used, I think we can add the ppm line. E.g., more likely that someone would copy-past specific lines from that input file rather than reuse the whole thing. Using this reasoning, here's a breakdown for the failed tests (not considering any additional ones from making weno-z default for scalars, too):
Any objections? |
I like it |
I like the idea of reblessing the golds with the new default, and your reasoning. No objections from my end. |
What do you think of making a new "abl_godunov_ppm" reg test and removing the "abl_godunov_wenoz" test, as it's effectively replaced by the "abl_godunov" test? Right now we have abl_godunov, abl_godunov_plm, abl_godunov_nolim, abl_godunov_weno, and abl_godunov_wenoz to cover the fully godunov schemes. |
@marchdf do you want to check which ones will change now that weno-z is default for scalars, or should we just leave those to the default anyway? |
With your latest:
|
Cool. The failing tests match the ones in the proposed list using the new default, + abl_godunov_ppm. I think this PR is good to go. |
…o ppm_nolim in icns advection
Co-authored-by: Marc T. Henry de Frahan <[email protected]>
…_type to recommended since diffs will change anyway; include comment
3532845
to
a1cc566
Compare
* changing the scheme warning -> default to an abort * same changes to scalar/generic advection operator, also add warning to ppm_nolim in icns advection * along the same lines as last commit; warning already in the code * adding ppm spec to many reg tests * replace abl_godunov_wenoz test with abl_godunov_ppm; change diffusion_type to recommended since diffs will change anyway; include comment
* changing the scheme warning -> default to an abort * same changes to scalar/generic advection operator, also add warning to ppm_nolim in icns advection * along the same lines as last commit; warning already in the code * adding ppm spec to many reg tests * replace abl_godunov_wenoz test with abl_godunov_ppm; change diffusion_type to recommended since diffs will change anyway; include comment
Please check the type of change introduced:
Checklist
The following is included:
This PR was tested by running: