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 5134 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limupdate1.F90 – NEMO

Ignore:
Timestamp:
2015-03-09T18:27:34+01:00 (9 years ago)
Author:
clem
Message:

LIM3: changes to constrain ice thickness after advection. Ice volume and concentration are advected while ice thickness is deduced. This could result in overly high thicknesses associated with very low concentrations (in the 5th category)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/LIM_SRC_3/limupdate1.F90

    r5123 r5134  
    6969      IF( ln_limdiahsb ) CALL lim_cons_hsm(0, 'limupdate1', zvi_b, zsmv_b, zei_b, zfw_b, zfs_b, zft_b) 
    7070 
    71       !----------------- 
    72       ! zap small values 
    73       !----------------- 
    74       CALL lim_var_zapsmall 
    75  
    7671      CALL lim_var_glo2eqv 
    77       
    7872      !---------------------------------------------------- 
    79       ! Rebin categories with thickness out of bounds 
    80       !---------------------------------------------------- 
    81       IF ( jpl > 1 )   CALL lim_itd_th_reb(1, jpl) 
    82  
     73      ! ice concentration should not exceed amax  
     74      !----------------------------------------------------- 
    8375      at_i(:,:) = 0._wp 
    8476      DO jl = 1, jpl 
     
    8678      END DO 
    8779 
    88       !---------------------------------------------------- 
    89       ! ice concentration should not exceed amax  
    90       !----------------------------------------------------- 
    9180      DO jl  = 1, jpl 
    9281         DO jj = 1, jpj 
     
    9483               IF( at_i(ji,jj) > rn_amax .AND. a_i(ji,jj,jl) > 0._wp ) THEN 
    9584                  a_i(ji,jj,jl)  = a_i(ji,jj,jl) * ( 1._wp - ( 1._wp - rn_amax / at_i(ji,jj) ) ) 
    96                   ht_i(ji,jj,jl) = v_i(ji,jj,jl) / a_i(ji,jj,jl) 
    9785               ENDIF 
    9886            END DO 
    9987         END DO 
    10088      END DO 
    101  
    102       at_i(:,:) = 0._wp 
    103       DO jl = 1, jpl 
    104          at_i(:,:) = a_i(:,:,jl) + at_i(:,:) 
    105       END DO 
    10689     
    107       ! -------------------------------------- 
    108       ! Final thickness distribution rebinning 
    109       ! -------------------------------------- 
     90      !---------------------------------------------------- 
     91      ! Rebin categories with thickness out of bounds 
     92      !---------------------------------------------------- 
    11093      IF ( jpl > 1 ) CALL lim_itd_th_reb(1, jpl) 
    11194 
Note: See TracChangeset for help on using the changeset viewer.