-
Notifications
You must be signed in to change notification settings - Fork 308
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
SOwISC12to60E2r02: Update spin-up config #532
SOwISC12to60E2r02: Update spin-up config #532
Conversation
I forgot that this hadn't yet been committed to #518 when I merged that PR :-( |
I'm testing this now on LANL IC at:
|
8b3c597
to
7be33a4
Compare
@mark-petersen and @kristin-hoch, I'm having a lot of trouble with spinning up this mesh. I think I copied exactly a set of time steps (barotorpic and baroclinic), Rayleigh damping coefficients etc. that worked for me with the same setup (but before the recent merge of this mesh to My attempts are in:
but I'm more looking for some general advice and intuition. In the meantime, I'm downloading VTK files from the last restart to see if they give me any insight. |
Thanks. I've struggled with spin-up before too. The normal solution is to run longer at the early stages (short time step, high Rayleigh), but usually a few days is enough, and 40 is way overboard. We've changed the vertical grid, and this also has ice shelves. Check the thickness of the thinnest cell, especially the partial bottom cells. Also, see if the blow-up happens below ice shelves, in a PBC, a tilted cell, or what. It could also be an odd-ball shaped cell in the horizontal. You could plot kineticEnergyCell when it spikes in the globa stats, and see where it is high. |
Xylar, |
@kristin-hoch great point, thanks for pointing that out. I'll double check that flag in COMPASS as well. |
@kristin-hoch, that would have certainly been a possible (and embarrassing) mistake but I've checked that. Those conversion factors only apply to the 60-layer mesh taken from POP. We're now using 64 layers and the default conversion factor of 1.0 |
More gradual decrease of Rayleigh damping and increase of time step was needed (still over 20 days total) to hopefully prevent blow-up in the new configuration.
Needed to prevent blow-up under single-cell ice shelves locally deep ice draft
7be33a4
to
1741299
Compare
Okay, I finally was able to take the time to fix this today. It turned out to be a single-cell ice shelf with an abrupt drop in |
I'm not sure the spin-up needs to be divided into 4 steps at this point, but I also don't think it does any harm, so I'd like to leave it that way. @mark-petersen, could you take a look and make sure this makes sense to you? It is ready to merge when the timing is right. Once that happens, I'll redo 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.
@xylar this all looks good. If you had a successful spin-up, I'm happy to merge it. I don't mind the extra spin-up steps, or the extra smoothing.
@mark-petersen, yep, my spin-up was successful so go ahead and merge, please! |
Following the SORRM mesh from compass/legacy, we perform 10 iterations of smoothing with a weight of 0.92. For more info on the smoothing approach, see: MPAS-Dev/MPAS-Model#440 For more on the chosen values (related to ice-shelf cavities), see: MPAS-Dev/MPAS-Model#532 (comment)
Following the SORRM mesh from compass/legacy, we perform 10 iterations of smoothing with a weight of 0.92. For more info on the smoothing approach, see: MPAS-Dev/MPAS-Model#440 For more on the chosen values (related to ice-shelf cavities), see: MPAS-Dev/MPAS-Model#532 (comment)
We perform 6 iterations of smoothing with a weight of 0.9. For more info on the smoothing approach, see: MPAS-Dev/MPAS-Model#440 For more on previously chosen values (related to ice-shelf cavities), see: MPAS-Dev/MPAS-Model#532 (comment)
More gradual decrease of Rayleigh damping and increase of time step was needed (still over 20 days total) to prevent blow-up in the new configuration.