- Timestamp:
- 2018-11-07T18:25:49+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9866_HPC_03_globcom/src/ICE/icethd_pnd.F90
- Property svn:keywords set to Id
r9750 r10288 42 42 !!---------------------------------------------------------------------- 43 43 !! NEMO/ICE 4.0 , NEMO Consortium (2018) 44 !! $Id : icethd_pnd.F90 8420 2017-10-05 13:07:10Z clem$45 !! Software governed by the CeCILL licen ce (./LICENSE)44 !! $Id$ 45 !! Software governed by the CeCILL license (see ./LICENSE) 46 46 !!---------------------------------------------------------------------- 47 47 CONTAINS … … 133 133 REAL(wp) :: zdv_mlt ! available meltwater for melt ponding 134 134 REAL(wp) :: z1_Tp ! inverse reference temperature 135 REAL(wp) :: z1_rho fw! inverse freshwater density135 REAL(wp) :: z1_rhow ! inverse freshwater density 136 136 REAL(wp) :: z1_zpnd_aspect ! inverse pond aspect ratio 137 137 REAL(wp) :: zfac, zdum … … 139 139 INTEGER :: ji ! loop indices 140 140 !!------------------------------------------------------------------- 141 z1_rho fw = 1._wp / rhofw141 z1_rhow = 1._wp / rhow 142 142 z1_zpnd_aspect = 1._wp / zpnd_aspect 143 143 z1_Tp = 1._wp / zTp … … 157 157 ! 158 158 ! available meltwater for melt ponding [m, >0] and fraction 159 zdv_mlt = -( dh_i_sum(ji)*rhoi c + dh_s_mlt(ji)*rhosn ) * z1_rhofw * a_i_1d(ji)159 zdv_mlt = -( dh_i_sum(ji)*rhoi + dh_s_mlt(ji)*rhos ) * z1_rhow * a_i_1d(ji) 160 160 zfr_mlt = zrmin + ( zrmax - zrmin ) * a_i_1d(ji) ! from CICE doc 161 161 !zfr_mlt = zrmin + zrmax * a_i_1d(ji) ! from Holland paper … … 163 163 !--- Pond gowth ---! 164 164 ! v_ip should never be negative, otherwise code crashes 165 ! MV: as far as I saw, UM5 can create very small negative v_ip values (not Prather)166 165 v_ip_1d(ji) = MAX( 0._wp, v_ip_1d(ji) + zfr_mlt * zdv_mlt ) 167 166 ! 168 167 ! melt pond mass flux (<0) 169 168 IF( ln_pnd_fwb .AND. zdv_mlt > 0._wp ) THEN 170 zfac = zfr_mlt * zdv_mlt * rho fw * r1_rdtice169 zfac = zfr_mlt * zdv_mlt * rhow * r1_rdtice 171 170 wfx_pnd_1d(ji) = wfx_pnd_1d(ji) - zfac 172 171 !
Note: See TracChangeset
for help on using the changeset viewer.