- Timestamp:
- 2015-02-06T19:12:57+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limthd.F90
r5064 r5067 158 158 DO jj = 1, jpj 159 159 DO ji = 1, jpi 160 rswitch = tm s(ji,jj) * ( 1._wp - MAX( 0._wp , SIGN( 1._wp , - at_i(ji,jj) + epsi10 ) ) ) ! 0 if no ice160 rswitch = tmask(ji,jj,1) * ( 1._wp - MAX( 0._wp , SIGN( 1._wp , - at_i(ji,jj) + epsi10 ) ) ) ! 0 if no ice 161 161 ! 162 162 ! ! solar irradiance transmission at the mixed layer bottom and used in the lead heat budget … … 171 171 ! precip is included in qns but not in qns_ice 172 172 IF ( lk_cpl ) THEN 173 zqld = tm s(ji,jj) * rdt_ice * &173 zqld = tmask(ji,jj,1) * rdt_ice * & 174 174 & ( zqsr(ji,jj) * fraqsr_1lev(ji,jj) + zqns(ji,jj) & ! pfrld already included in coupled mode 175 & + ( pfrld(ji,jj)** betas - pfrld(ji,jj) ) * sprecip(ji,jj) * & ! heat content of precip175 & + ( pfrld(ji,jj)**rn_betas - pfrld(ji,jj) ) * sprecip(ji,jj) * & ! heat content of precip 176 176 & ( cpic * ( MIN( tatm_ice(ji,jj), rt0_snow ) - rtt ) - lfus ) & 177 177 & + ( 1._wp - pfrld(ji,jj) ) * ( tprecip(ji,jj) - sprecip(ji,jj) ) * rcp * ( tatm_ice(ji,jj) - rtt ) ) 178 178 ELSE 179 zqld = tm s(ji,jj) * rdt_ice * &179 zqld = tmask(ji,jj,1) * rdt_ice * & 180 180 & ( pfrld(ji,jj) * ( zqsr(ji,jj) * fraqsr_1lev(ji,jj) + zqns(ji,jj) ) & 181 & + ( pfrld(ji,jj)** betas - pfrld(ji,jj) ) * sprecip(ji,jj) * & ! heat content of precip181 & + ( pfrld(ji,jj)**rn_betas - pfrld(ji,jj) ) * sprecip(ji,jj) * & ! heat content of precip 182 182 & ( cpic * ( MIN( tatm_ice(ji,jj), rt0_snow ) - rtt ) - lfus ) & 183 183 & + ( 1._wp - pfrld(ji,jj) ) * ( tprecip(ji,jj) - sprecip(ji,jj) ) * rcp * ( tatm_ice(ji,jj) - rtt ) ) … … 185 185 186 186 !-- Energy needed to bring ocean surface layer until its freezing (<0, J.m-2) --- ! 187 zqfr = tm s(ji,jj) * rau0 * rcp * fse3t_m(ji,jj) * ( t_bo(ji,jj) - ( sst_m(ji,jj) + rt0 ) )187 zqfr = tmask(ji,jj,1) * rau0 * rcp * fse3t_m(ji,jj) * ( t_bo(ji,jj) - ( sst_m(ji,jj) + rt0 ) ) 188 188 189 189 !-- Energy Budget of the leads (J.m-2). Must be < 0 to form ice … … 229 229 & + pfrld(ji,jj) * qns(ji,jj) & 230 230 ! latent heat of precip (note that precip is included in qns but not in qns_ice) 231 & + ( pfrld(ji,jj)** betas - pfrld(ji,jj) ) * sprecip(ji,jj) &231 & + ( pfrld(ji,jj)**rn_betas - pfrld(ji,jj) ) * sprecip(ji,jj) & 232 232 & * ( cpic * ( MIN( tatm_ice(ji,jj), rt0_snow ) - rtt ) - lfus ) & 233 233 & + ( 1._wp - pfrld(ji,jj) ) * ( tprecip(ji,jj) - sprecip(ji,jj) ) * rcp * ( tatm_ice(ji,jj) - rtt ) & … … 651 651 !!------------------------------------------------------------------- 652 652 INTEGER :: ios ! Local integer output status for namelist read 653 NAMELIST/namicethd/ hiccrit, fraz_swi, maxfrazb, vfrazb,Cfrazb, &654 & hiclim, parsub,betas, &655 & kappa_i, nconv_i_thd, maxer_i_thd, thcon_i_swi, &653 NAMELIST/namicethd/ rn_hnewice, nn_frazil, rn_maxfrazb, rn_vfrazb, rn_Cfrazb, & 654 & rn_himin, parsub, rn_betas, & 655 & rn_kappa_i, nn_conv_dif, rn_terr_dif, nn_ice_thcon, & 656 656 & nn_monocat 657 657 !!------------------------------------------------------------------- … … 682 682 WRITE(numout,*) 683 683 WRITE(numout,*)' Namelist of ice parameters for ice thermodynamic computation ' 684 WRITE(numout,*)' ice thick. for lateral accretion hiccrit = ', hiccrit685 WRITE(numout,*)' Frazil ice thickness as a function of wind or not fraz_swi = ', fraz_swi686 WRITE(numout,*)' Maximum proportion of frazil ice collecting at bottom maxfrazb = ',maxfrazb687 WRITE(numout,*)' Thresold relative drift speed for collection of frazil vfrazb = ',vfrazb688 WRITE(numout,*)' Squeezing coefficient for collection of frazil Cfrazb = ',Cfrazb689 WRITE(numout,*)' minimum ice thickness hiclim = ', hiclim684 WRITE(numout,*)' ice thick. for lateral accretion rn_hnewice = ', rn_hnewice 685 WRITE(numout,*)' Frazil ice thickness as a function of wind or not nn_frazil = ', nn_frazil 686 WRITE(numout,*)' Maximum proportion of frazil ice collecting at bottom rn_maxfrazb = ', rn_maxfrazb 687 WRITE(numout,*)' Thresold relative drift speed for collection of frazil rn_vfrazb = ', rn_vfrazb 688 WRITE(numout,*)' Squeezing coefficient for collection of frazil rn_Cfrazb = ', rn_Cfrazb 689 WRITE(numout,*)' minimum ice thickness rn_himin = ', rn_himin 690 690 WRITE(numout,*)' numerical carac. of the scheme for diffusion in ice ' 691 691 WRITE(numout,*)' switch for snow sublimation (=1) or not (=0) parsub = ', parsub 692 WRITE(numout,*)' coefficient for ice-lead partition of snowfall betas = ',betas693 WRITE(numout,*)' extinction radiation parameter in sea ice kappa_i = ',kappa_i694 WRITE(numout,*)' maximal n. of iter. for heat diffusion computation n conv_i_thd = ', nconv_i_thd695 WRITE(numout,*)' maximal err. on T for heat diffusion computation maxer_i_thd = ', maxer_i_thd696 WRITE(numout,*)' switch for comp. of thermal conductivity in the ice thcon_i_swi = ', thcon_i_swi692 WRITE(numout,*)' coefficient for ice-lead partition of snowfall rn_betas = ', rn_betas 693 WRITE(numout,*)' extinction radiation parameter in sea ice rn_kappa_i = ', rn_kappa_i 694 WRITE(numout,*)' maximal n. of iter. for heat diffusion computation nn_conv_dif = ', nn_conv_dif 695 WRITE(numout,*)' maximal err. on T for heat diffusion computation rn_terr_dif = ', rn_terr_dif 696 WRITE(numout,*)' switch for comp. of thermal conductivity in the ice nn_ice_thcon = ', nn_ice_thcon 697 697 WRITE(numout,*)' check heat conservation in the ice/snow con_i = ', con_i 698 698 WRITE(numout,*)' virtual ITD mono-category parameterizations (1) or not nn_monocat = ', nn_monocat
Note: See TracChangeset
for help on using the changeset viewer.