Changeset 2126 for palm/trunk
- Timestamp:
- Jan 20, 2017 3:54:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/production_e.f90
r2119 r2126 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! density in ocean case replaced by potential density 23 23 ! 24 24 ! Former revisions: … … 138 138 139 139 USE arrays_3d, & 140 ONLY: ddzw, dd2zu, kh, km, p t, q, ql, qsws, qswst, rho_ocean, shf,&140 ONLY: ddzw, dd2zu, kh, km, prho, pt, q, ql, qsws, qswst, shf, & 141 141 tend, tswst, u, v, vpt, w 142 142 … … 537 537 DO j = nys, nyn 538 538 DO k = nzb_s_inner(j,i)+1, nzt 539 tend(k,j,i) = tend(k,j,i) + &540 kh(k,j,i) * g / rho_reference * &541 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) *&539 tend(k,j,i) = tend(k,j,i) + & 540 kh(k,j,i) * g / rho_reference * & 541 ( prho(k+1,j,i) - prho(k-1,j,i) ) * & 542 542 dd2zu(k) 543 543 ENDDO … … 577 577 DO j = nys, nyn 578 578 DO k = nzb_s_inner(j,i)+1, nzt 579 tend(k,j,i) = tend(k,j,i) + &580 kh(k,j,i) * g / rho_ocean(k,j,i) *&581 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) *&579 tend(k,j,i) = tend(k,j,i) + & 580 kh(k,j,i) * g / prho(k,j,i) * & 581 ( prho(k+1,j,i) - prho(k-1,j,i) ) * & 582 582 dd2zu(k) 583 583 ENDDO … … 744 744 745 745 USE arrays_3d, & 746 ONLY: ddzw, dd2zu, kh, km, p t, q, ql, qsws, qswst, rho_ocean, shf,&746 ONLY: ddzw, dd2zu, kh, km, prho, pt, q, ql, qsws, qswst, shf, & 747 747 tend, tswst, u, v, vpt, w 748 748 … … 1100 1100 tend(k,j,i) = tend(k,j,i) + & 1101 1101 kh(k,j,i) * g / rho_reference * & 1102 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * dd2zu(k)1102 ( prho(k+1,j,i) - prho(k-1,j,i) ) * dd2zu(k) 1103 1103 ENDDO 1104 1104 … … 1130 1130 !-- the bottom and top surface layer 1131 1131 DO k = nzb_s_inner(j,i)+1, nzt 1132 tend(k,j,i) = tend(k,j,i) + &1133 kh(k,j,i) * g / rho_ocean(k,j,i) *&1134 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * dd2zu(k)1132 tend(k,j,i) = tend(k,j,i) + & 1133 kh(k,j,i) * g / prho(k,j,i) * & 1134 ( prho(k+1,j,i) - prho(k-1,j,i) ) * dd2zu(k) 1135 1135 ENDDO 1136 1136
Note: See TracChangeset
for help on using the changeset viewer.