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

Changeset 4853


Ignore:
Timestamp:
2014-11-13T15:42:21+01:00 (9 years ago)
Author:
vancop
Message:

coupled interface modifications for LIM3

Location:
branches/2014/dev_4728_CNRS04_coupled_interface/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_4728_CNRS04_coupled_interface/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_ice.F90

    r4730 r4853  
    6969   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   fr1_i0             !: Solar surface transmission parameter, thick ice  [-] 
    7070   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   fr2_i0             !: Solar surface transmission parameter, thin ice   [-] 
    71    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   emp_ice            !: sublimation-snow budget over ice             [kg/m2] 
     71   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   emp_ice            !: sublimation - precip over sea ice            [kg/m2] 
     72   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   qemp_ice           !: heat associated with emp over sea ice         [W/m2] 
    7273 
    7374# if defined key_lim3 
     
    124125         &      fr1_i0  (jpi,jpj)     , fr2_i0  (jpi,jpj)     ,     & 
    125126#if defined key_lim3 
    126          &      emp_ice(jpi,jpj)      , tatm_ice(jpi,jpj)     , STAT= ierr(1) ) 
    127 #else 
    128          &      emp_ice(jpi,jpj)                              , STAT= ierr(1) ) 
     127         &      tatm_ice(jpi,jpj) 
    129128#endif 
     129         &      emp_ice(jpi,jpj)      , qemp_ice(jpi,jpj)     , STAT= ierr(1) ) 
    130130#elif defined key_cice 
    131131      ALLOCATE( qla_ice(jpi,jpj,1)    , qlw_ice(jpi,jpj,1)    , qsr_ice(jpi,jpj,1)    , & 
  • branches/2014/dev_4728_CNRS04_coupled_interface/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90

    r4732 r4853  
    193193            CALL sbc_cpl_ice_tau( utau_ice , vtau_ice ) 
    194194 
    195             CALL sbc_cpl_ice_flx( p_frld=ato_i, palbi=zalb_ice, psst=sst_m, pist=t_su    ) 
    196  
    197             IF( nn_limflx == 2 )   CALL ice_lim_flx( t_su, zalb_ice, qns_ice, qsr_ice ,   & 
    198                &                                           dqns_ice, qla_ice, dqla_ice, nn_limflx ) 
    199             ! Latent heat flux is forced to 0 in coupled : 
    200             !  it is included in qns (non-solar heat flux) 
    201             qla_ice  (:,:,:) = 0._wp 
    202             dqla_ice (:,:,:) = 0._wp 
     195            ! MV -> seb  
     196!           CALL sbc_cpl_ice_flx( p_frld=ato_i, palbi=zalb_ice, psst=sst_m, pist=t_su    ) 
     197 
     198!           IF( nn_limflx == 2 )   CALL ice_lim_flx( t_su, zalb_ice, qns_ice, qsr_ice ,   & 
     199!              &                                           dqns_ice, qla_ice, dqla_ice, nn_limflx ) 
     200!           ! Latent heat flux is forced to 0 in coupled : 
     201!           !  it is included in qns (non-solar heat flux) 
     202!           qla_ice  (:,:,:) = 0._wp 
     203!           dqla_ice (:,:,:) = 0._wp 
     204            ! END MV -> seb 
    203205            ! 
    204206         END SELECT 
     
    313315                          pfrld(:,:)   = 1._wp - at_i(:,:) 
    314316                          phicif(:,:)  = vt_i(:,:) 
     317 
     318                          ! MV -> seb 
     319                          SELECT CASE( kblk ) 
     320                             CASE ( 5 ) 
     321                             CALL sbc_cpl_ice_flx( p_frld=pfrld, palbi=zalb_ice, psst=sst_m, pist=t_su    ) 
     322                             IF( nn_limflx == 2 )   CALL ice_lim_flx( t_su, zalb_ice, qns_ice, qsr_ice ,   & 
     323                          &                                           dqns_ice, qla_ice, dqla_ice, nn_limflx ) 
     324                           ! Latent heat flux is forced to 0 in coupled : 
     325                           !  it is included in qns (non-solar heat flux) 
     326                             qla_ice  (:,:,:) = 0._wp 
     327                             dqla_ice (:,:,:) = 0._wp 
     328                          END SELECT 
     329                          ! END MV -> seb 
    315330                          ! 
    316331                          CALL lim_var_bv                 ! bulk brine volume (diag) 
Note: See TracChangeset for help on using the changeset viewer.