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 5779 for branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90 – NEMO

Ignore:
Timestamp:
2015-10-06T18:28:13+02:00 (9 years ago)
Author:
mathiot
Message:

ISF coupling branch: correct some compilation issues, remove code related to MISOMIP/ISOMIP+ and polishing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90

    r5619 r5779  
    6363 
    6464   REAL(wp), PUBLIC, SAVE ::   rcpi   = 2000.0_wp     ! phycst ? 
    65    REAL(wp), PUBLIC, SAVE ::   kappa  =    0.0_wp    ! phycst ? 
     65   REAL(wp), PUBLIC, SAVE ::   kappa  = 1.54e-6_wp    ! phycst ? 
    6666   REAL(wp), PUBLIC, SAVE ::   rhoisf = 920.0_wp      ! phycst ? 
    6767   REAL(wp), PUBLIC, SAVE ::   tsurf  = -20.0_wp      ! phycst ? 
     
    152152            !: read effective lenght (BG03) 
    153153            IF (nn_isf == 2) THEN 
    154                cvarLeff = 'soLeff'  
     154               ! Read Data and save some integral values 
    155155               CALL iom_open( sn_Leff_isf%clname, inum ) 
     156               cvarLeff  = 'soLeff'               !: variable name for Efficient Length scale 
    156157               CALL iom_get( inum, jpdom_data, cvarLeff, risfLeff , 1) 
    157158               CALL iom_close(inum) 
     
    297298         !  
    298299         ! output 
    299          IF( iom_use('qisf'  ) )   CALL iom_put('qisf'  , qisf) 
    300          IF( iom_use('fwfisf') )   CALL iom_put('fwfisf', fwfisf) 
     300         CALL iom_put('qisf'  , qisf) 
     301         IF( iom_use('fwfisf') )   CALL iom_put('fwfisf', fwfisf * stbl(:,:) / soce ) 
    301302      END IF 
    302303   
     
    528529! zwflx is upward water flux 
    529530! If non conservative we have zcfac=0.0 so what follows is then zfwflx*sss_m/zsfrz 
    530 !!!!!!!!                     zfwflx = ( zgammas*rau0 - zcfac*zfwflx ) * (zsfrz - stbl(ji,jj)) / stbl(ji,jj) 
     531                     zfwflx = ( zgammas*rau0 - zcfac*zfwflx ) * (zsfrz - stbl(ji,jj)) / stbl(ji,jj) 
    531532! test convergence and compute gammat 
    532533                     IF (( zhtflx - zhtflx_b) .LE. 0.01 ) lit = .FALSE. 
Note: See TracChangeset for help on using the changeset viewer.