-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add ocean wetting-and-drying ramp feature #5590
Add ocean wetting-and-drying ramp feature #5590
Conversation
@cbegeman, while testing this in debug mode on compy, I ran into an out-of-bounds error for the dam-break case. The error was from line 677: E3SM/components/mpas-ocean/src/mode_forward/mpas_ocn_time_integration_rk4.F Lines 671 to 682 in c7f67cb
I think |
Thanks for fixing that @cbegeman! Also, testing in debug I see an error in the single layer drying slope case:
I'm having a little more trouble tracking the source of this one down. Similar to the last issue, I don't think this has anything to do with this PR. |
@sbrus89 I can look into that as well. I haven't run these tests on compy recently. Do you know if that error is emerging when |
The above error was for
|
@sbrus89 Thanks for looking into this. I will plan to debug the There seems to be an assumption in |
@sbrus89 I finally made the time to figure this out and it comes down to the fact that the RK4 changes I made in #5519 allow
|
feab656
to
73b90f7
Compare
@sbrus89 Ready for your re-review with MPAS-Dev/compass#619 |
@cbegeman - thanks I'll test it out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbegeman, this passes the drying slope and dam break cases with debug flags on compy. Thanks for putting this feature in!
@sbrus89 Thanks for your review and testing! |
… (PR #5590) Add ocean wetting-and-drying ramp feature This PR enhances the existing wetting-and-drying algorithm using an approach from O'Dea et al. 2020. Instead of zeroing out normalVelocity and normalVelocity tendencies in cells where the projected layerThickness drops below the user-defined minimum, this method ramps down the normalVelocity and its tendencies between a range of layerThicknesses. Wetting-and-drying is currently only used in standalone ocean runs. [BFB]
passes:
merged to next |
merged to master |
@jonbob Thank you for your testing! Happy to have this merged! |
Add ocean wetting-and-drying ramp tests This PR is for testing the wetting-and-drying ramp feature introduced in E3SM-Project/E3SM#5590
Integrated latest wetting and drying changes from E3SM-Project#5590 Added/modified code to make it usable for LTS as well and not just RK4
This PR enhances the existing wetting-and-drying algorithm using an approach from O'Dea et al. 2020 (doi:10.1016/j.ocemod.2020.101708). Instead of zeroing out
normalVelocity
andnormalVelocity
tendencies in cells where the projectedlayerThickness
drops below the user-defined minimum, this method ramps down thenormalVelocity
and its tendencies between a range oflayerThickness
es.Wetting-and-drying is currently only used in standalone ocean runs.
[BFB]