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 7507 – NEMO

Changeset 7507


Ignore:
Timestamp:
2016-12-19T12:06:58+01:00 (7 years ago)
Author:
clem
Message:

correct bugs introduced during merge in sea-ice

Location:
branches/2016/dev_merge_2016/NEMOGCM/NEMO
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90

    r7421 r7507  
    218218                           zh_i_ini(ji,jj,jl) = hi_mean(jl) 
    219219                        END DO 
    220                            ! 
     220                        ! 
    221221                        !--- Concentrations 
    222222                        za_i_ini(ji,jj,jl0) = zat_i_ini(ji,jj) / SQRT(REAL(jpl)) 
     
    227227                           ENDIF 
    228228                        END DO 
    229                            ! 
     229                        ! 
    230230                        ! Concentration in the last (i_fill) category 
    231231                        za_i_ini(ji,jj,i_fill) = zat_i_ini(ji,jj) - SUM( za_i_ini(ji,jj,1:i_fill-1) ) 
     
    274274                  END DO                                    ! end iteration on categories 
    275275                  !                                         !============================ 
    276                         ! 
     276                  ! 
    277277                  IF( lwp .AND. SUM(itest) /= 4 ) THEN  
    278278                     WRITE(numout,*) 
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/LIM_SRC_3/limsbc.F90

    r7421 r7507  
    3434   USE traqsr         ! add penetration of solar flux in the calculation of heat budget 
    3535   USE domvvl         ! Variable volume 
    36    USE limctl         !  
    37    USE limcons        !  
     36   USE limctl         ! 
     37   USE limcons        ! 
    3838   USE bdy_oce  , ONLY: ln_bdy 
    3939   ! 
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk.F90

    r7504 r7507  
    641641               zwndj_t = sf(jp_wndj)%fnow(ji,jj,1) - rn_vfac * 0.25 * (  v_ice(ji,jj+1) + v_ice(ji+1,jj+1)   & 
    642642                  &                                                    + v_ice(ji,jj  ) + v_ice(ji+1,jj  )  ) 
    643                wndm_ice(ji,jj)  = SQRT( zwndi_t * zwndi_t + zwndj_t * zwndj_t ) * tmask(ji,jj,1) 
     643               wndm_ice(ji,jj) = SQRT( zwndi_t * zwndi_t + zwndj_t * zwndj_t ) * tmask(ji,jj,1) 
    644644            END DO 
    645645         END DO 
     
    760760               ! Latent heat sensitivity for ice (Dqla/Dt) 
    761761               IF( qla_ice(ji,jj,jl) > 0._wp ) THEN 
    762                   dqla_ice(ji,jj,jl) = rn_efac * zcoef_dqla * wndm_ice(ji,jj) / ( zst2 ) * EXP( -5897.8 / ptsu(ji,jj,jl) ) 
     762                  dqla_ice(ji,jj,jl) = rn_efac * zcoef_dqla * Cd(ji,jj) * wndm_ice(ji,jj) / ( zst2 ) * EXP( -5897.8 / ptsu(ji,jj,jl) ) 
    763763               ELSE 
    764764                  dqla_ice(ji,jj,jl) = 0._wp 
     
    818818 
    819819      ! --- heat content of evap over ice in W/m2 (to be used in 1D-thermo) --- 
    820       ! ! 
    821820      DO jl = 1, jpl 
    822          qevap_ice(:,:,jl) = 0._wp ! should be -evap_ice(:,:,jl)*( ( Tice - rt0) * cpic * tmask(:,:,1) ) 
    823                                    ! But we do not have Tice => consider it at 
    824                                    ! 0??C => evap=0  
     821         qevap_ice(:,:,jl) = 0._wp ! should be -evap_ice(:,:,jl)*( ( Tice - rt0 ) * cpic * tmask(:,:,1) ) 
     822                                   ! But we do not have Tice => consider it at 0degC => evap=0  
    825823      END DO 
    826824 
     
    998996      !!                 and going down to Cdi(say 1.4e-3) for A=1 
    999997      !! 
    1000       !!                 It is theoretically applicable to all ice conditions !(not only MIZ) 
     998      !!                 It is theoretically applicable to all ice conditions (not only MIZ) 
    1001999      !!                 => see Lupkes et al (2013) 
    10021000      !! 
     
    10151013 
    10161014      ! generic drag over a cell partly covered by ice 
    1017       !!Cd(:,:) = Cd_oce(:,:) * ( 1._wp - at_i_b(:,:) ) +  & !! pure ocean drag 
    1018       !!   &      Cd_ice      *           at_i_b(:,:)   +  & !! pure ice drag 
    1019       !!   &      zCe         * ( 1._wp - at_i_b(:,:) )**zcoef * !at_i_b(:,:)**zmu   ! change due to sea-ice morphology 
     1015      !!Cd(:,:) = Cd_oce(:,:) * ( 1._wp - at_i_b(:,:) ) +  &                        ! pure ocean drag 
     1016      !!   &      Cd_ice      *           at_i_b(:,:)   +  &                        ! pure ice drag 
     1017      !!   &      zCe         * ( 1._wp - at_i_b(:,:) )**zcoef * at_i_b(:,:)**zmu   ! change due to sea-ice morphology 
    10201018 
    10211019      ! ice-atm drag 
    1022       Cd(:,:) = Cd_ice +  & ! pure ice drag 
    1023          &      zCe    * ( 1._wp - at_i_b(:,:) )**zcoef * at_i_b(:,:)**(zmu-1._wp)   ! change due to sea-ice morphology 
     1020      Cd(:,:) = Cd_ice +  &                                                         ! pure ice drag 
     1021         &      zCe    * ( 1._wp - at_i_b(:,:) )**zcoef * at_i_b(:,:)**(zmu-1._wp)  ! change due to sea-ice morphology 
    10241022       
    10251023   END SUBROUTINE Cdn10_Lupkes2012 
Note: See TracChangeset for help on using the changeset viewer.