Changeset 4118 for LMDZ6/trunk
- Timestamp:
- Mar 29, 2022, 12:43:14 PM (3 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 3 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 -
LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90
r4114 r4118 438 438 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: cldemi, cldfra, cldtau, fiwc, fl, re, flwc 439 439 !$OMP THREADPRIVATE(cldemi, cldfra, cldtau, fiwc, fl, re, flwc) 440 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith, wi th441 !$OMP THREADPRIVATE(qlth, qith, qsith )440 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith, wiceth 441 !$OMP THREADPRIVATE(qlth, qith, qsith, wiceth) 442 442 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ref_liq, ref_ice, theta, zphi 443 443 !$OMP THREADPRIVATE(ref_liq, ref_ice, theta, zphi) … … 778 778 ALLOCATE(rain_lsc(klon)) 779 779 ALLOCATE(rain_num(klon)) 780 ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev), wi th(klon,klev))780 ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev), wiceth(klon,klev)) 781 781 ! 782 782 ALLOCATE(sens_x(klon), sens_w(klon)) … … 1089 1089 DEALLOCATE(rain_lsc) 1090 1090 DEALLOCATE(rain_num) 1091 DEALLOCATE(qlth, qith, qsith, wi th)1091 DEALLOCATE(qlth, qith, qsith, wiceth) 1092 1092 ! 1093 1093 DEALLOCATE(sens_x, sens_w) -
LMDZ6/trunk/libf/phylmdiso/phys_local_var_mod.F90
r4072 r4118 559 559 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: cldemi, cldfra, cldtau, fiwc, fl, re, flwc 560 560 !$OMP THREADPRIVATE(cldemi, cldfra, cldtau, fiwc, fl, re, flwc) 561 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith 562 !$OMP THREADPRIVATE(qlth, qith, qsith )561 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: qlth, qith, qsith, wiceth 562 !$OMP THREADPRIVATE(qlth, qith, qsith, wiceth) 563 563 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: ref_liq, ref_ice, theta, zphi 564 564 !$OMP THREADPRIVATE(ref_liq, ref_ice, theta, zphi) … … 943 943 ALLOCATE(rain_lsc(klon)) 944 944 ALLOCATE(rain_num(klon)) 945 ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev) )945 ALLOCATE(qlth(klon,klev), qith(klon,klev), qsith(klon,klev), wiceth(klon,klev)) 946 946 ! 947 947 #ifdef ISO … … 1325 1325 DEALLOCATE(rain_lsc) 1326 1326 DEALLOCATE(rain_num) 1327 DEALLOCATE(qlth, qith, qsith )1327 DEALLOCATE(qlth, qith, qsith, wiceth) 1328 1328 ! 1329 1329 DEALLOCATE(sens_x, sens_w)
Note: See TracChangeset
for help on using the changeset viewer.