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 1540 for trunk/NEMO – NEMO

Changeset 1540 for trunk/NEMO


Ignore:
Timestamp:
2009-07-27T12:28:33+02:00 (15 years ago)
Author:
ctlod
Message:

add a multiplicative coefficient to be able to increase/reduce total input runoffs, see ticket: #492

File:
1 edited

Legend:

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

    r1482 r1540  
    3737   REAL(wp)          , PUBLIC ::   rn_hrnf      = 0.e0    !: runoffs, depth over which enhanced vertical mixing is used 
    3838   REAL(wp)          , PUBLIC ::   rn_avt_rnf   = 0.e0    !: runoffs, value of the additional vertical mixing coef. [m2/s] 
     39   REAL(wp)          , PUBLIC ::   rn_mul_rnf   = 1.e0    !: multiplicative factor for runoff 
    3940 
    4041   INTEGER , PUBLIC                     ::   nkrnf = 0   !: number of levels over which Kz is increased at river mouths 
     
    102103 
    103104         IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 
    104             emp (:,:) = emp (:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
    105             emps(:,:) = emps(:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
     105            emp (:,:) = emp (:,:) - rn_mul_rnf * ABS( sf_rnf(1)%fnow(:,:) ) 
     106            emps(:,:) = emps(:,:) - rn_mul_rnf * ABS( sf_rnf(1)%fnow(:,:) ) 
    106107            CALL iom_put( "runoffs", sf_rnf(1)%fnow )         ! runoffs 
    107108         ENDIF 
     
    125126      !! 
    126127      NAMELIST/namsbc_rnf/ cn_dir, ln_rnf_emp, sn_rnf, sn_cnf, ln_rnf_mouth,   & 
    127          &                 rn_hrnf, rn_avt_rnf 
     128         &                 rn_hrnf, rn_avt_rnf, rn_mul_rnf 
    128129      !!---------------------------------------------------------------------- 
    129130 
     
    151152         WRITE(numout,*) '      river mouth additional Kz                  rn_avt_rnf   = ', rn_avt_rnf 
    152153         WRITE(numout,*) '      depth of river mouth additional mixing     rn_hrnf      = ', rn_hrnf 
     154         WRITE(numout,*) '      multiplicative factor for runoff           rn_mul_rnf   = ', rn_mul_rnf   
    153155      ENDIF 
    154156 
Note: See TracChangeset for help on using the changeset viewer.