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

Changeset 1267


Ignore:
Timestamp:
2009-01-14T10:07:15+01:00 (15 years ago)
Author:
ctlod
Message:

stabilization of the sea-ice/ocean stress computation in using ub/vb before instead now fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcssm.F90

    r1244 r1267  
    6060         ENDIF 
    6161         ! 
    62          ssu_m(:,:) = un(:,:,1) 
    63          ssv_m(:,:) = vn(:,:,1) 
     62         ssu_m(:,:) = ub(:,:,1) 
     63         ssv_m(:,:) = vb(:,:,1) 
    6464         sst_m(:,:) = tn(:,:,1) 
    6565         sss_m(:,:) = sn(:,:,1) 
     
    9696               IF(lwp) WRITE(numout,*) '~~~~~~~   mean fields initialised to instantaneous values' 
    9797               zcoef = REAL( nn_fsbc - 1, wp ) 
    98                ssu_m(:,:) = zcoef * un(:,:,1) 
    99                ssv_m(:,:) = zcoef * vn(:,:,1) 
     98               ssu_m(:,:) = zcoef * ub(:,:,1) 
     99               ssv_m(:,:) = zcoef * vb(:,:,1) 
    100100               sst_m(:,:) = zcoef * tn(:,:,1) 
    101101               sss_m(:,:) = zcoef * sn(:,:,1) 
     
    114114         !                                                !        Cumulate at each time step        ! 
    115115         !                                                ! ---------------------------------------- ! 
    116          ssu_m(:,:) = ssu_m(:,:) + un(:,:,1) 
    117          ssv_m(:,:) = ssv_m(:,:) + vn(:,:,1) 
     116         ssu_m(:,:) = ssu_m(:,:) + ub(:,:,1) 
     117         ssv_m(:,:) = ssv_m(:,:) + vb(:,:,1) 
    118118         sst_m(:,:) = sst_m(:,:) + tn(:,:,1) 
    119119         sss_m(:,:) = sss_m(:,:) + sn(:,:,1) 
Note: See TracChangeset for help on using the changeset viewer.