-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update namelist options for recent changes to Redi and Adams-Bashforth 2 #745
Conversation
@mark-petersen and @cbegeman, I will test this to make sure all affected tests still work. Once that's done, I'd appreciate your feedback to make sure we don't want to keep |
config_time_integrator = 'split_explicit' | ||
config_time_integrator = 'split_explicit_ab2' |
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, would it be better to stick with split_explicit
for isomip_plus
? (Should we explicitly do this for ice_shelf_2d
as well?) I think this might be necessary for wetting and drying work you're doing, right?
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.
@xylar This change is fine. When we are happy with split_explicit
wetting and drying, I will change config_time_integrator='RK4'
to config_time_integrator='split_explicit'
in namelist.thin_film.forward_and_ssh_adjust
. Let's not worry about ice_shelf_2d
. I was only planning on making enhancements (incl. adding additional tests) in polaris and not migrating those changes back to compass.
Only the nonhydro test case is still split_explicit (for now).
This follows the E3SM PR: E3SM-Project/E3SM#6077
6b37529
to
764ff7a
Compare
TestingI ran the |
@mark-petersen and @cbegeman, this is ready to review. It's not a high priority but it would be nice to be testing as consistently with E3SM itself as we can be. |
@mark-petersen Could you weigh in on whether this internal_wave test result is satisfactory? I wouldn't have expected there to be negative values. |
@xylar thanks for changing these tests. I agree that we should change to AB2 in all compass tests, since we made the switch in E3SM. @cbegeman thanks for noticing the negative relative RPE in the internal wave test case. Note that the vertical scale is a factor of 10 smaller, which means less spurious mixing over time. The negative values are concerning. It means that "anti-mixing" is going on, which would be gradient steepening or grid-scale noise. We should view some horizontal slices of temperature at those negative RPE points and compare the two time step schemes, to see what is going on. It might be that the timestep needs to be shortened a bit for AB2 relative to split explicit, because there are fewer iterations within each timestep, and we are seeing the result of a numerical instability. |
@mark-petersen Do you have time to explore the time step sensitivity? If we want to get this PR in soon, we could remove this change from all of the |
@mark-petersen, I think we're still waiting for your response here. |
Sorry I missed this. I'm out for a week, so I think it would be better to remove the flag change from the |
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.
Please merge after removing changes from internal_wave
tests. The AB2 was tested at length for global simulations.
@cbegeman, I switched the internal waves test back to |
@xylar and @mark-petersen I don't feel the need to test again now that the internal_wave test case changes are removed. The other tests checked out fine when I ran them earlier. If you would really like me to retest I can. |
@cbegeman, sure that's fine. |
Thanks for the earlier testing and review! |
This merge sets
config_Redi_min_layers_diag_terms = 0
, consistent with E3SM-Project/E3SM#6077.It also changes the time integrator from
split_explicit
tosplit_explicit_ab2
nearly everywhere.Checklist
Testing
in this PR) any testing that was used to verify the changes