Skip to content

Commit

Permalink
Merge pull request #56 from COSIMA/iss55
Browse files Browse the repository at this point in the history
don't ignore chio namelist value - fixes issue 55
  • Loading branch information
russfiedler authored Mar 9, 2021
2 parents 16fcc6d + c1c6a47 commit dfb833a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/ice_therm_vertical.F90
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,13 @@ subroutine frzmlt_bottom_lateral (nx_block, ny_block, &
! (m/s/deg^(-m2))
m2 = 1.36_dbl_kind ! constant from Maykut & Perovich
! (unitless)

!#if defined(AusCOM) || defined(ACCICE)
#ifdef AusCOM
cpchr = -cp_ocn*rhow*chio
cpchr = -cp_ocn*rhow*chio ! chio defaults to 0.006 ala McPhee and Maykut
#else
! 0.006 = unitless param for basal heat flux ala McPhee and Maykut
cpchr = -cp_ocn*rhow*0.006_dbl_kind
#endif

do j = 1, ny_block
Expand Down Expand Up @@ -738,9 +742,6 @@ subroutine frzmlt_bottom_lateral (nx_block, ny_block, &
! Note: Cdn_ocn has already been used for calculating ustar
! (formdrag only) --- David Schroeder (CPOM)
cpchr = -cp_ocn*rhow*Cdn_ocn(i,j)
else ! fbot_xfer_type == 'constant'
! 0.006 = unitless param for basal heat flx ala McPhee and Maykut
cpchr = -cp_ocn*rhow*0.006_dbl_kind
endif

fbot(i,j) = cpchr * deltaT * ustar ! < 0
Expand Down

0 comments on commit dfb833a

Please sign in to comment.