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 1708 for trunk/NEMO/OPA_SRC/TRD/trdicp.F90 – NEMO

Ignore:
Timestamp:
2009-11-04T14:24:34+01:00 (15 years ago)
Author:
rblod
Message:

Stability for explicit bottom friction, see ticket #588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRD/trdicp.F90

    r1601 r1708  
    117117                  umo(ktrd) = umo(ktrd) + ptrd2dx(ji,jj) * e1u(ji,jj) * e2u(ji,jj) * fse3u(ji,jj,1) 
    118118                  vmo(ktrd) = vmo(ktrd) + ptrd2dy(ji,jj) * e1v(ji,jj) * e2v(ji,jj) * fse3v(ji,jj,1) 
    119                END DO 
    120             END DO 
    121             ! 
    122          CASE( jpdyn_trd_bfr )         ! bottom friction fluxes 
    123             DO jj = 1, jpj 
    124                DO ji = 1, jpi 
    125                   umo(ktrd) = umo(ktrd) + ptrd2dx(ji,jj) 
    126                   vmo(ktrd) = vmo(ktrd) + ptrd2dy(ji,jj) 
    127119               END DO 
    128120            END DO 
     
    520512            WRITE (numout,9530) hke(jpicpd_swf) / tvolt 
    521513            WRITE (numout,9531) hke(jpicpd_dat) / tvolt 
    522             WRITE (numout,9532) 
    523             WRITE (numout,9533)   & 
     514            WRITE (numout,9532) hke(jpicpd_bfr) / tvolt 
     515            WRITE (numout,9533) 
     516            WRITE (numout,9534)   & 
    524517            &     (  hke(jpicpd_hpg) + hke(jpicpd_keg) + hke(jpicpd_rvo) + hke(jpicpd_pvo) + hke(jpicpd_ldf)   & 
    525518            &      + hke(jpicpd_had) + hke(jpicpd_zad) + hke(jpicpd_zdf) + hke(jpicpd_spg) + hke(jpicpd_dat)   & 
    526             &      + hke(jpicpd_swf) ) / tvolt 
     519            &      + hke(jpicpd_swf) + hke(jpicpd_bfr) ) / tvolt 
    527520         ENDIF 
    528521 
     
    539532 9530    FORMAT(' surface wind forcing      u2= ', e20.13) 
    540533 9531    FORMAT(' dampimg term              u2= ', e20.13) 
    541  9532    FORMAT(' --------------------------------------------------') 
    542  9533    FORMAT(' total trend               u2= ', e20.13) 
     534 9532    FORMAT(' bottom flux               u2= ', e20.13) 
     535 9533    FORMAT(' --------------------------------------------------') 
     536 9534    FORMAT(' total trend               u2= ', e20.13) 
    543537 
    544538         IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.