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 1244 for trunk/NEMO/LIM_SRC_3/limrhg.F90 – NEMO

Ignore:
Timestamp:
2009-01-06T12:13:44+01:00 (15 years ago)
Author:
ctlod
Message:

improve the LIM 3.0 stability in using sea surface height, see ticket: #286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limrhg.F90

    r1156 r1244  
    44   !!   Ice rheology : sea ice rheology 
    55   !!====================================================================== 
     6   !! History :   -   !  2007-03  (M.A. Morales Maqueda, S. Bouillon) Original code 
     7   !!            3.0  !  2008-03  (M. Vancoppenolle) LIM3 
     8   !!             -   !  2008-11  (M. Vancoppenolle, S. Bouillon, Y. Aksenov) add surface tilt in ice rheolohy  
     9   !!---------------------------------------------------------------------- 
    610#if defined key_lim3 
    711   !!---------------------------------------------------------------------- 
     
    1620   USE dom_oce 
    1721   USE dom_ice 
     22   USE sbc_oce         ! Surface boundary condition: ocean fields 
    1823   USE sbc_ice         ! Surface boundary condition: ice fields 
    1924   USE ice 
     
    100105      !!                 Vancoppenolle et al., OM08 
    101106      !! 
    102       !! History : 
    103       !!   1.0  !  07-03  (M.A. Morales Maqueda, S. Bouillon) 
    104       !!   2.0  !  08-03  M. Vancoppenolle : LIM3 
    105       !! 
    106107      !!------------------------------------------------------------------- 
    107108      ! * Arguments 
     
    290291            ! SB On utilise maintenant le gradient de la pente de l'ocean 
    291292            ! include it later 
    292             !    zdsshx =  (ssh_io(ji+1,jj) - ssh_io(ji,jj))/e1u(ji,jj) 
    293             !    zdsshy =  (ssh_io(ji,jj+1) - ssh_io(ji,jj))/e2v(ji,jj)   
    294  
    295             zdsshx = 0.0 
    296             zdsshy = 0.0  
     293 
     294            zdsshx =  (ssh_m(ji+1,jj) - ssh_m(ji,jj))/e1u(ji,jj) 
     295            zdsshy =  (ssh_m(ji,jj+1) - ssh_m(ji,jj))/e2v(ji,jj) 
    297296 
    298297            za1ct(ji,jj) = ztagnx - zmass1(ji,jj) * grav * zdsshx 
Note: See TracChangeset for help on using the changeset viewer.