-
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
Improvements to wave generation - ocean waves #1264
Conversation
986be01
to
4e53774
Compare
This PR also has some refactoring (introducing loops over the three components of velocity) and another bug fix (making the ramp function work as intended). |
Looking forward to this! Thanks for putting this together. |
@rybchuk have you had stability issues within the forcing regions? |
I've had simulations where the CFL kept blowing up after a while. I tried to get those simulations to stabilize, but never was able to. My workaround was dialing back the wave amplitude from 6.4 m (as well as 3.2 m) to 1.6 m. I figured that my code was crashing because of wave physics (are they allowed to get that big?) instead of something tied to numerics |
I couldn't tell you if these simulations were crashing because of behavior in the wave input region, wave dissipation region, or elsewhere though |
Gotcha. It's very possible it's related to this. |
4e53774
to
4e28bff
Compare
4f2234a
to
9517ae3
Compare
@marchdf Aside from the small tweaks and refactoring of things, this PR has two modifications to how the wave forcing is applied:
Also, I've done several things to check this manually. |
Sounds good! I can't run any tests right now with the downtime. We can merge and deal with the consequences or wait it out. Up to you. |
Summary
I found that some cases are not stable, with problems arising from the wave generation region. This PR modifies the forcing in 2 ways to make it more reasonable and more robust.
Pull request type
Checklist
The following is included:
This PR was tested by running:
Additional background
Creates diffs for ow_* regression tests, which are expected