- Timestamp:
- 2017-12-11T11:43:16+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk.F90
r8962 r8971 1003 1003 INTEGER :: iter ! local integer 1004 1004 REAL(wp) :: zfac, zfac2, zfac3 ! local scalars 1005 REAL(wp) :: zkeff_h, ztsu 1005 REAL(wp) :: zkeff_h, ztsu, ztsu0 ! 1006 1006 REAL(wp) :: zqc, zqnet ! 1007 1007 REAL(wp) :: zhe, zqa0 ! … … 1050 1050 zkeff_h = zfac * zgfac(ji,jj,jl) / & ! Effective conductivity of the snow-ice system divided by thickness 1051 1051 & ( rcdic * phs(ji,jj,jl) + rn_cnd_s * MAX( 0.01, phi(ji,jj,jl) ) ) 1052 ztsu = ptsu(ji,jj,jl) ! Store initial surface temperature 1052 ztsu = ptsu(ji,jj,jl) ! Store current iteration temperature 1053 ztsu0 = ptsu(ji,jj,jl) ! Store initial surface temperature 1053 1054 zqa0 = qsr_ice(ji,jj,jl) - qsr_ice_tr(ji,jj,jl) + qns_ice(ji,jj,jl) ! Net initial atmospheric heat flux 1054 1055 ! … … 1061 1062 ptsu (ji,jj,jl) = MIN( rt0, ztsu ) 1062 1063 qcn_ice(ji,jj,jl) = zkeff_h * ( ptsu(ji,jj,jl) - ptb(ji,jj) ) 1063 ! 1064 qns_ice(ji,jj,jl) = qns_ice(ji,jj,jl) + dqns_ice(ji,jj,jl) * ( ptsu(ji,jj,jl) - ztsu0 ) 1065 qml_ice(ji,jj,jl) = ( qsr_ice(ji,jj,jl) - qsr_ice_tr(ji,jj,jl) + qns_ice(ji,jj,jl) - qcn_ice(ji,jj,jl) ) & 1066 & * MAX( 0._wp , SIGN( 1._wp, ptsu(ji,jj,jl) - rt0 ) ) 1067 1064 1068 END DO 1065 1069 END DO
Note: See TracChangeset
for help on using the changeset viewer.