Skip to content

Commit d448447

Browse files
authored
Merge pull request #13918 from ericvmueller/master
FDS Source: add masking of undefined values for node interpolation of…
2 parents 28b4a09 + 436e8f5 commit d448447

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Source/dump.f90

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10348,6 +10348,12 @@ SUBROUTINE DUMP_BNDF(T,DT,NM)
1034810348
! Interpolate the boundary quantity PP at cell corners, PPN
1034910349

1035010350
IF (.NOT.BF%CELL_CENTERED) THEN
10351+
10352+
! Dont include undetermined values in interpolation for FIRE ARRIVAL TIME
10353+
IF (OUTPUT_QUANTITY(BF%INDEX)%NAME=='FIRE ARRIVAL TIME') THEN
10354+
WHERE(PP>9.E5_FB) IBK=0
10355+
ENDIF
10356+
1035110357
DO N=N1-1,N2
1035210358
DO L=L1-1,L2
1035310359
IF (IBK(L,N)==1) PPN(L,N) = PPN(L,N) + PP(L,N)
@@ -10360,6 +10366,7 @@ SUBROUTINE DUMP_BNDF(T,DT,NM)
1036010366
ELSE
1036110367
PPN(L,N) = REAL(SOLID_PHASE_OUTPUT(IND,BF%Y_INDEX,BF%Z_INDEX,BF%PART_INDEX,OPT_WALL_INDEX=0,&
1036210368
OPT_BNDF_INDEX=NF),FB)
10369+
IF (OUTPUT_QUANTITY(BF%INDEX)%NAME=='FIRE ARRIVAL TIME') PPN(L,N) = 1.E6_FB
1036310370
ENDIF
1036410371
ENDDO
1036510372
ENDDO

0 commit comments

Comments
 (0)