Skip to content

Commit

Permalink
Merge pull request #13918 from ericvmueller/master
Browse files Browse the repository at this point in the history
FDS Source: add masking of undefined values for node interpolation of…
  • Loading branch information
ericvmueller authored Dec 18, 2024
2 parents 28b4a09 + 436e8f5 commit d448447
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/dump.f90
Original file line number Diff line number Diff line change
Expand Up @@ -10348,6 +10348,12 @@ SUBROUTINE DUMP_BNDF(T,DT,NM)
! Interpolate the boundary quantity PP at cell corners, PPN

IF (.NOT.BF%CELL_CENTERED) THEN

! Dont include undetermined values in interpolation for FIRE ARRIVAL TIME
IF (OUTPUT_QUANTITY(BF%INDEX)%NAME=='FIRE ARRIVAL TIME') THEN
WHERE(PP>9.E5_FB) IBK=0
ENDIF

DO N=N1-1,N2
DO L=L1-1,L2
IF (IBK(L,N)==1) PPN(L,N) = PPN(L,N) + PP(L,N)
Expand All @@ -10360,6 +10366,7 @@ SUBROUTINE DUMP_BNDF(T,DT,NM)
ELSE
PPN(L,N) = REAL(SOLID_PHASE_OUTPUT(IND,BF%Y_INDEX,BF%Z_INDEX,BF%PART_INDEX,OPT_WALL_INDEX=0,&
OPT_BNDF_INDEX=NF),FB)
IF (OUTPUT_QUANTITY(BF%INDEX)%NAME=='FIRE ARRIVAL TIME') PPN(L,N) = 1.E6_FB
ENDIF
ENDDO
ENDDO
Expand Down

0 comments on commit d448447

Please sign in to comment.