Skip to content

Commit

Permalink
Merge pull request #879 from mdtoyNOAA/main_new_cdmbgwd
Browse files Browse the repository at this point in the history
Added capability for cdmbgwd(1) to scale GSL blocking drag
  • Loading branch information
grantfirl authored Mar 30, 2022
2 parents 85f21a4 + 34d0bbe commit a8e0f0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions physics/drag_suite.F90
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ subroutine drag_suite_run( &
! non-dim sub grid mtn drag Amp (*j*)
! cdmb = 1.0/float(IMX/192)
! cdmb = 192.0/float(IMX)
cdmb = 4.0 * 192.0/float(IMX)
! New cdmbgwd addition for GSL blocking drag
cdmb = 1.0
if (cdmbgwd(1) >= 0.0) cdmb = cdmb * cdmbgwd(1)

!>-# Orographic Gravity Wave Drag Section
Expand Down Expand Up @@ -1237,7 +1238,8 @@ subroutine drag_suite_run( &
!--------- compute flow-blocking stress
!
cd = max(2.0-1.0/od(i),0.0)
taufb(i,kts) = 0.5 * roll(i) * coefm(i) / &
! New cdmbgwd addition for GSL blocking drag
taufb(i,kts) = cdmb * 0.5 * roll(i) * coefm(i) / &
max(dxmax_ls,dxy(i))**2 * cd * dxyp(i) * &
olp(i) * zblk * ulow(i)**2
tautem = taufb(i,kts)/float(kblk-kts)
Expand Down

0 comments on commit a8e0f0c

Please sign in to comment.