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 3808 for branches/2012 – NEMO

Changeset 3808 for branches/2012


Ignore:
Timestamp:
2013-02-13T07:31:26+01:00 (11 years ago)
Author:
gm
Message:

dev_MERGE_2012: #997 and #898: in LIM3, no use of qla_ice in coupled mode and its capping in forced mode

Location:
branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/LIM_SRC_3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90

    r3625 r3808  
    315315 
    316316      DO ji = kideb, kiut 
    317          ! if qla is positive (upwards), heat goes to the atmosphere, therefore 
    318          ! snow sublimates, if qla is negative (downwards), snow condensates 
     317         ! qla_ice is always >=0 (upwards), heat goes to the atmosphere, therefore snow sublimates 
     318#if defined key_coupled 
     319         zdh_s_sub(ji)    =  0._wp      ! coupled mode: sublimation already included in emp_ice (to do in limsbc_ice) 
     320#else 
     321         !                              ! forced  mode: snow thickness change due to sublimation 
    319322         zdh_s_sub(ji)    =  - parsub * qla_ice_1d(ji) / ( rhosn * lsub ) * rdt_ice 
     323#endif 
    320324         dh_s_tot (ji)    =  dh_s_tot(ji) + zdh_s_sub(ji) 
    321325         zdhcf            =  ht_s_b(ji) + zdh_s_sub(ji)  
  • branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/LIM_SRC_3/limthd_dif.F90

    r3625 r3808  
    716716      !-------------------------------------------------------------------------! 
    717717      DO ji = kideb, kiut 
    718          !                                ! update of latent heat fluxes 
    719          qla_ice_1d (ji) = qla_ice_1d (ji) + dqla_ice_1d(ji) * ( t_su_b(ji) - ztsuold(ji) ) 
     718#if ! defined key_coupled 
     719         ! forced mode only : update of latent heat fluxes (sublimation) (always >=0, upward flux)  
     720         qla_ice_1d (ji) = MAX( 0._wp, qla_ice_1d (ji) + dqla_ice_1d(ji) * ( t_su_b(ji) - ztsuold(ji) ) ) 
     721#endif 
    720722         !                                ! surface ice conduction flux 
    721723         isnow(ji)       = INT(  1._wp - MAX( 0._wp, SIGN( 1._wp, -ht_s_b(ji) ) )  ) 
Note: See TracChangeset for help on using the changeset viewer.