Changeset 4118 for LMDZ6/trunk/libf/phylmd/cloudth_mod.F90
- Timestamp:
- Mar 29, 2022, 12:43:14 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cloudth_mod.F90
r4114 r4118 1550 1550 USE phys_output_var_mod, ONLY : cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv 1551 1551 USE lscp_tools_mod, ONLY: CALC_QSAT_ECMWF, FALLICE_VELOCITY 1552 USE phys_local_var_mod, ONLY : qlth, qith, qsith, wi th1552 USE phys_local_var_mod, ONLY : qlth, qith, qsith, wiceth 1553 1553 1554 1554 IMPLICIT NONE … … 1689 1689 qlth(:,ind2)=0. 1690 1690 qith(:,ind2)=0. 1691 wi th(:,ind2)=0.1691 wiceth(:,ind2)=0. 1692 1692 rneb(:,:)=0. 1693 1693 qcloud(:)=0. … … 1992 1992 ENDIF 1993 1993 1994 CALL ICE_MPC_BL_CLOUDS(ind1,ind2,klev,Ni,Ei,C_cap,d_top,iflag_topthermals,temp_mpc,pres_mpc,zqta(ind1,:),qsith(ind1,:),qlth(ind1,:),deltazlev_mpc,with(ind1,:),fraca_mpc,qith(ind1,:)) 1994 CALL ICE_MPC_BL_CLOUDS(ind1,ind2,klev,Ni,Ei,C_cap,d_top,iflag_topthermals,temp_mpc,pres_mpc,zqta(ind1,:), & 1995 qsith(ind1,:),qlth(ind1,:),deltazlev_mpc,wiceth(ind1,:),fraca_mpc,qith(ind1,:)) 1995 1996 1996 1997 ! qmax calculation … … 2236 2237 ! Calcule ice fall velocity in thermals 2237 2238 2238 CALL FALLICE_VELOCITY(klon,qith(:,ind2),Tbefth(:),rhoth(:),paprs(:,ind2),falseklon(:),wi th(:,ind2))2239 CALL FALLICE_VELOCITY(klon,qith(:,ind2),Tbefth(:),rhoth(:),paprs(:,ind2),falseklon(:),wiceth(:,ind2)) 2239 2240 2240 2241 RETURN … … 2244 2245 2245 2246 !++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2246 SUBROUTINE ICE_MPC_BL_CLOUDS(ind1,ind2,klev,Ni,Ei,C_cap,d_top,iflag_topthermals,temp,pres,qth,qsith,qlth,deltazlev, with,fraca,qith)2247 SUBROUTINE ICE_MPC_BL_CLOUDS(ind1,ind2,klev,Ni,Ei,C_cap,d_top,iflag_topthermals,temp,pres,qth,qsith,qlth,deltazlev,vith,fraca,qith) 2247 2248 2248 2249 ! parameterization of ice for boundary … … 2324 2325 REAL, DIMENSION(klev), INTENT(IN) :: qlth ! condensed liquid water in thermals, approximated value [kg/kg] 2325 2326 REAL, DIMENSION(klev), INTENT(IN) :: deltazlev ! layer thickness [m] 2326 REAL, DIMENSION(klev), INTENT(IN) :: with ! ice crystal fall velocity [m/s]2327 REAL, DIMENSION(klev), INTENT(IN) :: vith ! ice crystal fall velocity [m/s] 2327 2328 REAL, DIMENSION(klev+1), INTENT(IN) :: fraca ! fraction of the mesh covered by thermals 2328 2329 REAL, DIMENSION(klev), INTENT(INOUT) :: qith ! condensed ice water , thermals [kg/kg] … … 2402 2403 fp1=0. 2403 2404 IF (fraca(ind2p1) .GT. 0.) THEN 2404 fp2=-qith(ind2p2)*rho(ind2p2)* with(ind2p2)*fraca(ind2p2)! flux defined positive upward2405 fp1=-qith(ind2p1)*rho(ind2p1)* with(ind2p1)*fraca(ind2p1)2405 fp2=-qith(ind2p2)*rho(ind2p2)*vith(ind2p2)*fraca(ind2p2)! flux defined positive upward 2406 fp1=-qith(ind2p1)*rho(ind2p1)*vith(ind2p1)*fraca(ind2p1) 2406 2407 ENDIF 2407 2408
Note: See TracChangeset
for help on using the changeset viewer.