Skip to content

Commit

Permalink
Fixing U/V tendency calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Apr 12, 2024
1 parent 2cd5f29 commit 1f11c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tj2016/tj2016_sfc_pbl_hs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ subroutine tj2016_sfc_pbl_hs_run(ncol, pver, index_surface, gravit, cappa, rairv

do i = 1, ncol
do k = 1, pver
dudt(i, k) = UCopy(i, k) - U(i, k) / dtime
dvdt(i, k) = VCopy(i, k) - V(i, k) / dtime
dudt(i, k) = (UCopy(i, k) - U(i, k)) / dtime
dvdt(i, k) = (VCopy(i, k) - V(i, k)) / dtime
tendency_of_air_enthalpy(i,k) = (T(i,k) - stateT(i,k)) / dtime * cpairv(i,k)
end do
end do
Expand Down

0 comments on commit 1f11c14

Please sign in to comment.