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 4901 for branches/2014/dev_CNRS_2014/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90 – NEMO

Ignore:
Timestamp:
2014-11-27T16:41:22+01:00 (10 years ago)
Author:
cetlod
Message:

2014/dev_CNRS_2014 : merge the 3rd branch onto dev_CNRS_2014, see ticket #1415

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_CNRS_2014/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r4898 r4901  
    4444   USE prtctl          ! Print control 
    4545   USE sbcwave, ONLY   :  cdn_wave ! wave module 
    46 #if defined key_lim3 || defined key_cice 
    4746   USE sbc_ice         ! Surface boundary condition: ice fields 
    48 #endif 
    4947   USE lib_fortran     ! to use key_nosignedzero 
    5048 
     
    121119      !! ** Action  :   defined at each time-step at the air-sea interface 
    122120      !!              - utau, vtau  i- and j-component of the wind stress 
    123       !!              - taum, wndm  wind stress and 10m wind modules at T-point 
     121      !!              - taum        wind stress module at T-point 
     122      !!              - wndm        wind speed  module at T-point over free ocean or leads in presence of sea-ice 
    124123      !!              - qns, qsr    non-solar and solar heat fluxes 
    125124      !!              - emp         upward mass flux (evapo. - precip.) 
     
    232231      !!              - qsr     : Solar heat flux over the ocean        (W/m2) 
    233232      !!              - qns     : Non Solar heat flux over the ocean    (W/m2) 
    234       !!              - evap    : Evaporation over the ocean            (kg/m2/s) 
    235233      !!              - emp     : evaporation minus precipitation       (kg/m2/s) 
    236234      !! 
     
    425423      REAL(wp), DIMENSION(:,:)  , INTENT(in   ) ::   pui      ! ice surface velocity (i- and i- components      [m/s] 
    426424      REAL(wp), DIMENSION(:,:)  , INTENT(in   ) ::   pvi      !    at I-point (B-grid) or U & V-point (C-grid) 
    427       REAL(wp), DIMENSION(:,:,:), INTENT(in   ) ::   palb     ! ice albedo (clear sky) (alb_ice_cs)               [%] 
     425      REAL(wp), DIMENSION(:,:,:), INTENT(in   ) ::   palb     ! ice albedo (all skies)                            [%] 
    428426      REAL(wp), DIMENSION(:,:)  , INTENT(  out) ::   p_taui   ! i- & j-components of surface ice stress        [N/m2] 
    429427      REAL(wp), DIMENSION(:,:)  , INTENT(  out) ::   p_tauj   !   at I-point (B-grid) or U & V-point (C-grid) 
     
    445443      REAL(wp) ::   zcoef_wnorm, zcoef_wnorm2, zcoef_dqlw, zcoef_dqla, zcoef_dqsb 
    446444      REAL(wp) ::   zztmp                                        ! temporary variable 
    447       REAL(wp) ::   zcoef_frca                                   ! fractional cloud amount 
    448445      REAL(wp) ::   zwnorm_f, zwndi_f , zwndj_f                  ! relative wind module and components at F-point 
    449446      REAL(wp) ::             zwndi_t , zwndj_t                  ! relative wind components at T-point 
     
    469466      zcoef_dqla   = -Ls * Cice * 11637800. * (-5897.8) 
    470467      zcoef_dqsb   = rhoa * cpa * Cice 
    471       zcoef_frca   = 1.0  - 0.3 
    472468 
    473469!!gm brutal.... 
     
    587583      ! ( Maykut and Untersteiner, 1971 ; Ebert and Curry, 1993 ) 
    588584 
    589       p_fr1(:,:) = ( 0.18 * ( 1.0 - zcoef_frca ) + 0.35 * zcoef_frca ) 
    590       p_fr2(:,:) = ( 0.82 * ( 1.0 - zcoef_frca ) + 0.65 * zcoef_frca ) 
     585      p_fr1(:,:) = ( 0.18 * ( 1.0 - cldf_ice ) + 0.35 * cldf_ice ) 
     586      p_fr2(:,:) = ( 0.82 * ( 1.0 - cldf_ice ) + 0.65 * cldf_ice ) 
    591587 
    592588      p_tpr(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac      ! total precipitation [kg/m2/s] 
Note: See TracChangeset for help on using the changeset viewer.