New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1684 – NEMO

Changeset 1684


Ignore:
Timestamp:
2009-10-28T11:27:35+01:00 (15 years ago)
Author:
rblod
Message:

Correct a bug in LIM3 when averaging ocean surface velocity, see ticket #538

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limsbc.F90

    r1528 r1684  
    204204               zat_v = ( at_i(ji,jj) + at_i(ji,jj+1) ) * 0.5  
    205205               ! 
    206                zu_ico = u_ice(ji,jj) - 0.5 * ( ub(ji,jj,1) - ssu_mb(ji,jj) )   ! ice-oce velocity using ub and ssu_mb 
    207                zv_ico = v_ice(ji,jj) - 0.5 * ( vb(ji,jj,1) - ssv_mb(ji,jj) ) 
     206               zu_ico = u_ice(ji,jj) - 0.5 * ( ub(ji,jj,1) + ssu_mb(ji,jj) )   ! ice-oce velocity using ub and ssu_mb 
     207               zv_ico = v_ice(ji,jj) - 0.5 * ( vb(ji,jj,1) + ssv_mb(ji,jj) ) 
    208208               !                                        ! quadratic drag formulation with rotation 
    209209!!gm still an error in the rotation, but usually the angle is zero (zsang=0, cangvg=1) 
Note: See TracChangeset for help on using the changeset viewer.