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 15675 – NEMO

Changeset 15675


Ignore:
Timestamp:
2022-01-27T14:03:44+01:00 (2 years ago)
Author:
hadjt
Message:

Bugfix SBC/sbcflx.F90:

Enda emailed (27 January 2022 09:28) to say a bug had been spotted in SBC/sbcflx.F90, where the wind stress was halved.

I have removed this 0.5 factor in (my) line 250.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_CO9_shelf_climate/src/OCE/SBC/sbcflx.F90

    r15637 r15675  
    248248            ztx = ( utau(ji-1,jj  ) + utau(ji,jj) ) * 0.5_wp * ( 2._wp - MIN( umask(ji-1,jj  ,1), umask(ji,jj,1) ) ) 
    249249            zty = ( vtau(ji  ,jj-1) + vtau(ji,jj) ) * 0.5_wp * ( 2._wp - MIN( vmask(ji  ,jj-1,1), vmask(ji,jj,1) ) )  
    250             zmod = 0.5_wp * SQRT( ztx * ztx + zty * zty ) * tmask(ji,jj,1) 
     250            zmod = SQRT( ztx * ztx + zty * zty ) * tmask(ji,jj,1) 
    251251            taum(ji,jj) = zmod 
    252252            wndm(ji,jj) = SQRT( zmod * zcoef )  !!clem: not used? 
Note: See TracChangeset for help on using the changeset viewer.