Changeset 3250 for LMDZ6/branches/IPSLCM6.0.15/libf
- Timestamp:
- Mar 12, 2018, 2:42:42 PM (7 years ago)
- Location:
- LMDZ6/branches/IPSLCM6.0.15/libf/phylmd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_local_var_mod.F90
r3148 r3250 319 319 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: slab_wfbils 320 320 !$OMP THREADPRIVATE(slab_wfbils) 321 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: tpot, tpote, ue, uq, ve, vq, zxffonte322 !$OMP THREADPRIVATE(tpot, tpote, ue, uq, ve, vq, zxffonte)321 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: tpot, tpote, ue, uq, uwat, ve, vq, vwat, zxffonte 322 !$OMP THREADPRIVATE(tpot, tpote, ue, uq, uwat, ve, vq, vwat, zxffonte) 323 323 REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxfqcalving 324 324 !$OMP THREADPRIVATE(zxfqcalving) … … 712 712 ALLOCATE(slab_wfbils(klon), tpot(klon), tpote(klon), ue(klon)) 713 713 ALLOCATE(uq(klon), ve(klon), vq(klon), zxffonte(klon)) 714 ALLOCATE(uwat(klon), vwat(klon)) 714 715 ALLOCATE(zxfqcalving(klon), zxfluxlat(klon)) 715 716 ALLOCATE(zxtsol(klon), snow_lsc(klon), zxfqfonte(klon), zxqsurf(klon)) … … 1004 1005 DEALLOCATE(slab_wfbils, tpot, tpote, ue) 1005 1006 DEALLOCATE(uq, ve, vq, zxffonte) 1007 DEALLOCATE(uwat, vwat) 1006 1008 DEALLOCATE(zxfqcalving, zxfluxlat) 1007 1009 DEALLOCATE(zxrunofflic) -
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_ctrlout_mod.F90
r3218 r3250 679 679 'iwp', 'Cloud ice water path', 'kg/m2', (/ ('', i=1, 10) /)) 680 680 TYPE(ctrl_out), SAVE :: o_ue = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 681 'ue', 'Zonal energy transport', '-', (/ ('', i=1, 10) /))681 'ue', 'Zonal dry static energy transport', '-', (/ ('', i=1, 10) /)) 682 682 TYPE(ctrl_out), SAVE :: o_ve = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 683 've', 'Merid energy transport', '-', (/ ('', i=1, 10) /))683 've', 'Merid dry static energy transport', '-', (/ ('', i=1, 10) /)) 684 684 TYPE(ctrl_out), SAVE :: o_uq = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 685 685 'uq', 'Zonal humidity transport', '-', (/ ('', i=1, 10) /)) 686 686 TYPE(ctrl_out), SAVE :: o_vq = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 687 687 'vq', 'Merid humidity transport', '-', (/ ('', i=1, 10) /)) 688 TYPE(ctrl_out), SAVE :: o_uwat = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 689 'uwat', 'Zonal total water transport', '-', (/ ('', i=1, 10) /)) 690 TYPE(ctrl_out), SAVE :: o_vwat = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 691 'vwat', 'Merid total water transport', '-', (/ ('', i=1, 10) /)) 688 692 TYPE(ctrl_out), SAVE :: o_cape = ctrl_out((/ 1, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 689 693 'cape', 'Conv avlbl pot ener', 'J/kg', (/ ('', i=1, 10) /)) -
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_write_mod.F90
r3235 r3250 70 70 o_cldhjn, o_cldtjn, o_cldq, o_lwp, o_iwp, & 71 71 o_ue, o_ve, o_uq, o_vq, o_cape, o_pbase, & 72 o_uwat, o_vwat, & 72 73 o_ptop, o_fbase, o_plcl, o_plfc, & 73 74 o_wbeff, o_convoccur, o_cape_max, o_upwd, o_ep,o_epmax_diag, o_Ma, & … … 254 255 cldh, cldt, JrNt, cldljn, cldmjn, cldhjn, & 255 256 cldtjn, cldq, flwp, fiwp, ue, ve, uq, vq, & 257 uwat, vwat, & 256 258 plcl, plfc, wbeff, convoccur, upwd, dnwd, dnwd0, prw, prlw, prsw, & 257 259 s_pblh, s_pblt, s_lcl, s_therm, uwriteSTD, & … … 960 962 CALL histwrite_phy(o_uq, uq) 961 963 CALL histwrite_phy(o_vq, vq) 964 CALL histwrite_phy(o_uwat, uwat) 965 CALL histwrite_phy(o_vwat, vwat) 962 966 IF (iflag_con.GE.3) THEN ! sb 963 967 CALL histwrite_phy(o_cape, cape) -
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/physiq_mod.F90
r3240 r3250 127 127 slab_wfbils, tpot, tpote, & 128 128 ue, uq, ve, vq, zxffonte, & 129 uwat, vwat, & 129 130 zxfqcalving, zxfluxlat, & 130 131 zxrunofflic, & … … 4503 4504 ! 4504 4505 CALL transp (paprs,zxtsol, & 4505 t_seri, q_seri, u_seri, v_seri, zphi, &4506 ve, vq, ue, uq )4506 t_seri, q_seri, ql_seri, qs_seri, u_seri, v_seri, zphi, & 4507 ve, vq, ue, uq, vwat, uwat) 4507 4508 ! 4508 4509 !IM global posePB BEG -
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/transp.F90
r2346 r3250 1 1 2 ! $ Header$2 ! $Id$ 3 3 4 SUBROUTINE transp(paprs, tsol, t, q, u, v, geom, vtran_e, vtran_q, utran_e, &5 utran_q )4 SUBROUTINE transp(paprs, tsol, t, q, ql, qs, u, v, geom, vtran_e, vtran_q, utran_e, & 5 utran_q, vtran_w, utran_w) 6 6 7 7 USE dimphy … … 16 16 17 17 REAL paprs(klon, klev+1), tsol(klon) 18 REAL t(klon, klev), q(klon, klev), u(klon, klev), v(klon, klev) 18 REAL t(klon, klev), q(klon, klev), ql(klon, klev), qs(klon, klev) 19 REAL u(klon, klev), v(klon, klev) 19 20 REAL utran_e(klon), utran_q(klon), vtran_e(klon), vtran_q(klon) 21 REAL utran_w(klon), vtran_w(klon) 20 22 21 23 INTEGER i, l … … 28 30 vtran_e(i) = 0.0 29 31 vtran_q(i) = 0.0 32 utran_w(i) = 0.0 33 vtran_w(i) = 0.0 30 34 END DO 31 35 32 36 DO l = 1, klev 33 37 DO i = 1, klon 34 e = rcpd*t(i, l) + rlvtt*q(i, l) + geom(i, l) 38 ! e = rcpd*t(i, l) + rlvtt*q(i, l) + geom(i, l) 39 e = rcpd*t(i, l) + geom(i, l) 35 40 utran_e(i) = utran_e(i) + u(i, l)*e*(paprs(i,l)-paprs(i,l+1))/rg 36 41 utran_q(i) = utran_q(i) + u(i, l)*q(i, l)*(paprs(i,l)-paprs(i,l+1))/rg 42 utran_w(i) = utran_w(i) + u(i, l)*(q(i, l)+ql(i, l)+qs(i, l)) & 43 *(paprs(i,l)-paprs(i,l+1))/rg 37 44 vtran_e(i) = vtran_e(i) + v(i, l)*e*(paprs(i,l)-paprs(i,l+1))/rg 38 45 vtran_q(i) = vtran_q(i) + v(i, l)*q(i, l)*(paprs(i,l)-paprs(i,l+1))/rg 46 vtran_w(i) = vtran_w(i) + v(i, l)*(q(i, l)+ql(i, l)+qs(i, l)) & 47 *(paprs(i,l)-paprs(i,l+1))/rg 39 48 END DO 40 49 END DO
Note: See TracChangeset
for help on using the changeset viewer.