Changeset 917 for trunk/NEMO/LIM_SRC_3/limsbc.F90
- Timestamp:
- 2008-05-07T16:50:27+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_3/limsbc.F90
r913 r917 82 82 REAL(wp) :: zfrldu, zfrldv ! lead fraction at U- & V-points 83 83 REAL(wp) :: zu_io , zv_io ! 2 components of the ice-ocean velocity 84 REAL(wp) :: ztglx , ztgly ! temporary scalar 84 85 85 86 #if defined key_coupled … … 279 280 zmod = SQRT( zu_io * zu_io + zv_io * zv_io ) 280 281 ! quadratic drag formulation 281 ztio_u(ji,jj) = rhoco * zmod * ( cangvg * zu_io - zsang * zv_io ) 282 ztio_v(ji,jj) = rhoco * zmod * ( cangvg * zv_io + zsang * zu_io ) 282 ztglx = rhoco * zmod * ( cangvg * zu_io - zsang * zv_io ) 283 ztgly = rhoco * zmod * ( cangvg * zv_io + zsang * zu_io ) 284 ! IMPORTANT 285 ! these lines are bound to prevent numerical oscillations 286 ! in the ice-ocean stress 287 ! They are physically ill-based. There is a cleaner solution 288 ! to try (remember discussion in Paris Gurvan) 289 ztio_u(ji,jj) = ztglx * exp( - zmod / 0.5 ) 290 ztio_v(ji,jj) = ztgly * exp( - zmod / 0.5 ) 283 291 ! 284 292 END DO
Note: See TracChangeset
for help on using the changeset viewer.