-
Notifications
You must be signed in to change notification settings - Fork 375
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
Corrects thin ice/snow treatment of enthalpy and other tracers #5630
Conversation
To be tested as a possible fix to #5124 - mpas-si crashes on small timesteps bug fix For snow/ice thicknesses < puny but > 0, enthalpy and other adjusted tracers are spread evenly among layers. Non-BFB
Corrects possible floating snow during ice loss in thickness_changes non-BFB, bugfix
Code was tested in a 15-year fully coupled simulation. MPAS-Analysis of the sea ice can be found here: https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.jeffery/E3SMv2/thin-ice-enthalpy-constant-feature-snow/ Baseline is thin-ice-enthalpy-constant-master |
Plots of salt, mass and energy conservation : |
testing now -- thanks @njeffery |
@njeffery - this branch does pass my simplified test for the originally reported bug |
Great! thanks @jonbob. |
@proteanplanet - when you get a chance, could you please review this? Thanks |
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.
This was successfully tested on a 3-month D-case. While a short simulation, the difference from the current master is provided here:
North South
IceExtent: +5.17637e+05 +4.16285e+05
IceVolume: -8.02587e+02 +1.09206e+03
SnowVolume: +1.58975e+02 +1.65821e+02
KineticEnergy: +5.82797e+13 +4.18521e+13
Without some git manipulation, I was unable to run the e3sm_ice_developer test suite on the code. However, it passed the three-month smoke test.
#5630) Corrects thin ice/snow treatment of enthalpy and other tracers This fix redistributes enthalpy and other tracers evenly in snow and ice when their respective thicknesses are < 1e-15 . Previously, these tracers were zero'd non-conservatively. Also corrects a bug in the zeroing of snow thicknesses, and removes snow in thickness_changes if the ice vanishes. Fixes #5124 [non-BFB]
Successfully completes, but shows expected DIFFs for:
merged to next |
Thanks @jonbob ! |
merged to master and expected DIFFs blessed -- except for chrysalis next which did not report |
With the fix in MPAS-SI: Corrects thin ice/snow treatment of enthalpy and other tracers (E3SM-Project#5630) the TSC test can now generate a baseline with dtime=1 using MPAS-SI
Adopted from E3SM-Project/E3SM#5630 "This fix redistributes enthalpy and other tracers evenly in snow and ice when their respective thicknesses are < 1e-15 . Previously, these tracers were zero'd non-conservatively. Also corrects a bug in the zeroing of snow thicknesses, and removes snow in thickness_changes if the ice vanishes."
* Corrects thin ice/snow treatment of enthalpy and other tracers Adopted from E3SM-Project/E3SM#5630 "This fix redistributes enthalpy and other tracers evenly in snow and ice when their respective thicknesses are < 1e-15 . Previously, these tracers were zero'd non-conservatively. Also corrects a bug in the zeroing of snow thicknesses, and removes snow in thickness_changes if the ice vanishes." * Clean up modifications
Revert TSC non-b4b test to use the F2010 compset With the fix in MPAS-SI: "Corrects thin ice/snow treatment of enthalpy and other tracers" (#5630) the TSC test can now generate a baseline with dtime=1 using MPAS-SI [non-BFB] only for TSC test
Revert TSC non-b4b test to use the F2010 compset With the fix in MPAS-SI: "Corrects thin ice/snow treatment of enthalpy and other tracers" (#5630) the TSC test can now generate a baseline with dtime=1 using MPAS-SI [non-BFB] only for TSC test
This fix redistributes enthalpy and other tracers evenly in snow and ice when their respective thicknesses are < 1e-15 . Previously, these tracers were zero'd non-conservatively.
Also corrects a bug in the zeroing of snow thicknesses, and removes snow in thickness_changes if the ice vanishes.
Fixes #5124
[non-BFB]