- Timestamp:
- 2017-09-25T21:11:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd_do.F90
r8559 r8562 123 123 ! 3) Collection thickness of ice formed in leads and polynyas 124 124 !------------------------------------------------------------------------------! 125 ! h icolis the thickness of new ice formed in open water126 ! h icolcan be either prescribed (frazswi = 0) or computed (frazswi = 1)125 ! ht_i_new is the thickness of new ice formed in open water 126 ! ht_i_new can be either prescribed (frazswi = 0) or computed (frazswi = 1) 127 127 ! Frazil ice forms in open water, is transported by wind 128 128 ! accumulates at the edge of the consolidated ice edge … … 136 136 137 137 ! Default new ice thickness 138 WHERE( qlead(:,:) < 0._wp ) ; h icol(:,:) = rn_hinew139 ELSEWHERE ; h icol(:,:) = 0._wp138 WHERE( qlead(:,:) < 0._wp ) ; ht_i_new(:,:) = rn_hinew 139 ELSEWHERE ; ht_i_new(:,:) = 0._wp 140 140 END WHERE 141 141 … … 145 145 ! Physical constants 146 146 !-------------------- 147 h icol(:,:) = 0._wp147 ht_i_new(:,:) = 0._wp 148 148 149 149 zhicrit = 0.04 ! frazil ice thickness … … 192 192 ! Iterative procedure 193 193 !--------------------- 194 h icol(ji,jj) = zhicrit + ( zhicrit + 0.1 ) &194 ht_i_new(ji,jj) = zhicrit + ( zhicrit + 0.1 ) & 195 195 & / ( ( zhicrit + 0.1 ) * ( zhicrit + 0.1 ) - zhicrit * zhicrit ) * ztwogp * zvrel2 196 196 197 197 iter = 1 198 198 DO WHILE ( iter < 20 ) 199 zf = ( h icol(ji,jj) - zhicrit ) * ( hicol(ji,jj) * hicol(ji,jj) - zhicrit * zhicrit ) - &200 & h icol(ji,jj) * zhicrit * ztwogp * zvrel2201 zfp = ( h icol(ji,jj) - zhicrit ) * ( 3.0 * hicol(ji,jj) + zhicrit ) - zhicrit * ztwogp * zvrel2202 203 h icol(ji,jj) = hicol(ji,jj) - zf / MAX( zfp, epsi20 )199 zf = ( ht_i_new(ji,jj) - zhicrit ) * ( ht_i_new(ji,jj) * ht_i_new(ji,jj) - zhicrit * zhicrit ) - & 200 & ht_i_new(ji,jj) * zhicrit * ztwogp * zvrel2 201 zfp = ( ht_i_new(ji,jj) - zhicrit ) * ( 3.0 * ht_i_new(ji,jj) + zhicrit ) - zhicrit * ztwogp * zvrel2 202 203 ht_i_new(ji,jj) = ht_i_new(ji,jj) - zf / MAX( zfp, epsi20 ) 204 204 iter = iter + 1 205 205 END DO … … 210 210 END DO 211 211 ! 212 CALL lbc_lnk_multi( zvrel, 'T', 1., h icol, 'T', 1. )212 CALL lbc_lnk_multi( zvrel, 'T', 1., ht_i_new, 'T', 1. ) 213 213 214 214 ENDIF ! End of computation of frazil ice collection thickness … … 252 252 CALL tab_2d_1d( nidx, idxice(1:nidx), sfx_opw_1d(1:nidx) , sfx_opw ) 253 253 CALL tab_2d_1d( nidx, idxice(1:nidx), wfx_opw_1d(1:nidx) , wfx_opw ) 254 CALL tab_2d_1d( nidx, idxice(1:nidx), zh_newice (1:nidx) , h icol)254 CALL tab_2d_1d( nidx, idxice(1:nidx), zh_newice (1:nidx) , ht_i_new ) 255 255 CALL tab_2d_1d( nidx, idxice(1:nidx), zvrel_1d (1:nidx) , zvrel ) 256 256
Note: See TracChangeset
for help on using the changeset viewer.