You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!> - Following Bechtold et al. (2008) \cite bechtold_et_al_2008, the convective adjustment time (dtconv) is set to be proportional to the convective turnover time, which is computed using the mean updraft velocity (wc) and the cloud depth. It is also proportional to the grid size (gdx).
2926
-
if(hwrf_samfdeep) then
2927
-
do i=1, im
2928
-
if(cnvflg(i)) then
2929
-
tem = zi(i,ktcon1(i)) - zi(i,kbcon1(i))
2930
-
dtconv(i) = tem / wc(i)
2931
-
dtconv(i) =max(dtconv(i),dtmin)
2932
-
dtconv(i) =min(dtconv(i),dtmax)
2933
-
endif
2934
-
enddo
2935
-
else
2936
-
do i=1, im
2937
-
if(cnvflg(i)) then
2938
-
tem = zi(i,ktcon1(i)) - zi(i,kbcon1(i))
2939
-
dtconv(i) = tem / wc(i)
2940
-
tfac =1. + gdx(i) /75000.
2941
-
dtconv(i) = tfac * dtconv(i)
2942
-
dtconv(i) =max(dtconv(i),dtmin)
2943
-
dtconv(i) =min(dtconv(i),dtmax)
2944
-
endif
2945
-
enddo
2946
-
endif
2939
+
do i =1, im
2940
+
if (cnvflg(i)) then
2941
+
tem = zi(i,ktcon1(i)) - zi(i,kbcon1(i))
2942
+
if (progomega) then
2943
+
wc_eff =max(wc(i), wc_min)
2944
+
dtconv(i) = tem / wc_eff
2945
+
else
2946
+
dtconv(i) = tem / wc(i)
2947
+
endif
2948
+
!grid spacing scaling (disabled for HWRF SAMF deep)
2949
+
if (.not. hwrf_samfdeep) then
2950
+
tfac =1. + gdx(i) /75000.
2951
+
dtconv(i) = tfac * dtconv(i)
2952
+
endif
2953
+
!bounds
2954
+
dtconv(i) =max(dtconv(i), dtmin)
2955
+
dtconv(i) =min(dtconv(i), dtmax)
2956
+
endif
2957
+
enddo
2947
2958
!
2948
2959
!> - Calculate advective time scale (tauadv) using a mean cloud layer wind speed.
!> - Following Bechtold et al. (2008) \cite bechtold_et_al_2008, calculate the convective turnover time using the mean updraft velocity (wc) and the cloud depth. It is also proportional to the grid size (gdx).
1978
-
do i=1, im
1979
-
if(cnvflg(i)) then
1980
-
tem = zi(i,ktcon1(i)) - zi(i,kbcon1(i))
1981
-
dtconv(i) = tem / wc(i)
1982
-
if (.not.hwrf_samfshal) then
1983
-
tfac =1. + gdx(i) /75000.
1984
-
dtconv(i) = tfac * dtconv(i)
1985
-
endif
1986
-
dtconv(i) =max(dtconv(i),dtmin)
1987
-
dtconv(i) =max(dtconv(i),dt2)
1988
-
dtconv(i) =min(dtconv(i),dtmax)
1989
-
endif
1992
+
do i =1, im
1993
+
if (cnvflg(i)) then
1994
+
tem = zi(i,ktcon1(i)) - zi(i,kbcon1(i))
1995
+
if (progomega) then
1996
+
wc_eff =max(wc(i), wc_min)
1997
+
dtconv(i) = tem / wc_eff
1998
+
else
1999
+
dtconv(i) = tem / wc(i)
2000
+
endif
2001
+
! - grid spacing scaling (disabled for HWRF shallow option)
2002
+
if (.not. hwrf_samfshal) then
2003
+
tfac =1. + gdx(i) /75000.
2004
+
dtconv(i) = tfac * dtconv(i)
2005
+
endif
2006
+
! - limits
2007
+
dtconv(i) =max(dtconv(i), dtmin)
2008
+
dtconv(i) =max(dtconv(i),dt2)
2009
+
dtconv(i) =min(dtconv(i), dtmax)
2010
+
endif
1990
2011
enddo
1991
-
!
1992
-
!> - Calculate advective time scale (tauadv) using a mean cloud layer wind speed.
2012
+
!
2013
+
!> - Calculate advective time scale (tauadv) using a mean cloud layer wind speed.
0 commit comments