- Timestamp:
- 2017-10-05T11:49:56+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfric.F90
r7049 r8595 178 178 ! Compute Ekman depth from wind stress forcing. 179 179 ! ------------------------------------------------------- 180 zflageos = ( 0.5 + SIGN( 0.5, nn_eos - 1. ) ) * rau0 180 !SF zflageos = ( 0.5 + SIGN( 0.5, nn_eos - 1. ) ) * rau0 181 !SF DO jj = 1, jpj 182 !SF DO ji = 1, jpi 183 !SF zrhos = rhop(ji,jj,1) + zflageos * ( 1. - tmask(ji,jj,1) ) 184 !SF zustar = SQRT( taum(ji,jj) / ( zrhos + rsmall ) ) 185 !SF ekm_dep(ji,jj) = rn_ekmfc * zustar / ( ABS( ff(ji,jj) ) + rsmall ) 186 !SF ekm_dep(ji,jj) = MAX(ekm_dep(ji,jj),rn_mldmin) ! Minimun allowed 187 !SF ekm_dep(ji,jj) = MIN(ekm_dep(ji,jj),rn_mldmax) ! Maximum allowed 188 !SF END DO 189 !SF END DO 190 181 191 DO jj = 1, jpj 182 192 DO ji = 1, jpi 183 zrhos = rhop(ji,jj,1) + zflageos * ( 1. - tmask(ji,jj,1) ) 184 zustar = SQRT( taum(ji,jj) / ( zrhos + rsmall ) ) 193 zustar = SQRT( taum(ji,jj) * r1_rau0 ) 185 194 ekm_dep(ji,jj) = rn_ekmfc * zustar / ( ABS( ff(ji,jj) ) + rsmall ) 186 195 ekm_dep(ji,jj) = MAX(ekm_dep(ji,jj),rn_mldmin) ! Minimun allowed
Note: See TracChangeset
for help on using the changeset viewer.