Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/mpas-albany-landice/src/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@
/>
<nml_option name="config_crevasse_water_depth_source" type="character" default_value="scalar" units="unitless"
description="Source of water depth in crevasses for use with crevasse-depth calving law."
possible_values="'data' (read from input file), 'scalar' (specified by config_crevasse_water_depth), or 'scaled_smb' (a specific fraction of negative SMB)"
possible_values="'data' (read from input file), 'scalar' (specified by config_crevasse_water_depth), 'scaled_smb_cumulative' (accmulates a specific fraction of negative SMB until SMB is no longer negative, at which point it resets), or 'scaled_smb_instantaneous' (proportional to instantaneous negative SMB)."
/>
<nml_option name="config_crevasse_water_depth" type="real" default_value="0.0" units="m"
description="Water depth in crevasses for Nick et al. (2010) crevasse depth calving law."
possible_values="any non-negative real value"
/>
<nml_option name="config_smb_fraction_to_water_depth" type="real" default_value="1.0" units="unitless"
description="Fraction of surface mass balance to convert to retain as water depth in crevasses for Nick et al. (2010) crevasse depth calving law."
description="Fraction of surface mass balance to convert to retain as water depth in crevasses for Nick et al. (2010) crevasse depth calving law. When 'config_crevasse_water_depth_source'='scaled_smb_cumulative', this is a scaling of the melt volume on each time step. When 'config_crevasse_water_depth_source' = 'scaled_smb_instantaneous', this is a direct proportionality between the negative SMB and crevasse water depth. For example, a value of 4.7472e4 would convert a melt rate of 0.001053 kg/m2/s (10 cm/day, a representative Greenland ablation zone melt rate) to a 50 m crevasse water depth (a representative crevasse depth). This option is meant to be used for situations like monthly mean melt rates."
possible_values="any non-negative real value"
/>
<nml_option name="config_ismip6_retreat_k" type="real" default_value="-170.0" units="m (m^3 s^-1)^-0.4 deg. C^-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4074,16 +4074,19 @@ subroutine crevasse_depth_calving(domain, err)
crevasseWaterDepth(:) = config_crevasse_water_depth
elseif (trim(config_crevasse_water_depth_source) == "data") then
! Do nothing. This was already retrieved above.
elseif (trim(config_crevasse_water_depth_source) == "scaled_smb") then
elseif (trim(config_crevasse_water_depth_source) == "scaled_smb_cumulative") then
where (sfcMassBalApplied < 0.0_RKIND)
crevasseWaterDepth = crevasseWaterDepth + &
(-1.0_RKIND * config_smb_fraction_to_water_depth * &
sfcMassBalApplied / config_ice_density * deltat)
elsewhere
crevasseWaterDepth = 0.0_RKIND
endwhere
elseif (trim(config_crevasse_water_depth_source) == "scaled_smb_instantaneous") then
crevasseWaterDepth = config_smb_fraction_to_water_depth * max(0.0_RKIND, -1.0_RKIND * sfcMassBalApplied)
else
call mpas_log_write("config_crevasse_water_depth_source must be set to 'scalar', 'data', or 'scaled_smb'.", MPAS_LOG_ERR)
call mpas_log_write("config_crevasse_water_depth_source must be set to 'scalar', 'data', 'scaled_smb_cumulative', " // &
"or 'scaled_smb_instantaneous'.", MPAS_LOG_ERR)
err = 1
return
endif
Expand Down