Skip to content

Commit

Permalink
Update icedrv_transfer.F90
Browse files Browse the repository at this point in the history
get atmice stress from Icepack and etc.
  • Loading branch information
wangqian2284 committed Dec 26, 2024
1 parent 37ba09c commit f3b7ffd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Multi_ice/icedrv_transfer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module subroutine schism_to_icepack
!cc = rhowat*4190.0_dbl_kind, &
! Volumetr. heat cap. of water [J/m**3/K](cc = rhowat*cp_water)
ex = 0.286_dbl_kind, &
threshold_hw = 30 ! max water depth for grounding
threshold_hw = 50 ! max water depth for grounding

integer(kind=dbl_kind) :: i, n, k, elem, j, kbp1, indx
integer (kind=int_kind) :: nt_Tsfc
Expand Down Expand Up @@ -158,7 +158,7 @@ module subroutine schism_to_icepack

hmix(i) = abs(depth0(nvrt)-depth0(nvrt - 1))
hmix(i) = min(dptot , hmix(i))
!if(idry(i)==1) hmix(i) = 0
if(idry(i)==1) hmix(i) = 0

T_air(i) = airt1(i) + 273.15_dbl_kind
Qa(i) = shum1(i)
Expand Down Expand Up @@ -200,10 +200,10 @@ module subroutine schism_to_icepack
dux=uatm(i)-uvel(i)
dvy=vatm(i)-vvel(i)
aux=sqrt(dux**2+dvy**2)*rhoair
!stress_atmice_x(i) = cdwin*aux*dux
!stress_atmice_y(i) = cdwin*aux*dvy
stress_atmice_x(i) = (1.1_dbl_kind+0.04*sqrt(uatm(i)**2+vatm(i)**2))/1000*aux*dux
stress_atmice_y(i) = (1.1_dbl_kind+0.04*sqrt(uatm(i)**2+vatm(i)**2))/1000*aux*dvy
stress_atmice_x(i) = cdwin*aux*dux
stress_atmice_y(i) = cdwin*aux*dvy
!stress_atmice_x(i) = (1.1_dbl_kind+0.04*sqrt(uatm(i)**2+vatm(i)**2))/1000*aux*dux
!stress_atmice_y(i) = (1.1_dbl_kind+0.04*sqrt(uatm(i)**2+vatm(i)**2))/1000*aux*dvy
!stress_atmice_x(i) = (0.5_dbl_kind)/1000*aux*dux
!stress_atmice_y(i) = (0.5_dbl_kind)/1000*aux*dvy

Expand Down

0 comments on commit f3b7ffd

Please sign in to comment.