Skip to content
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

Add ksno as a namelist parameter #433

Merged
merged 1 commit into from
Apr 10, 2020
Merged
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
Add ksno as a namelist parameter
  • Loading branch information
dabail10 committed Apr 10, 2020
commit 6fc680bc5a20c5fef180a918c92d824623cbb27e
8 changes: 6 additions & 2 deletions cicecore/cicedynB/general/ice_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ subroutine input_data
integer (kind=int_kind) :: numin, numax ! unit number limits

integer (kind=int_kind) :: rpcesm, rplvl, rptopo
real (kind=dbl_kind) :: Cf, puny
real (kind=dbl_kind) :: Cf, ksno, puny
integer :: abort_flag
character (len=64) :: tmpstr

Expand Down Expand Up @@ -176,7 +176,7 @@ subroutine input_data
n_doc, n_dic, n_don, n_fed, n_fep

namelist /thermo_nml/ &
kitd, ktherm, conduct, &
kitd, ktherm, conduct, ksno, &
a_rapid_mode, Rac_rapid_mode, aspect_rapid_mode, &
dSdt_slow_mode, phi_c_slow_mode, phi_i_mushy

Expand Down Expand Up @@ -296,6 +296,7 @@ subroutine input_data
krdg_redist = 1 ! 1 = new redistribution, 0 = Hibler 80
mu_rdg = 3 ! e-folding scale of ridged ice, krdg_partic=1 (m^0.5)
Cf = 17.0_dbl_kind ! ratio of ridging work to PE change in ridging
ksno = 0.3_dbl_kind ! snow thermal conductivity
close_boundaries = .false. ! true = set land on edges of grid
basalstress= .false. ! if true, basal stress for landfast is on
k1 = 8.0_dbl_kind ! 1st free parameter for landfast parameterization
Expand Down Expand Up @@ -576,6 +577,7 @@ subroutine input_data
call broadcast_scalar(krdg_redist, master_task)
call broadcast_scalar(mu_rdg, master_task)
call broadcast_scalar(Cf, master_task)
call broadcast_scalar(ksno, master_task)
call broadcast_scalar(basalstress, master_task)
call broadcast_scalar(k1, master_task)
call broadcast_scalar(k2, master_task)
Expand Down Expand Up @@ -949,6 +951,7 @@ subroutine input_data
ice_IOUnitsMaxUnit = numax

call icepack_init_parameters(Cf_in=Cf)
call icepack_init_parameters(ksno_in=ksno)
call icepack_warnings_flush(nu_diag)
if (icepack_warnings_aborted()) call abort_ice(error_message=subname//'Icepack Abort1', &
file=__FILE__, line=__LINE__)
Expand Down Expand Up @@ -1073,6 +1076,7 @@ subroutine input_data
trim(advection)
write(nu_diag,1030) ' shortwave = ', &
trim(shortwave)
write(nu_diag,1000) ' ksno = ', ksno
if (cpl_bgc) then
write(nu_diag,1000) ' BGC coupling is switched ON'
else
Expand Down
1 change: 1 addition & 0 deletions configuration/scripts/ice_in
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
kitd = 1
ktherm = 2
conduct = 'bubbly'
ksno = 0.3d0
a_rapid_mode = 0.5e-3
Rac_rapid_mode = 10.0
aspect_rapid_mode = 1.0
Expand Down
1 change: 1 addition & 0 deletions doc/source/user_guide/ug_case_settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Table of namelist options
"","", "``-1``", "thermodynamics disabled", ""
"\*","``conduct``", "``Maykut71``", "conductivity :cite:`Maykut71`", ""
"","", "``bubbly``", "conductivity :cite:`Pringle07`", ""
"\*","``ksno``", "real", "snow thermal conductivity", "0.3"
"\*","``a_rapid_mode``", "real", "brine channel diameter", "0.5x10 :math:`^{-3}` m"
"\*","``Rac_rapid_mode``", "real", "critical Rayleigh number", "10"
"\*","``aspect_rapid_mode``", "real", "brine convection aspect ratio", "1"
Expand Down