Skip to content

Commit 02f7344

Browse files
authored
Merge pull request #15557 from ericvmueller/master
FDS Source: assume plug flow in near-surface level set wind when not …
2 parents bdfc923 + 2466ae6 commit 02f7344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/vege.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ SUBROUTINE LEVEL_SET_FIRESPREAD(T,DT,NM)
430430
U_Z(2) = 0.5_EB*(U(IIG-1,JJG,KWIND)+U(IIG,JJG,KWIND))
431431
V_Z(1) = 0.5_EB*(V(IIG,JJG-1,KWIND-1)+V(IIG,JJG,KWIND-1))
432432
V_Z(2) = 0.5_EB*(V(IIG,JJG-1,KWIND)+V(IIG,JJG,KWIND))
433-
! If wind comes from first grid cell assume zero wind at ground level
433+
! If wind comes from first grid cell assume plug flow near ground level
434434
IF (KWIND==1) THEN
435-
U_Z(1) = 0._EB; V_Z(1) = 0._EB; ZWIND(1) = 0._EB
435+
U_Z(1) = U_Z(2); V_Z(1) = V_Z(2); ZWIND(1) = Z_LS(IIG,JJG)
436436
ENDIF
437437
U_LS(IIG,JJG) = U_Z(1) + (REF_WIND_HEIGHT-ZWIND(1))/(ZWIND(2)-ZWIND(1))*(U_Z(2)-U_Z(1))
438438
V_LS(IIG,JJG) = V_Z(1) + (REF_WIND_HEIGHT-ZWIND(1))/(ZWIND(2)-ZWIND(1))*(V_Z(2)-V_Z(1))

0 commit comments

Comments
 (0)