- Timestamp:
- 2020-04-09T16:30:48+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icethd_pnd.F90
r12725 r12726 88 88 ! 89 89 IF( a_i_1d(ji) > 0._wp .AND. t_su_1d(ji) >= rt0 ) THEN 90 a_ip_frac_1d(ji) = rn_apnd91 90 h_ip_1d(ji) = rn_hpnd 92 a_ip_1d(ji) = a_ip_frac_1d(ji)* a_i_1d(ji)91 a_ip_1d(ji) = rn_apnd * a_i_1d(ji) 93 92 h_il_1d(ji) = 0._wp ! no pond lids whatsoever 94 93 ELSE 95 a_ip_frac_1d(ji) = 0._wp96 94 h_ip_1d(ji) = 0._wp 97 95 a_ip_1d(ji) = 0._wp … … 184 182 !--- Remove ponds on thin ice or tiny ice fractions 185 183 a_ip_1d(ji) = 0._wp 186 a_ip_frac_1d(ji) = 0._wp187 184 h_ip_1d(ji) = 0._wp 188 185 h_il_1d(ji) = 0._wp … … 261 258 ! a_ip/a_i = a_ip_frac = h_ip / zaspect (cf Holland 2012, fitting SHEBA so that knowing v_ip we can distribute it to a_ip and h_ip) 262 259 a_ip_1d(ji) = MIN( a_i_1d(ji), SQRT( v_ip_1d(ji) * z1_aspect * a_i_1d(ji) ) ) ! make sure a_ip < a_i 263 a_ip_frac_1d(ji) = a_ip_1d(ji) / a_i_1d(ji) 264 h_ip_1d(ji) = zaspect * a_ip_frac_1d(ji) 260 h_ip_1d(ji) = zaspect * a_ip_1d(ji) / a_i_1d(ji) 265 261 266 262 !---------------! … … 269 265 IF( ln_pnd_flush ) THEN 270 266 ! height of top of the pond above sea-level 271 zhp = ( h_i_1d(ji) * ( rau0 - rhoi ) + h_ip_1d(ji) * ( rau0 - rhow * a_ip_ frac_1d(ji) ) ) * r1_rau0267 zhp = ( h_i_1d(ji) * ( rau0 - rhoi ) + h_ip_1d(ji) * ( rau0 - rhow * a_ip_1d(ji) / a_i_1d(ji) ) ) * r1_rau0 272 268 273 269 ! Calculate the permeability of the ice (Assur 1958) … … 288 284 !--- Set new pond area and depth ---! assuming linear relation between h_ip and a_ip_frac 289 285 a_ip_1d(ji) = MIN( a_i_1d(ji), SQRT( v_ip_1d(ji) * z1_aspect * a_i_1d(ji) ) ) ! make sure a_ip < a_i 290 a_ip_frac_1d(ji) = a_ip_1d(ji) / a_i_1d(ji) 291 h_ip_1d(ji) = zaspect * a_ip_frac_1d(ji) 286 h_ip_1d(ji) = zaspect * a_ip_1d(ji) / a_i_1d(ji) 292 287 293 288 ENDIF … … 302 297 IF ( h_il_1d(ji) > h_ip_1d(ji) * 10._wp ) THEN 303 298 a_ip_1d(ji) = 0._wp 304 a_ip_frac_1d(ji) = 0._wp305 299 h_ip_1d(ji) = 0._wp 306 300 h_il_1d(ji) = 0._wp
Note: See TracChangeset
for help on using the changeset viewer.