Ignore:
Timestamp:
Feb 5, 2024, 10:16:07 PM (10 months ago)
Author:
evignon
Message:

implementation sous flag des premiers changements
concernant le traitement des precipitations grande echelle
dans le cadre de l'atelier nuages
Audran, Lea, Niels, Gwendal et Etienne

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/phys_local_var_mod.F90

    r4753 r4803  
    639639      !$OMP THREADPRIVATE(fcontrP)
    640640
     641!--POPRECIP variables
     642      REAL, SAVE, ALLOCATABLE :: dqreva(:,:)
     643      !$OMP THREADPRIVATE(dqreva)
     644      REAL, SAVE, ALLOCATABLE :: dqrauto(:,:)
     645      !$OMP THREADPRIVATE(dqrauto)
     646      REAL, SAVE, ALLOCATABLE :: dqrcol(:,:)
     647      !$OMP THREADPRIVATE(dqrcol)
     648      REAL, SAVE, ALLOCATABLE :: dqrmelt(:,:)
     649      !$OMP THREADPRIVATE(dqrmelt)
     650       REAL, SAVE, ALLOCATABLE :: dqrfreez(:,:)
     651      !$OMP THREADPRIVATE(dqrfreez)
     652      REAL, SAVE, ALLOCATABLE :: dqssub(:,:)
     653      !$OMP THREADPRIVATE(dqssub)
     654      REAL, SAVE, ALLOCATABLE :: dqsauto(:,:)
     655      !$OMP THREADPRIVATE(dqsauto)
     656      REAL, SAVE, ALLOCATABLE :: dqsagg(:,:)
     657      !$OMP THREADPRIVATE(dqsagg)
     658      REAL, SAVE, ALLOCATABLE :: dqsrim(:,:)
     659      !$OMP THREADPRIVATE(dqsrim)
     660      REAL, SAVE, ALLOCATABLE :: dqsmelt(:,:)
     661      !$OMP THREADPRIVATE(dqsmelt)
     662      REAL, SAVE, ALLOCATABLE :: dqsfreez(:,:)
     663      !$OMP THREADPRIVATE(dqsfreez)
     664
     665
     666
     667
     668
    641669#ifdef CPP_StratAer
    642670!
     
    10851113      ALLOCATE(zqsatl(klon,klev), zqsats(klon,klev))
    10861114      ALLOCATE(Tcontr(klon,klev), qcontr(klon,klev), qcontr2(klon,klev), fcontrN(klon,klev), fcontrP(klon,klev))
     1115
     1116!--POPRECIP variables
     1117      ALLOCATE(dqreva(klon,klev),dqssub(klon,klev))
     1118      ALLOCATE(dqrauto(klon,klev), dqrcol(klon,klev), dqrmelt(klon,klev), dqrfreez(klon,klev))
     1119      ALLOCATE(dqsauto(klon,klev), dqsagg(klon,klev), dqsrim(klon,klev), dqsmelt(klon,klev), dqsfreez(klon,klev))
    10871120
    10881121#ifdef CPP_StratAer
     
    14441477      DEALLOCATE(Tcontr, qcontr, qcontr2, fcontrN, fcontrP)
    14451478
     1479!--POPRECIP variables
     1480      DEALLOCATE(dqreva,dqssub)
     1481      DEALLOCATE(dqrauto,dqrcol,dqrmelt,dqrfreez)
     1482      DEALLOCATE(dqsauto,dqsagg,dqsrim,dqsmelt,dqsfreez)
     1483
    14461484#ifdef CPP_StratAer
    14471485! variables for strat. aerosol CK
  • LMDZ6/trunk/libf/phylmdiso/phys_output_ctrlout_mod.F90

    r4576 r4803  
    14771477  TYPE(ctrl_out), SAVE :: o_pfracld = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
    14781478    'pfracld', 'LS precipitation fraction cloudy part', '-', (/ ('', i=1, 10) /))
     1479  TYPE(ctrl_out), SAVE :: o_dqreva = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1480    'dqreva', 'LS rain tendency due to evaporation', 'kg/m2/s', (/ ('', i=1, 10) /))
     1481   TYPE(ctrl_out), SAVE :: o_dqrauto = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1482    'dqrauto', 'LS rain tendency due to autoconversion', 'kg/m2/s', (/ ('', i=1, 10) /))
     1483  TYPE(ctrl_out), SAVE :: o_dqrcol = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1484    'dqrcol', 'LS rain tendency due to collection', 'kg/m2/s', (/ ('', i=1, 10) /))
     1485  TYPE(ctrl_out), SAVE :: o_dqrmelt = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1486    'dqrmelt', 'LS rain tendency due to melting', 'kg/m2/s', (/ ('', i=1, 10) /))
     1487  TYPE(ctrl_out), SAVE :: o_dqrfreez = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1488    'dqrfreez', 'LS rain tendency due to freezing', 'kg/m2/s', (/ ('', i=1, 10) /))
     1489  TYPE(ctrl_out), SAVE :: o_dqssub = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1490    'dqssub', 'LS snow tendency due to sublimation', 'kg/m2/s', (/ ('', i=1, 10) /))
     1491  TYPE(ctrl_out), SAVE :: o_dqsauto = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1492    'dqsauto', 'LS snow tendency due to autoconversion', 'kg/m2/s', (/ ('', i=1, 10) /))
     1493  TYPE(ctrl_out), SAVE :: o_dqsagg = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1494    'dqsagg', 'LS snow tendency due to aggragation', 'kg/m2/s', (/ ('', i=1, 10) /))
     1495  TYPE(ctrl_out), SAVE :: o_dqsrim = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1496    'dqsrim', 'LS snow tendency due to riming', 'kg/m2/s', (/ ('', i=1, 10) /))
     1497  TYPE(ctrl_out), SAVE :: o_dqsmelt = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1498    'dqsmelt', 'LS snow tendency due to melting', 'kg/m2/s', (/ ('', i=1, 10) /))
     1499  TYPE(ctrl_out), SAVE :: o_dqsfreez = ctrl_out((/ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11/), &
     1500    'dqsfreez', 'LS snow tendency due to freezing', 'kg/m2/s', (/ ('', i=1, 10) /))
    14791501  TYPE(ctrl_out), SAVE :: o_rhum = ctrl_out((/ 2, 5, 10, 10, 10, 10, 11, 11, 11, 11/), &
    14801502    'rhum', 'Relative humidity', '-', (/ ('', i=1, 10) /))
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4792 r4803  
    229229       east_gwstress,west_gwstress, &
    230230       d_q_ch4, &
     231       ! proprecip
     232       dqreva, dqssub, &
     233       dqrauto,dqrcol,dqrmelt,dqrfreez, &
     234       dqsauto,dqsagg,dqsrim,dqsmelt,dqsfreez, &
    231235       !  Special RRTM
    232236       ZLWFT0_i,ZSWFT0_i,ZFLDN0,  &
     
    48764880    CALL lscp(klon,klev,phys_tstep,missing_val,paprs,pplay, &
    48774881         t_seri, q_seri,ptconv,ratqs, &
    4878          d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, rneblsvol, rneb_seri, &
     4882         d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, rneblsvol, rneb_seri, & 
    48794883         pfraclr,pfracld, &
    48804884         radocond, picefra, rain_lsc, snow_lsc, &
     
    48854889         qclr, qcld, qss, qvc, rnebclr, rnebss, gamma_ss, &
    48864890         Tcontr, qcontr, qcontr2, fcontrN, fcontrP , &
    4887          cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv)
     4891         cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv, &
     4892         dqreva,dqssub,dqrauto,dqrcol,dqrmelt,dqrfreez,dqsauto,dqsagg,dqsrim,dqsmelt,dqsfreez)
    48884893
    48894894
Note: See TracChangeset for help on using the changeset viewer.