Changeset 5144 for LMDZ6/branches/Amaury_dev/libf/phylmd/transp_lay.F90
- Timestamp:
- Jul 29, 2024, 11:01:04 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/transp_lay.F90
r5105 r5144 1 2 1 ! $Header$ 3 2 4 3 SUBROUTINE transp_lay(paprs, tsol, t, q, u, v, geom, vtran_e, vtran_q, & 5 utran_e, utran_q)4 utran_e, utran_q) 6 5 7 6 USE dimphy 7 USE lmdz_yomcst 8 8 9 IMPLICIT NONE 9 10 ! ====================================================================== … … 13 14 ! ====================================================================== 14 15 15 include "YOMCST.h" 16 17 REAL paprs(klon, klev+1), tsol(klon) 16 REAL paprs(klon, klev + 1), tsol(klon) 18 17 REAL t(klon, klev), q(klon, klev), u(klon, klev), v(klon, klev) 19 18 REAL utran_e(klon, klev), utran_q(klon, klev) … … 35 34 DO l = 1, klev 36 35 DO i = 1, klon 37 esh = rcpd *t(i, l) + rlvtt*q(i, l) + geom(i, l)38 utran_e(i, l) = utran_e(i, l) + u(i, l) *esh*(paprs(i,l)-paprs(i,l+1))/ &39 rg40 utran_q(i, l) = utran_q(i, l) + u(i, l) *q(i, l)*(paprs(i,l)-paprs(i,l+1 &41 ))/rg42 vtran_e(i, l) = vtran_e(i, l) + v(i, l) *esh*(paprs(i,l)-paprs(i,l+1))/ &43 rg44 vtran_q(i, l) = vtran_q(i, l) + v(i, l) *q(i, l)*(paprs(i,l)-paprs(i,l+1 &45 ))/rg36 esh = rcpd * t(i, l) + rlvtt * q(i, l) + geom(i, l) 37 utran_e(i, l) = utran_e(i, l) + u(i, l) * esh * (paprs(i, l) - paprs(i, l + 1)) / & 38 rg 39 utran_q(i, l) = utran_q(i, l) + u(i, l) * q(i, l) * (paprs(i, l) - paprs(i, l + 1 & 40 )) / rg 41 vtran_e(i, l) = vtran_e(i, l) + v(i, l) * esh * (paprs(i, l) - paprs(i, l + 1)) / & 42 rg 43 vtran_q(i, l) = vtran_q(i, l) + v(i, l) * q(i, l) * (paprs(i, l) - paprs(i, l + 1 & 44 )) / rg 46 45 END DO 47 46 END DO 48 47 49 50 48 END SUBROUTINE transp_lay
Note: See TracChangeset
for help on using the changeset viewer.