Skip to content

Commit 01a0e2b

Browse files
fixed initialization of tscale_pnd_drain, now passes baseline comparison test with main
1 parent 437e0b8 commit 01a0e2b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

cicecore/cicedyn/general/ice_flux.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ end subroutine init_history_therm
10811081

10821082
subroutine init_history_dyn
10831083

1084-
use ice_state, only: aice, vice, vsno, trcr, strength, divu, shear
1084+
use ice_state, only: aice, vice, vsno, trcr, strength, divu, shear, vort
10851085
use ice_grid, only: grid_ice
10861086

10871087
logical (kind=log_kind) :: &
@@ -1102,6 +1102,7 @@ subroutine init_history_dyn
11021102
sig2 (:,:,:) = c0
11031103
divu (:,:,:) = c0
11041104
shear (:,:,:) = c0
1105+
vort (:,:,:) = c0
11051106
taubxU (:,:,:) = c0
11061107
taubyU (:,:,:) = c0
11071108
strength (:,:,:) = c0

cicecore/cicedyn/general/ice_init.F90

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module ice_init
1414

1515
use ice_kinds_mod
1616
use ice_communicate, only: my_task, master_task, ice_barrier
17-
use ice_constants, only: c0, c1, c2, c3, c5, c12, p01, p2, p3, p5, p75, p166, &
17+
use ice_constants, only: c0, c1, c2, c3, c5, c10, c12, p01, p2, p3, p5, p75, p166, &
1818
cm_to_m
1919
use ice_exit, only: abort_ice
2020
use ice_fileunits, only: nu_nml, nu_diag, nml_filename, diag_type, &
@@ -239,7 +239,9 @@ subroutine input_data
239239
kitd, ktherm, conduct, ksno, &
240240
a_rapid_mode, Rac_rapid_mode, aspect_rapid_mode, &
241241
dSdt_slow_mode, phi_c_slow_mode, phi_i_mushy, &
242-
floediam, hfrazilmin, Tliquidus_max, hi_min
242+
floediam, hfrazilmin, Tliquidus_max, hi_min, &
243+
tscale_pnd_drain
244+
243245

244246
namelist /dynamics_nml/ &
245247
kdyn, ndte, revised_evp, yield_curve, &
@@ -267,7 +269,6 @@ subroutine input_data
267269

268270
namelist /ponds_nml/ &
269271
hs0, dpscale, frzpnd, &
270-
tscale_pnd_drain, &
271272
rfracmin, rfracmax, pndaspect, hs1, &
272273
hp1
273274

@@ -500,7 +501,7 @@ subroutine input_data
500501
rfracmin = 0.15_dbl_kind ! minimum retained fraction of meltwater
501502
rfracmax = 0.85_dbl_kind ! maximum retained fraction of meltwater
502503
pndaspect = 0.8_dbl_kind ! ratio of pond depth to area fraction
503-
tscale_pnd_drain = 0.5
504+
tscale_pnd_drain = c10 ! mushy macroscopic drainage timescale (days)
504505
snwredist = 'none' ! type of snow redistribution
505506
snw_aging_table = 'test' ! snow aging lookup table
506507
snw_filename = 'unknown' ! snowtable filename

configuration/scripts/ice_in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
122122
restart_pond_topo = .false.
123123
tr_pond_lvl = .true.
124124
restart_pond_lvl = .false.
125+
tr_pond_sealvl = .false.
126+
restart_pond_sealvl = .false.
125127
tr_snow = .false.
126128
restart_snow = .false.
127129
tr_iso = .false.
@@ -147,6 +149,7 @@
147149
Tliquidus_max = -0.1d0
148150
hfrazilmin = 0.05d0
149151
floediam = 300.0d0
152+
tscale_pnd_drain = 10.0d0
150153
/
151154

152155
&dynamics_nml

0 commit comments

Comments
 (0)