Ignore:
Timestamp:
Jan 13, 2026, 11:42:56 AM (5 days ago)
Author:
evignon
Message:

petites modifs pour:

  • adapter le diag de rhliq et rhice (revision papier mixed-phase dans ACP)
  • mettre les precip totales en inout de call_lscp
File:
1 edited

Legend:

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

    r6011 r6021  
    1919                        sigma2_icefracturb, sigma2_icefracturbth, &
    2020                        mean_icefracturb, mean_icefracturbth, &
    21                         radocond, radicefrac, rain, snow, &
     21                        radocond, radicefrac, rain_lsc, snow_lsc, &
     22                        rain_fall, snow_fall, &
    2223                        frac_impa, frac_nucl, beta, &
    2324                        pfrac_impa, pfrac_nucl, pfrac_1nucl, &
     
    124125      REAL, DIMENSION(klon, klev), INTENT(INOUT)   :: pfrac_nucl   ! product of nucleation scavenging coeff.
    125126      REAL, DIMENSION(klon, klev), INTENT(INOUT)   :: pfrac_1nucl  ! product of nucleation scavenging coeff. (alpha=1)
     127      REAL, DIMENSION(klon), INTENT(INOUT)   :: rain_fall    ! total surface rainfall [kg/m2/s]
     128      REAL, DIMENSION(klon), INTENT(INOUT)   :: snow_fall    ! total surface snowfall [kg/m2/s]
    126129
    127130      ! INPUT/OUTPUT condensation and ice supersaturation
     
    158161      REAL, DIMENSION(klon, klev), INTENT(OUT)  :: radicefrac       ! ice fraction of condensed water for radiation scheme
    159162      REAL, DIMENSION(klon, klev), INTENT(OUT)  :: rhcl             ! clear-sky relative humidity [-]
    160       REAL, DIMENSION(klon), INTENT(OUT)  :: rain             ! surface large-scale rainfall [kg/s/m2]
    161       REAL, DIMENSION(klon), INTENT(OUT)  :: snow             ! surface large-scale snowfall [kg/s/m2]
     163      REAL, DIMENSION(klon), INTENT(OUT)  :: rain_lsc             ! surface large-scale rainfall [kg/s/m2]
     164      REAL, DIMENSION(klon), INTENT(OUT)  :: snow_lsc             ! surface large-scale snowfall [kg/s/m2]
    162165      REAL, DIMENSION(klon, klev + 1), INTENT(OUT)  :: prfl             ! large-scale rainfall flux in the column [kg/s/m2]
    163166      REAL, DIMENSION(klon, klev + 1), INTENT(OUT)  :: psfl             ! large-scale snowfall flux in the column [kg/s/m2]
     
    276279                   sigma2_icefracturb, sigma2_icefracturbth, &
    277280                   mean_icefracturb, mean_icefracturbth, &
    278                    radocond, radicefrac, rain, snow, &
     281                   radocond, radicefrac, rain_lsc, snow_lsc, &
    279282                   frac_impa, frac_nucl, beta, &
    280283                   prfl, psfl, rhcl, &
     
    303306                       temp, qt, ptconv, ratqs, sigma_qtherm, &
    304307                       d_t, d_q, d_ql, d_qi, rneb, rneblsvol, radocond, &
    305                        rain, snow, &
     308                       rain_lsc, snow_lsc, &
    306309                       pfrac_impa, pfrac_nucl, pfrac_1nucl, &
    307310                       frac_impa, frac_nucl, beta, &
     
    318321
    319322      ! rain and snow are set to 0 when negative
    320       WHERE (rain < 0) rain = 0.
    321       WHERE (snow < 0) snow = 0.
     323      WHERE (rain_lsc < 0) rain_lsc = 0.
     324      WHERE (snow_lsc < 0) snow_lsc = 0.
    322325
    323326      ! so-called 'numerical rain' is computed when qlnew=ql+dql>qlmax and qinew=qi+dqi>qimax
     
    346349      END IF
    347350
     351      ! Total precipitation
     352      DO i = 1, klon
     353         rain_fall(i) = rain_fall(i) + rain_lsc(i)
     354         snow_fall(i) = snow_fall(i) + snow_lsc(i)
     355      ENDDO
     356
     357
    348358!===============================================================================
    349359! Add tendencies
Note: See TracChangeset for help on using the changeset viewer.