Changeset 5491
- Timestamp:
- Jan 19, 2025, 6:48:10 PM (3 hours ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/concvl.f90
r5304 r5491 11 11 pbase, bbase, dtvpdt1, dtvpdq1, dplcldt, dplcldr, & 12 12 qcondc, wd, pmflxr, pmflxs, & 13 coef_clos, coef_clos_eff, & 13 14 !RomP >>> 14 15 !! . da,phi,mp,dd_t,dd_q,lalim_conv,wght_th) 15 16 da, phi, mp, phii, d1a, dam, sij, qta, clw, elij, &! RomP 16 dd_t, dd_q, lalim_conv, wght_th, &! RomP17 dd_t, dd_q, lalim_conv, wght_th, &! RomP 17 18 evap, ep, epmlmMm, eplaMm, & ! RomP 18 19 wdtrainA, wdtrainS, wdtrainM, wght, qtc, sigt, detrain, & … … 132 133 REAL, DIMENSION(klon), INTENT(OUT) :: wd 133 134 REAL, DIMENSION(klon,klev+1), INTENT(OUT) :: pmflxr, pmflxs 135 REAL, DIMENSION(klon), INTENT(OUT) :: coef_clos, coef_clos_eff 134 136 135 137 REAL, DIMENSION(klon,klev), INTENT(OUT) :: da, mp … … 430 432 cape, cin, tvp, & 431 433 dd_t, dd_q, plim1, plim2, asupmax, supmax0, & 432 asupmaxmin, lalim_conv, & 434 asupmaxmin, & 435 coef_clos, coef_clos_eff, & 436 lalim_conv, & 433 437 !AC!+!RomP+jyg 434 438 !! da,phi,mp,phii,d1a,dam,sij,clw,elij, & ! RomP -
LMDZ6/trunk/libf/phylmd/cv3a_uncompress.f90
r5346 r5491 1 ! $Id$ 2 1 3 SUBROUTINE cv3a_uncompress(nloc, len, ncum, nd, ntra, idcum, compress, & 2 4 iflag, kbas, ktop, & … … 9 11 plim1, plim2, asupmax, supmax0, & 10 12 asupmaxmin, & 13 coef_clos, coef_clos_eff, & 11 14 da, phi, mp, phi2, d1a, dam, sigij, & ! RomP+AC+jyg 12 15 qta, clw, elij, evap, ep, epmlmMm, eplaMm, & ! RomP+jyg … … 23 26 plim11, plim21, asupmax1, supmax01, & 24 27 asupmaxmin1, & 28 coef_clos1, coef_clos_eff1, & 25 29 da1, phi1, mp1, phi21, d1a1, dam1, sigij1, & ! RomP+AC+jyg 26 30 qta1, clw1, elij1, evap1, ep1, epmlmMm1, eplaMm1, & ! RomP+jyg … … 68 72 REAL, DIMENSION (nloc, nd), INTENT (IN) :: asupmax 69 73 REAL, DIMENSION (nloc), INTENT (IN) :: supmax0, asupmaxmin 74 REAL, DIMENSION (nloc), INTENT (IN) :: coef_clos, coef_clos_eff 70 75 71 76 REAL, DIMENSION (nloc, nd), INTENT (IN) :: da … … 105 110 REAL, DIMENSION (len, nd), INTENT (OUT) :: asupmax1 106 111 REAL, DIMENSION (len), INTENT (OUT) :: supmax01, asupmaxmin1 112 REAL, DIMENSION (len), INTENT (OUT) :: coef_clos1, coef_clos_eff1 107 113 108 114 REAL, DIMENSION (len, nd), INTENT (OUT) :: da1 … … 149 155 supmax01(idcum(i)) = supmax0(i) 150 156 asupmaxmin1(idcum(i)) = asupmaxmin(i) 157 coef_clos1(idcum(i)) = coef_clos(i) 158 coef_clos_eff1(idcum(i)) = coef_clos_eff(i) 151 159 epmax_diag1(idcum(i)) = epmax_diag(i) 152 160 END DO … … 282 290 supmax01(:) = supmax0(:) 283 291 asupmaxmin1(:) = asupmaxmin(:) 292 coef_clos1(:) = coef_clos(:) 293 coef_clos_eff1(:) = coef_clos_eff(:) 284 294 ! 285 295 sig1(:, 1:nl) = sig(:, 1:nl) -
LMDZ6/trunk/libf/phylmd/cv3p1_closure.f90
r5346 r5491 4 4 SUBROUTINE cv3p1_closure(nloc, ncum, nd, icb, inb, pbase, plcl, p, ph, tv, & 5 5 tvp, buoy, supmax, ok_inhib, ale, alp, omega,sig, w0, ptop2, cape, cin, m, & 6 iflag, coef, plim1, plim2, asupmax, supmax0, asupmaxmin, cbmf, plfc, &7 wbeff)6 iflag, coef, coeftrue, plim1, plim2, asupmax, supmax0, asupmaxmin, & 7 cbmf, plfc, wbeff) 8 8 9 9 … … 48 48 REAL, DIMENSION (nloc), INTENT (OUT) :: cape, cin 49 49 REAL, DIMENSION (nloc, nd), INTENT (OUT) :: m 50 REAL, DIMENSION (nloc), INTENT (OUT) :: coef, coeftrue 50 51 REAL, DIMENSION (nloc), INTENT (OUT) :: plim1, plim2 51 52 REAL, DIMENSION (nloc, nd), INTENT (OUT) :: asupmax … … 74 75 REAL cbmflim(nloc), cbmf1(nloc), cbmfmax(nloc) 75 76 REAL cbmflast(nloc) 76 REAL coef(nloc)77 77 REAL xp(nloc), xq(nloc), xr(nloc), discr(nloc), b3(nloc), b4(nloc) 78 78 REAL theta(nloc), bb(nloc) … … 598 598 DO il = 1, ncum 599 599 coef(il) = (cbmf(il)+1.E-10)/(cbmflim(il)+1.E-10) 600 coeftrue(il) = coef(il) 600 601 END DO 601 602 IF (prt_level>=20) PRINT *, 'cv3p1_param apres coef_plantePLUS' -
LMDZ6/trunk/libf/phylmd/cva_driver.f90
r5279 r5491 21 21 ftd1, fqd1, & 22 22 Plim11, Plim21, asupmax1, supmax01, asupmaxmin1, & 23 coef_clos1, coef_clos_eff1, & 23 24 lalim_conv1, & 24 25 !! da1,phi1,mp1,phi21,d1a1,dam1,sigij1,clw1, & ! RomP … … 249 250 REAL, DIMENSION (len), INTENT (OUT) :: supmax01 250 251 REAL, DIMENSION (len), INTENT (OUT) :: asupmaxmin1 252 REAL, DIMENSION (len), INTENT (OUT) :: coef_clos1, coef_clos_eff1 251 253 REAL, DIMENSION (len, nd), INTENT (OUT) :: qtc1 ! in cloud water content (intensive) ! cld 252 254 REAL, DIMENSION (len, nd), INTENT (OUT) :: sigt1 ! fract. cloud area (intensive) ! cld … … 495 497 REAL elij(nloc, nd, nd) 496 498 REAL supmax(nloc, nd) 497 REAL Ale(nloc), Alp(nloc), coef_clos(nloc) 499 REAL Ale(nloc), Alp(nloc), coef_clos(nloc), coef_clos_eff(nloc) 498 500 REAL omega(nloc,nd) 499 501 REAL sigd(nloc) … … 679 681 DO il = 1, nloc 680 682 coef_clos(il) = 1. 683 coef_clos_eff(il) = 1. 681 684 END DO 682 685 … … 1003 1006 pbase, plcl, p, ph, tv, tvp, buoy, & 1004 1007 supmax, ok_inhib, Ale, Alp, omega, & 1005 sig, w0, ptop2, cape, cin, m, iflag, coef_clos, & 1008 sig, w0, ptop2, cape, cin, m, iflag, & 1009 coef_clos_eff, coef_clos, & 1006 1010 Plim1, plim2, asupmax, supmax0, & 1007 1011 asupmaxmin, cbmf, plfc, wbeff) … … 1016 1020 pbase, plcl, p, ph, tv, tvp, buoy, & 1017 1021 supmax, ok_inhib, Ale, Alp, omega, & 1018 sig, w0, ptop2, cape, cin, m, iflag, coef_clos , &1022 sig, w0, ptop2, cape, cin, m, iflag, coef_clos_eff, & 1019 1023 Plim1, plim2, asupmax, supmax0, & 1020 1024 asupmaxmin, cbmf, plfc, wbeff) … … 1091 1095 th_wake, tv_wake, lv_wake, lf_wake, cpn_wake, & 1092 1096 ep, sigp, clw, frac_s, qpreca, frac_a, qta, & !!jygprl 1093 m, ment, elij, delt, plcl, coef_clos , &1097 m, ment, elij, delt, plcl, coef_clos_eff, & 1094 1098 mp, qp, up, vp, trap, wt, water, evap, fondue, ice, & 1095 1099 faci, b, sigd, & … … 1218 1222 Plim1, plim2, asupmax, supmax0, & 1219 1223 asupmaxmin, & 1224 coef_clos, coef_clos_eff, & 1220 1225 da, phi, mp, phi2, d1a, dam, sigij, & ! RomP 1221 1226 qta, clw, elij, evap, ep, epmlmMm, eplaMm, & ! RomP … … 1231 1236 Plim11, plim21, asupmax1, supmax01, & 1232 1237 asupmaxmin1, & 1238 coef_clos1, coef_clos_eff1, & 1233 1239 da1, phi1, mp1, phi21, d1a1, dam1, sigij1, & ! RomP 1234 1240 qta1, clw1, elij1, evap1, ep1, epmlmMm1, eplaMm1, & ! RomP -
LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90
r5486 r5491 496 496 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: proba_notrig, random_notrig 497 497 !$OMP THREADPRIVATE(proba_notrig, random_notrig) 498 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: coef_clos, coef_clos_eff 499 !$OMP THREADPRIVATE(coef_clos, coef_clos_eff) 498 500 REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: fsolsw, wfbils 499 501 !$OMP THREADPRIVATE(fsolsw, wfbils) … … 1102 1104 alp_bl_stat(:)=0 1103 1105 ALLOCATE(proba_notrig(klon), random_notrig(klon)) 1106 ALLOCATE(coef_clos(klon), coef_clos_eff(klon)) 1104 1107 1105 1108 ALLOCATE(dnwd0(klon, klev)) … … 1520 1523 DEALLOCATE(alp_bl_stat, n2, s2, strig, zcong, zlcl_th) 1521 1524 DEALLOCATE(proba_notrig, random_notrig) 1525 DEALLOCATE(coef_clos, coef_clos_eff) 1522 1526 !FC 1523 1527 DEALLOCATE(zxfluxq,zxfluxt) -
LMDZ6/trunk/libf/phylmd/phys_output_ctrlout_mod.F90
r5486 r5491 930 930 TYPE(ctrl_out), SAVE :: o_wape = ctrl_out((/ 1, 1, 1, 10, 10, 10, 11, 11, 11, 11/), & 931 931 'wape', '', 'm2/s2', (/ ('', i=1, 10) /)) 932 !! 933 TYPE(ctrl_out), SAVE :: o_coef_clos = ctrl_out((/ 1, 1, 1, 10, 10, 10, 11, 11, 11, 11/), & 934 'coef_clos', 'closure coefficient', '', (/ ('', i=1, 10) /)) 935 TYPE(ctrl_out), SAVE :: o_coef_clos_eff = ctrl_out((/ 1, 1, 1, 10, 10, 10, 11, 11, 11, 11/), & 936 'coef_clos_eff', 'effective closure coefficient', '', (/ ('', i=1, 10) /)) 937 932 938 933 939 !!! nrlmd le 10/04/2012 -
LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90
r5486 r5491 107 107 o_alp_bl_fluct_m, o_alp_bl_fluct_tke, & 108 108 o_alp_bl_conv, o_alp_bl_stat, & 109 o_coef_clos, o_coef_clos_eff, & 109 110 o_slab_qflux, o_tslab, o_slab_bils, & 110 111 o_slab_bilg, o_slab_sic, o_slab_tice, & … … 343 344 wake_h, & 344 345 wake_omg, d_t_wake, d_q_wake, Vprecip, qtaa, Clw, & 346 coef_clos, coef_clos_eff, & 345 347 wdtrainA, wdtrainS, wdtrainM, n2, s2, strig, zcong, zlcl_th, proba_notrig, & 346 348 random_notrig, & … … 1451 1453 CALL histwrite_phy(o_cape_max, cape) 1452 1454 1455 CALL histwrite_phy(o_coef_clos, coef_clos) 1456 CALL histwrite_phy(o_coef_clos_eff, coef_clos_eff) 1453 1457 CALL histwrite_phy(o_upwd, upwd) 1454 1458 CALL histwrite_phy(o_Ma, Ma) -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r5486 r5491 303 303 ! Deep convective variables used in phytrac 304 304 pmflxr, pmflxs, & 305 coef_clos, coef_clos_eff, & 305 306 wdtrainA, wdtrainS, wdtrainM, wdtrainAS, & 306 307 upwd, dnwd, & … … 3248 3249 !! . pmflxr,pmflxs,da,phi,mp, 3249 3250 !! . ftd,fqd,lalim_conv,wght_th) 3250 pmflxr,pmflxs,da,phi,mp,phi2,d1a,dam,sij,qtaa,clw,elij, & 3251 pmflxr,pmflxs, & 3252 coef_clos, coef_clos_eff, & 3253 da,phi,mp,phi2,d1a,dam,sij,qtaa,clw,elij, & 3251 3254 ftd,fqd,lalim_conv,wght_th, & 3252 3255 ev, ep,epmlmMm,eplaMm, &
Note: See TracChangeset
for help on using the changeset viewer.