Ignore:
Timestamp:
May 10, 2019, 12:17:35 PM (5 years ago)
Author:
jyg
Message:

Implementation of the ejection of liquid precipitation from the adiabatic ascents.
New flags:
+cvflag_prec_eject: logical

n -> old code, y -> new code

+ejectliq: real; possible values 0. & 1.

  1. -> no liquid precipitation is ejected
  2. -> all liquid precipitation is ejected

+ejectice: real; any value between 0. and 1.

fraction of solid precipitation ejected at each level

Note that the adiabatic ascent mass flux decrease due to precipitation ejection is not taken into account.

Attempts to do it led to water conservation violation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3491 r3496  
    172172       !    Deep convective variables used in phytrac
    173173       pmflxr, pmflxs,  &
    174        wdtrainA, wdtrainM,  &
     174       wdtrainA, wdtrainS, wdtrainM,  &
    175175       upwd, dnwd, &
    176176       ep,  &
     
    182182       ev, &
    183183       elij, &
     184       qtaa, &
    184185       clw, &
    185186       epmlmMm, eplaMm, &
     
    559560    ! Variables li\'ees \`a la poche froide (jyg)
    560561
    561     REAL mip(klon,klev)  ! mass flux shed by the adiab ascent at each level
     562!!    REAL mipsh(klon,klev)  ! mass flux shed by the adiab ascent at each level
     563!!      Moved to phys_state_var_mod
    562564    !
    563565    REAL wape_prescr, fip_prescr
     
    26292631    pmflxs(:,:) = 0.
    26302632    wdtrainA(:,:) = 0.
     2633    wdtrainS(:,:) = 0.
    26312634    wdtrainM(:,:) = 0.
    26322635    upwd(:,:) = 0.
     
    26442647    elij(:,:,:)=0.
    26452648    ev(:,:)=0.
     2649    qtaa(:,:)=0.
    26462650    clw(:,:)=0.
    26472651    sij(:,:,:)=0.
     
    27802784               rain_con, snow_con, ibas_con, itop_con, sigd, &
    27812785               ema_cbmf,plcl,plfc,wbeff,convoccur,upwd,dnwd,dnwd0, &
    2782                Ma,mip,Vprecip,cape,cin,tvp,Tconv,iflagctrl, &
     2786               Ma,mipsh,Vprecip,cape,cin,tvp,Tconv,iflagctrl, &
    27832787               pbase,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr,qcondc,wd, &
    27842788                                ! RomP >>>
    27852789                                !!     .        pmflxr,pmflxs,da,phi,mp,
    27862790                                !!     .        ftd,fqd,lalim_conv,wght_th)
    2787                pmflxr,pmflxs,da,phi,mp,phi2,d1a,dam,sij,clw,elij, &
     2791               pmflxr,pmflxs,da,phi,mp,phi2,d1a,dam,sij,qtaa,clw,elij, &
    27882792               ftd,fqd,lalim_conv,wght_th, &
    27892793               ev, ep,epmlmMm,eplaMm, &
    2790                wdtrainA,wdtrainM,wght_cvfd,qtc_cv,sigt_cv, &
     2794               wdtrainA, wdtrainS, wdtrainM,wght_cvfd,qtc_cv,sigt_cv, &
    27912795               tau_cld_cv,coefw_cld_cv,epmax_diag)
    27922796
Note: See TracChangeset for help on using the changeset viewer.