Changeset 3250 for LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/transp.F90
- Timestamp:
- Mar 12, 2018, 2:42:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.