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 4293 for branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/LIM_SRC_3/limitd_th.F90 – NEMO

Ignore:
Timestamp:
2013-11-20T17:56:18+01:00 (10 years ago)
Author:
clem
Message:

small corrections for ice categories hi_max and for shifting ice between categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/LIM_SRC_3/limitd_th.F90

    r4161 r4293  
    321321      ! Tricky trick see limitd_me.F90 
    322322      ! will be soon removed, CT 
    323       ! hi_max(kubnd) = 999.99 
     323      ! hi_max(kubnd) = 99. 
    324324      zhbnew(:,:,:) = 0._wp 
    325325 
     
    402402               zhbnew(ji,jj,kubnd) = 3._wp * ht_i(ji,jj,kubnd) - 2._wp * zhbnew(ji,jj,kubnd-1) 
    403403            ELSE 
    404                zhbnew(ji,jj,kubnd) = hi_max(kubnd) 
     404               zhbnew(ji,jj,kubnd) = hi_max(kubnd)   
     405               !!? clem bug: since hi_max(jpl)=99, this limit is very high  
     406               !!? but I think it is erased in fitline subroutine  
    405407            ENDIF 
    406408 
     
    10091011                  !zdaice(ji,jj,jl)  = a_i(ji,jj,jl) 
    10101012                  !zdvice(ji,jj,jl)  = v_i(ji,jj,jl) 
    1011                   zdaice(ji,jj,jl)  = a_i(ji,jj,jl)/2 
    1012                   zdvice(ji,jj,jl)  = v_i(ji,jj,jl)-zdaice(ji,jj,jl)*(hi_max(jl)+hi_max(jl-1))/2 
     1013                  !zdaice(ji,jj,jl)  = a_i(ji,jj,jl) * 0.5_wp 
     1014                  !zdvice(ji,jj,jl)  = v_i(ji,jj,jl)-zdaice(ji,jj,jl)*(hi_max(jl)+hi_max(jl-1)) * 0.5_wp 
    10131015                  ! end TECLIM change  
     1016                  ! clem: how much of a_i you send in cat sup is somewhat arbitrary 
     1017                  zdaice(ji,jj,jl)  = a_i(ji,jj,jl) * ( ht_i(ji,jj,jl) - hi_max(jl) ) / ht_i(ji,jj,jl)   
     1018                  zdvice(ji,jj,jl)  = v_i(ji,jj,jl) - ( a_i(ji,jj,jl) - zdaice(ji,jj,jl) ) * ( hi_max(jl) - epsi10 ) 
    10141019               ENDIF 
    10151020            END DO                 ! ji 
Note: See TracChangeset for help on using the changeset viewer.