Ignore:
Timestamp:
Mar 17, 2015, 12:04:12 PM (9 years ago)
Author:
fhourdin
Message:

Changement du drapeau iflag_cldth en iflag_cld_th
et du défaut de iflag_cld_cv pour le choix entre schema
de nuages convectifs

lognormal = 0
bigaussien = 1

File:
1 edited

Legend:

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

    r2235 r2236  
    639639  !$OMP THREADPRIVATE(fact_cldcon,facttemps)
    640640
    641   integer iflag_cldth
    642   save iflag_cldth
    643   !$OMP THREADPRIVATE(iflag_cldth)
     641  integer iflag_cld_th
     642  save iflag_cld_th
     643  !$OMP THREADPRIVATE(iflag_cld_th)
    644644  logical ptconv(klon,klev)
    645645  !IM cf. AM 081204 BEG
     
    919919          solarlong0,seuil_inversion, &
    920920          fact_cldcon, facttemps,ok_newmicro,iflag_radia, &
    921           iflag_cldth,iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, &
     921          iflag_cld_th,iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, &
    922922          ok_ade, ok_aie, ok_cdnc, aerosol_couple,  &
    923923          flag_aerosol, flag_aerosol_strat, new_aod, &
     
    10271027     print*,'CYCLE_DIURNE', cycle_diurne
    10281028     !
    1029      IF (iflag_con.EQ.2.AND.iflag_cldth.GT.-1) THEN
    1030         abort_message = 'Tiedtke needs iflag_cldth=-2 or -1'
     1029     IF (iflag_con.EQ.2.AND.iflag_cld_th.GT.-1) THEN
     1030        abort_message = 'Tiedtke needs iflag_cld_th=-2 or -1'
    10311031        CALL abort_gcm (modname,abort_message,1)
    10321032     ENDIF
     
    11431143                ,alp_bl_prescr, ale_bl_prescr)
    11441144           ! 11/09/06 rajout initialisation ALE et ALP du wake et PBL(YU)
    1145            !        print*,'apres ini_wake iflag_cldth=', iflag_cldth
     1145           !        print*,'apres ini_wake iflag_cld_th=', iflag_cld_th
    11461146        endif
    11471147
     
    22982298     !   calcul des proprietes des nuages convectifs
    22992299     clwcon0(:,:)=fact_cldcon*clwcon0(:,:)
    2300      IF (iflag_cld_cv <= 1) THEN
     2300     IF (iflag_cld_cv == 0) THEN
    23012301     call clouds_gno &
    23022302          (klon,klev,q_seri,zqsat,clwcon0,ptconv,ratqsc,rnebcon0)
     
    25392539  END IF
    25402540
    2541   !      print*,'apres callwake iflag_cldth=', iflag_cldth
     2541  !      print*,'apres callwake iflag_cld_th=', iflag_cld_th
    25422542  !
    25432543  !===================================================================
     
    28602860  ! water distribution
    28612861  CALL  calcratqs(klon,klev,prt_level,lunout,        &
    2862        iflag_ratqs,iflag_con,iflag_cldth,pdtphys,  &
     2862       iflag_ratqs,iflag_con,iflag_cld_th,pdtphys,  &
    28632863       ratqsbas,ratqshaut,tau_ratqs,fact_cldcon,   &
    28642864       ptconv,ptconvth,clwcon0th, rnebcon0th,     &
     
    28822882       frac_impa, frac_nucl, beta_prec_fisrt, &
    28832883       prfl, psfl, rhcl,  &
    2884        zqasc, fraca,ztv,zpspsk,ztla,zthl,iflag_cldth, &
     2884       zqasc, fraca,ztv,zpspsk,ztla,zthl,iflag_cld_th, &
    28852885       iflag_ice_thermo)
    28862886  !
     
    29382938  !
    29392939  !IM cf FH
    2940   !     IF (iflag_cldth.eq.-1) THEN ! seulement pour Tiedtke
    2941   IF (iflag_cldth.le.-1) THEN ! seulement pour Tiedtke
     2940  !     IF (iflag_cld_th.eq.-1) THEN ! seulement pour Tiedtke
     2941  IF (iflag_cld_th.le.-1) THEN ! seulement pour Tiedtke
    29422942     snow_tiedtke=0.
    29432943     !     print*,'avant calcul de la pseudo precip '
    2944      !     print*,'iflag_cldth',iflag_cldth
    2945      if (iflag_cldth.eq.-1) then
     2944     !     print*,'iflag_cld_th',iflag_cld_th
     2945     if (iflag_cld_th.eq.-1) then
    29462946        rain_tiedtke=rain_con
    29472947     else
     
    29762976     ENDDO
    29772977
    2978   ELSE IF (iflag_cldth.ge.3) THEN
     2978  ELSE IF (iflag_cld_th.ge.3) THEN
    29792979     !  On prend pour les nuages convectifs le max du calcul de la
    29802980     !  convection et du calcul du pas de temps precedent diminue d'un facteur
     
    30663066     !   On prend la somme des fractions nuageuses et des contenus en eau
    30673067
    3068      if (iflag_cldth>=5) then
     3068     if (iflag_cld_th>=5) then
    30693069
    30703070        do k=1,klev
Note: See TracChangeset for help on using the changeset viewer.