Skip to content

Commit 6dec08e

Browse files
committed
FDS Source: Set T_IGN for particle to be time of insert
1 parent d4432ca commit 6dec08e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Source/part.f90

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,14 +1749,13 @@ SUBROUTINE INITIALIZE_SINGLE_PARTICLE
17491749

17501750
IF (LP_SF%FIRE_SPREAD_RATE>0._EB) THEN
17511751
B1%T_IGN = T_BEGIN + SQRT((BC%X-LP_SF%XYZ(1))**2 + (BC%Y-LP_SF%XYZ(2))**2 + (BC%Z-LP_SF%XYZ(3))**2)/LP_SF%FIRE_SPREAD_RATE
1752-
ELSE
1753-
B1%T_IGN = LP_SF%T_IGN
1752+
ELSE ! Assume that the ignition time is relative to the time of insertion, not the time of the simulation starting.
1753+
B1%T_IGN = T + (LP_SF%T_IGN-T_BEGIN)
17541754
ENDIF
17551755

17561756
! Store volume over which gas-solid exchanges occur
1757-
IF (BC%X>XS .AND. BC%X<XF .AND. BC%Y>YS .AND. BC%Y<YF .AND. BC%Z>ZS .AND. BC%Z<ZF) THEN
1758-
CALL GET_RVC(NM,BC%IIG,BC%JJG,BC%KKG,LP%RVC)
1759-
ENDIF
1757+
1758+
IF (BC%X>XS .AND. BC%X<XF .AND. BC%Y>YS .AND. BC%Y<YF .AND. BC%Z>ZS .AND. BC%Z<ZF) CALL GET_RVC(NM,BC%IIG,BC%JJG,BC%KKG,LP%RVC)
17601759

17611760
END SUBROUTINE INITIALIZE_SINGLE_PARTICLE
17621761

0 commit comments

Comments
 (0)