Changeset 2210


Ignore:
Timestamp:
Feb 17, 2015, 6:49:30 PM (9 years ago)
Author:
fhourdin
Message:

Control of convective scavenging by .def files
Conrôle du lessivage convectif dans les fichiers .def
ccntrAA= 1. # fraction d'aerosol en phase condensee dans l'ascendance adiab
ccntrENV=1. # fraction d'aerosol en phase condensee dans les melange (Emanuel)
coefcoli=1.e-3 # efficacité de collision

File:
1 edited

Legend:

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

    r2180 r2210  
    310310    !RomP >>>
    311311    INTEGER,SAVE  :: iflag_lscav_omp,iflag_lscav
     312    REAL, SAVE ::   ccntrAA_in,ccntrAA_omp
     313    REAL, SAVE ::   ccntrENV_in,ccntrENV_omp
     314    REAL, SAVE ::   coefcoli_in,coefcoli_omp
     315
    312316    LOGICAL,SAVE  :: convscav_omp,convscav
    313317!$OMP THREADPRIVATE(iflag_lscav)
     318!$OMP THREADPRIVATE(ccntrAA_in,ccntrENV_in,coefcoli_in)
    314319!$OMP THREADPRIVATE(convscav)
    315320    !RomP <<<
     
    412417       iflag_lscav_omp=1
    413418       call getin('iflag_lscav', iflag_lscav_omp)
     419       ccntrAA_omp=1
     420       ccntrENV_omp=1.
     421       coefcoli_omp=0.001
     422       call getin('ccntrAA', ccntrAA_omp)
     423       call getin('ccntrENV', ccntrENV_omp)
     424       call getin('coefcoli', coefcoli_omp)
    414425!$OMP END MASTER
    415426!$OMP BARRIER
    416427       iflag_lscav=iflag_lscav_omp
     428       ccntrAA_in=ccntrAA_omp
     429       ccntrENV_in=ccntrENV_omp
     430       coefcoli_in=coefcoli_omp
    417431       !
    418432       SELECT CASE(iflag_lscav)
     
    463477                IF (convscav.and.aerosol(it)) THEN
    464478                   flag_cvltr(it)=.true.
    465                    ccntrAA(it) =1.0         !--a modifier par JYG a lire depuis fichier
    466                    ccntrENV(it)=1.0
    467                    coefcoli(it)=0.001
     479                   ccntrAA(it) =ccntrAA_in    !--a modifier par JYG a lire depuis fichier
     480                   ccntrENV(it)=ccntrENV_in
     481                   coefcoli(it)=coefcoli_in
    468482                ELSE
    469483                   flag_cvltr(it)=.false.
     
    613627                !--with the full array tr_seri even if only item it is processed
    614628
     629                print*,'CV SCAV ',it,ccntrAA(it),ccntrENV(it)
     630
    615631                CALL cvltr_scav(pdtphys, da, phi,phi2,d1a,dam, mp,ep,         &
    616632                     sigd,sij,wght_cvfd,clw,elij,epmlmMm,eplaMm,              &     
     
    747763          !
    748764          DO it = 1, nbtr
     765
     766             IF (aerosol(it)) THEN
    749767             !  incloud scavenging and removal by large scale rain ! orig : ql_incl was replaced by 0.5e-3 kg/kg
    750768             ! the value 0.5e-3 kg/kg is from Giorgi and Chameides (1986), JGR
     
    763781             ENDDO
    764782             CALL minmaxqfi(tr_seri(:,:,it),0.,1.e33,'lsc scav it = '//solsym(it))
     783             ENDIF
     784
    765785          END DO  !tr
    766786
Note: See TracChangeset for help on using the changeset viewer.