Update Icepack Consortium main #390fb5518326217c2501dbf5, Sept 30, 2023 #33
+27
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See CICE-Consortium#462
Define new parameter, tscale_pnd_drain, that sets the timescale (in days) for macroscopic drainage when using mushy thermodynamics. This parameterization is described in Turner and Hunke 2015 (eqn 47). It contributes to flushing along with gravity drainage, and therefore is not the timescale for flushing overall. tscale_pnd_drain = 1 / lambda_pond in icepack_therm_mushy.F90.
Note: tscale_pnd_drain is not (yet) a namelist parameter, but it is now available in parameters for drivers to set their own values. This is needed for E3SM.
Change the default value of dpscale (scaling factor for meltpond flushing with BL99 thermo) to 1.e-3 in the code. This is the value used in icepack_in and all of our tests.
Clarify definition of dpscale in the code and documentation - dpscale alters the timescale for drainage but is only a unitless scaling factor.
Fix enthalpy units in code comments.