Skip to content

Commit 9933c22

Browse files
committed
(*)Made ustar_min have units of m/s, not H/s.
Changed an expression for a minimum value of ustar in set_diffusivity_init to always give a value with units of m/s, instead of H/s, reflecting the units used for ustar elsewhere. This will change answers if H_TO_M is not 1, but the existing reference solutions are unaffected.
1 parent 832e28d commit 9933c22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parameterizations/vertical/MOM_set_diffusivity.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2630,7 +2630,7 @@ subroutine set_diffusivity_init(Time, G, GV, param_file, diag, CS, diag_to_Z_CSp
26302630
"length scale.", default=.false.)
26312631
if (CS%ML_radiation) then
26322632
! This give a minimum decay scale that is typically much less than Angstrom.
2633-
CS%ustar_min = 2e-4*CS%omega*(GV%Angstrom + GV%H_subroundoff)
2633+
CS%ustar_min = 2e-4*CS%omega*(GV%Angstrom_z + GV%H_subroundoff*GV%H_to_m)
26342634

26352635
call get_param(param_file, mdl, "ML_RAD_EFOLD_COEFF", CS%ML_rad_efold_coeff, &
26362636
"A coefficient that is used to scale the penetration \n"//&

0 commit comments

Comments
 (0)