Ignore:
Timestamp:
Jan 11, 2017, 12:39:50 PM (8 years ago)
Author:
jyg
Message:

Two options introduced concerning deep convection
and wakes:

+ deep convection is allowed only when top
temperature is lower than t_top_max.
(Default: t_top_max=1000.).
+ wake number per unit area may now be
different over ocean and over land:
wdens_ref_o and wdens_ref_l.
(Default is:wdens_ref_o=8.e-12,
wdens_ref_l=8.e-12)


File:
1 edited

Legend:

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

    r2759 r2761  
    8585     cv_flag_feed=1
    8686     CALL getin_p('cv_flag_feed',cv_flag_feed)
     87     T_top_max = 1000.
     88     CALL getin_p('t_top_max',T_top_max)
    8789     dpbase=-40.
    8890     CALL getin_p('dpbase',dpbase)
     
    119121     CALL getin_p('tlcrit',tlcrit)
    120122
     123    WRITE (*, *) 't_top_max=', t_top_max
    121124    WRITE (*, *) 'dpbase=', dpbase
    122125    WRITE (*, *) 'pbcrit=', pbcrit
     
    10711074END SUBROUTINE icefrac
    10721075
    1073 SUBROUTINE cv3_undilute2(nloc, ncum, nd, icb, icbs, nk, &
     1076SUBROUTINE cv3_undilute2(nloc, ncum, nd, iflag, icb, icbs, nk, &
    10741077                         tnk, qnk, gznk, hnk, t, q, qs, gz, &
    10751078                         p, ph, h, tv, lv, lf, pbase, buoybase, plcl, &
     
    11161119  REAL, DIMENSION (nloc, nd), INTENT (INOUT)         :: tp, tvp, clw   ! Input for k = 1, icb+1 (computed in cv3_undilute1)
    11171120                                                                       ! Output above
     1121  INTEGER, DIMENSION (nloc), INTENT (INOUT)          :: iflag
    11181122
    11191123!outputs:
     
    15941598! ori          frac(i)=max(frac(i),0.0)
    15951599! ori 540  continue
     1600
     1601! --------------------------------------------------------------------
     1602!   Prevent convection when top is too hot
     1603! --------------------------------------------------------------------
     1604  DO i = 1,ncum
     1605    IF (t(i,inb(i)) > T_top_max) iflag(i) = 10
     1606  ENDDO
    15961607
    15971608! =====================================================================
Note: See TracChangeset for help on using the changeset viewer.