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 2076 for branches/devmercator2010/NEMO/LIM_SRC_3 – NEMO

Ignore:
Timestamp:
2010-09-08T18:17:25+02:00 (14 years ago)
Author:
cbricaud
Message:

add change dev_1784_EVP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devmercator2010/NEMO/LIM_SRC_3/limrhg.F90

    r1469 r2076  
    77   !!            3.0  !  2008-03  (M. Vancoppenolle) LIM3 
    88   !!             -   !  2008-11  (M. Vancoppenolle, S. Bouillon, Y. Aksenov) add surface tilt in ice rheolohy  
     9   !!             -   !  2009-05  (G.Garric) addition of the lim2_evp cas 
    910   !!---------------------------------------------------------------------- 
    10 #if defined key_lim3 
     11#if defined key_lim3 || (  defined key_lim2 && ! defined key_lim2_vp ) 
    1112   !!---------------------------------------------------------------------- 
    1213   !!   'key_lim3'                                      LIM3 sea-ice model 
     
    1819   USE par_oce 
    1920   USE dom_oce 
    20    USE dom_ice 
    2121   USE sbc_oce         ! Surface boundary condition: ocean fields 
    2222   USE sbc_ice         ! Surface boundary condition: ice fields 
    23    USE ice 
    24    USE iceini 
    2523   USE lbclnk 
    2624   USE lib_mpp 
     
    2826   USE limitd_me 
    2927   USE prtctl          ! Print control 
    30  
     28#if defined key_lim3 
     29   USE dom_ice 
     30   USE ice 
     31   USE iceini 
     32#endif 
     33#if defined key_lim2 && ! defined key_lim2_vp 
     34   USE dom_ice_2 
     35   USE ice_2 
     36   USE iceini_2 
     37#endif 
    3138 
    3239   IMPLICIT NONE 
     
    180187         zresr                         !: Local error on velocity 
    181188 
     189#if  defined key_lim2 && ! defined key_lim2_vp 
     190     vt_s => hsnm 
     191     vt_i => hicm 
     192     at_i(:,:) = 1. - frld(:,:) 
     193#endif 
    182194      ! 
    183195      !------------------------------------------------------------------------------! 
     
    190202      u_ice2(:,:)  = 0.0 ; v_ice1(:,:)  = 0.0 
    191203      zdd(:,:)     = 0.0 ; zdt(:,:)     = 0.0 ; zds(:,:)     = 0.0 
    192  
     204#if defined key_lim3 
    193205      ! Ice strength on T-points 
    194206      CALL lim_itd_me_icestrength(ridge_scheme_swi) 
     207#endif 
    195208 
    196209      ! Ice mass and temp variables 
     
    200213         DO ji = 1 , jpi 
    201214            zc1(ji,jj)    = tms(ji,jj) * ( rhosn * vt_s(ji,jj) + rhoic * vt_i(ji,jj) ) 
     215#if defined key_lim3 
    202216            zpresh(ji,jj) = tms(ji,jj) *  strength(ji,jj) / 2. 
     217#else 
     218            zpresh(ji,jj) = tms(ji,jj) *  2. * pstar * hicm(ji,jj) * EXP( -c_rhg * frld(ji,jj) ) 
     219#endif 
    203220            ! tmi = 1 where there is ice or on land 
    204221            tmi(ji,jj)    = 1.0 - ( 1.0 - MAX( 0.0 , SIGN ( 1.0 , vt_i(ji,jj) - & 
     
    269286               / ( e2t(ji,jj+1) + e2t(ji,jj) + epsd ) 
    270287            ! 
     288            ! Mass, coriolis coeff. and currents 
    271289            u_oce1(ji,jj)  = u_oce(ji,jj) 
    272290            v_oce2(ji,jj)  = v_oce(ji,jj) 
Note: See TracChangeset for help on using the changeset viewer.