Changeset 5727 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Jun 27, 2025, 4:33:03 PM (5 weeks ago)
Author:
evignon
Message:

legere modification de lscp pour enlever un warning obsolete sur la parameterisation de phase

Location:
LMDZ6/trunk/libf/phylmd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lmdz_lscp_ini.f90

    r5614 r5727  
    615615    ENDIF
    616616
    617     IF ( (iflag_icefrac .GE. 1) .AND. (.NOT. ok_poprecip .AND. (iflag_evap_prec .LT. 4)) ) THEN
    618       abort_message = 'in lscp, icefracturb works with poprecip or with precip evap option >=4'
    619       CALL abort_physic (modname,abort_message,1)
    620     ENDIF
    621 
    622 
    623617
    624618    !AA Temporary initialisation
  • LMDZ6/trunk/libf/phylmd/lmdz_lscp_main.f90

    r5653 r5727  
    824824                     ENDDO
    825825                     CALL icefrac_lscp_turb(klon, dtime, pticefracturb, Tbef, zp, paprs(:,k), paprs(:,k+1), wls(:,k), zqi_ini,    &
    826                      ziflcld, znebprecipcld, qincloud, zcf, tke(:,k), tke_dissip(:,k), sursat_e, invtau_e, zqliq, zqvapcl, zqice, &
     826                     ziflcld, qincloud, zcf, tke(:,k), tke_dissip(:,k), sursat_e, invtau_e, zqliq, zqvapcl, zqice, &
    827827                     zficeenv, dzficeenv, cldfraliq(:,k),sigma2_icefracturb(:,k),mean_icefracturb(:,k))                     
    828828                     DO i=1,klon
     
    853853                     ENDDO
    854854                     CALL icefrac_lscp_turb(klon, dtime, pticefracturb, Tbefth, zp, paprs(:,k), paprs(:,k+1), wth(:,k), zqi_ini,  &
    855                      zeroklon, znebprecipcld, qincloud, zcf, zeroklon, zeroklon, sursat_e, invtau_e, zqliqth, zqvapclth, zqiceth, &
     855                     zeroklon, qincloud, zcf, zeroklon, zeroklon, sursat_e, invtau_e, zqliqth, zqvapclth, zqiceth, &
    856856                     zficeth, dzficeth,cldfraliqth(:,k), sigma2_icefracturbth(:,k), mean_icefracturbth(:,k))
    857857                     !Environment
     
    871871                     ENDDO
    872872                     CALL icefrac_lscp_turb(klon, dtime, pticefracturb, Tbef, zp, paprs(:,k), paprs(:,k+1), wls(:,k), zqi_ini,    &
    873                      ziflcld, znebprecipcld, qincloud, zcf, tke(:,k), tke_dissip(:,k), sursat_e, invtau_e, zqliq, zqvapcl, zqice, &
     873                     ziflcld, qincloud, zcf, tke(:,k), tke_dissip(:,k), sursat_e, invtau_e, zqliq, zqvapcl, zqice, &
    874874                     zfice, dzfice, cldfraliq(:,k),sigma2_icefracturb(:,k), mean_icefracturb(:,k))
    875875 
  • LMDZ6/trunk/libf/phylmd/lmdz_lscp_tools.f90

    r5633 r5727  
    241241
    242242
    243 SUBROUTINE ICEFRAC_LSCP_TURB(klon, dtime, pticefracturb, temp, pplay, paprsdn, paprsup, wvel, qice_ini, snowcld, snowfracld, qtot_incl, cldfra, tke,   &
     243SUBROUTINE ICEFRAC_LSCP_TURB(klon, dtime, pticefracturb, temp, pplay, paprsdn, paprsup, wvel, qice_ini, snowcld, qtot_incl, cldfra, tke,   &
    244244                             tke_dissip, sursat_e, invtau_e, qliq, qvap_cld, qice, icefrac, dicefracdT, cldfraliq, sigma2_icefracturb, mean_icefracturb)
    245245!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    275275   REAL,      INTENT(IN),       DIMENSION(klon)    :: qice_ini            !--initial specific ice content gridbox-mean     [kg/kg]
    276276   REAL,      INTENT(IN),       DIMENSION(klon)    :: snowcld             !--in-cloud snowfall flux                        [kg/m2/s]
    277    REAL,      INTENT(IN),       DIMENSION(klon)    :: snowfracld          !--cloudy precip fraction                        [-]
    278277   REAL,      INTENT(IN),       DIMENSION(klon)    :: sursat_e            !--environment supersaturation                   [-]
    279278   REAL,      INTENT(IN),       DIMENSION(klon)    :: invtau_e            !--inverse time-scale of mixing with environment [s-1]
     
    376375           ! we consider here the mean snowflake concentration in the mesh (not the in-cloud concentration)
    377376           ! when poprecip is active, it will be worth testing considering the incloud fraction, dividing
    378            ! by snowfracld     
     377           ! by znebprecipcld     
    379378           ! qiceini_incl  = qice_ini(i) / cldfra1D + &
    380379           !              gamma_snwretro * snowcld(i) * RG * dtime / ( paprsdn(i) - paprsup(i) )
Note: See TracChangeset for help on using the changeset viewer.