Ignore:
Timestamp:
May 4, 2016, 4:36:48 PM (9 years ago)
Author:
jbmadeleine
Message:

Added the iflag_t_glace = 2 option that turns off the convertion of cloud
water to ice close to the surface when T< t_glace_max (273.15K). This option
is now obsolete because the liquid precipitation is now converted to ice when the
temperature is negative using the iflag_bergeron option.

Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/fisrtilp.F90

    r2500 r2507  
    623623                    if (iflag_t_glace.eq.0) then
    624624                    zdelta = MAX(0.,SIGN(1.,t_glace_min_old-Tbef(i)))
    625                     else if (iflag_t_glace.eq.1) then
     625                    else if (iflag_t_glace.ge.1) then
    626626                    zdelta = MAX(0.,SIGN(1.,t_glace_min-Tbef(i)))
    627627                    endif
     
    673673                 else
    674674                 ! Iteration pour convergence avec qsat(T)
    675                  if (iflag_t_glace.eq.1) then
     675                 if (iflag_t_glace.ge.1) then
    676676                 CALL icefrac_lsc(klon,zt(:),pplay(:,k)/paprs(:,1),zfice(:))
    677677                 endif
     
    687687                 endif
    688688                 
    689                  if (iflag_t_glace.eq.1) then
     689                 if (iflag_t_glace.ge.1) then
    690690                 dzfice(i)= exposant_glace * zfice(i)**(exposant_glace-1) / (t_glace_min - t_glace_max)
    691691                 endif
     
    811811        endif
    812812     ELSE
    813          if (iflag_t_glace.eq.1) then
     813         if (iflag_t_glace.ge.1) then
    814814            CALL icefrac_lsc(klon,zt(:),pplay(:,k)/paprs(:,1),zfice(:))
    815815         endif
  • LMDZ5/trunk/libf/phylmd/icefrac_lsc_mod.F90

    r2109 r2507  
    1414  ! Doutriaux-Boucher & Quaas 2004, section 2.2.)
    1515  !
    16   ! (JBM 3/14 8/14)
     16  ! (JBM 3/14 8/14 5/16)
    1717 
     18  USE print_control_mod, ONLY: lunout, prt_level
    1819  INCLUDE "nuage.h"
    1920
     
    3334
    3435  DO ip=1,np
    35      www=(max(sig(ip)-sig0,0.))/(1.-sig0) ! w=1 at the surface and 0 for sig < sig0
     36     IF (iflag_t_glace.EQ.1) THEN
     37       ! Transition to ice close to surface for T<Tmax
     38       ! w=1 at the surface and 0 for sig < sig0
     39       www=(max(sig(ip)-sig0,0.))/(1.-sig0)
     40     ELSEIF (iflag_t_glace.GE.2) THEN
     41       ! No convertion to ice close to surface
     42       www = 0.
     43     ENDIF
    3644     tmin_tmp=www*t_glace_max+(1.-www)*t_glace_min
    3745     icefrac_tmp= 1.0 - (temp(ip)-tmin_tmp) / (t_glace_max-tmin_tmp)
Note: See TracChangeset for help on using the changeset viewer.