Skip to content

Commit

Permalink
opt_trs bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
helin wei committed Apr 8, 2024
1 parent 9e5eeb8 commit e039a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions physics/SFC_Models/Land/Noahmp/module_sf_noahmplsm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5873,15 +5873,15 @@ subroutine thermalz0(parameters, fveg, z0m, z0mg, zlvl,

z0h_out = z0m_out

elseif (opt_trs == chen09 .or. opt_trs == tessel) then
elseif (opt_trs == tessel) then

if (vegtyp <= 5) then
z0h_out = z0m_out
else
z0h_out = z0m_out * 0.01
endif

elseif (opt_trs == blumel99) then
elseif (opt_trs == chen09 .or. opt_trs == blumel99) then

reyn = ustarx*z0m_out/viscosity ! Blumel99 eqn 36c
if (reyn > 2.0) then
Expand Down

0 comments on commit e039a94

Please sign in to comment.