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 8562 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd_do.F90 – NEMO

Ignore:
Timestamp:
2017-09-25T21:11:19+02:00 (7 years ago)
Author:
clem
Message:

cosmetics only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd_do.F90

    r8559 r8562  
    123123      ! 3) Collection thickness of ice formed in leads and polynyas 
    124124      !------------------------------------------------------------------------------!     
    125       ! hicol is the thickness of new ice formed in open water 
    126       ! hicol can be either prescribed (frazswi = 0) or computed (frazswi = 1) 
     125      ! ht_i_new is the thickness of new ice formed in open water 
     126      ! ht_i_new can be either prescribed (frazswi = 0) or computed (frazswi = 1) 
    127127      ! Frazil ice forms in open water, is transported by wind 
    128128      ! accumulates at the edge of the consolidated ice edge 
     
    136136 
    137137      ! Default new ice thickness 
    138       WHERE( qlead(:,:) < 0._wp )   ;   hicol(:,:) = rn_hinew 
    139       ELSEWHERE                     ;   hicol(:,:) = 0._wp 
     138      WHERE( qlead(:,:) < 0._wp )   ;   ht_i_new(:,:) = rn_hinew 
     139      ELSEWHERE                     ;   ht_i_new(:,:) = 0._wp 
    140140      END WHERE 
    141141 
     
    145145         ! Physical constants 
    146146         !-------------------- 
    147          hicol(:,:) = 0._wp 
     147         ht_i_new(:,:) = 0._wp 
    148148 
    149149         zhicrit = 0.04 ! frazil ice thickness 
     
    192192                  ! Iterative procedure 
    193193                  !--------------------- 
    194                   hicol(ji,jj) = zhicrit +   ( zhicrit + 0.1 )    & 
     194                  ht_i_new(ji,jj) = zhicrit +   ( zhicrit + 0.1 )    & 
    195195                     &                   / ( ( zhicrit + 0.1 ) * ( zhicrit + 0.1 ) -  zhicrit * zhicrit ) * ztwogp * zvrel2 
    196196 
    197197                  iter = 1 
    198198                  DO WHILE ( iter < 20 )  
    199                      zf  = ( hicol(ji,jj) - zhicrit ) * ( hicol(ji,jj) * hicol(ji,jj) - zhicrit * zhicrit ) -   & 
    200                         &    hicol(ji,jj) * zhicrit * ztwogp * zvrel2 
    201                      zfp = ( hicol(ji,jj) - zhicrit ) * ( 3.0 * hicol(ji,jj) + zhicrit ) - zhicrit * ztwogp * zvrel2 
    202  
    203                      hicol(ji,jj) = hicol(ji,jj) - zf / MAX( zfp, epsi20 ) 
     199                     zf  = ( ht_i_new(ji,jj) - zhicrit ) * ( ht_i_new(ji,jj) * ht_i_new(ji,jj) - zhicrit * zhicrit ) -   & 
     200                        &    ht_i_new(ji,jj) * zhicrit * ztwogp * zvrel2 
     201                     zfp = ( ht_i_new(ji,jj) - zhicrit ) * ( 3.0 * ht_i_new(ji,jj) + zhicrit ) - zhicrit * ztwogp * zvrel2 
     202 
     203                     ht_i_new(ji,jj) = ht_i_new(ji,jj) - zf / MAX( zfp, epsi20 ) 
    204204                     iter = iter + 1 
    205205                  END DO 
     
    210210         END DO  
    211211         !  
    212          CALL lbc_lnk_multi( zvrel, 'T', 1., hicol, 'T', 1.  ) 
     212         CALL lbc_lnk_multi( zvrel, 'T', 1., ht_i_new, 'T', 1.  ) 
    213213 
    214214      ENDIF ! End of computation of frazil ice collection thickness 
     
    252252         CALL tab_2d_1d( nidx, idxice(1:nidx), sfx_opw_1d(1:nidx) , sfx_opw     ) 
    253253         CALL tab_2d_1d( nidx, idxice(1:nidx), wfx_opw_1d(1:nidx) , wfx_opw     ) 
    254          CALL tab_2d_1d( nidx, idxice(1:nidx), zh_newice (1:nidx) , hicol       ) 
     254         CALL tab_2d_1d( nidx, idxice(1:nidx), zh_newice (1:nidx) , ht_i_new    ) 
    255255         CALL tab_2d_1d( nidx, idxice(1:nidx), zvrel_1d  (1:nidx) , zvrel       ) 
    256256 
Note: See TracChangeset for help on using the changeset viewer.