Skip to content

Commit fd3a6a5

Browse files
authored
Merge pull request #14118 from ericvmueller/master
FDS Source: fix pointer bug for BLOWING correction on particles
2 parents ea84df5 + c09bce3 commit fd3a6a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Source/read.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6304,6 +6304,10 @@ SUBROUTINE PROC_PART
63046304
RETURN
63056305
ENDIF
63066306

6307+
! Allocate necessary boundary information if BLOWING heat transfer correction is applied
6308+
6309+
IF (SF%BLOWING) LPC%INCLUDE_BOUNDARY_PROP2_TYPE = .TRUE.
6310+
63076311
! If COLOR is not assigned to the PART class, use the SURF color if it has been specified
63086312

63096313
IF (ALL(LPC%RGB==0) .AND. .NOT.ALL(SF%RGB==SURFACE(INERT_SURF_INDEX)%RGB)) LPC%RGB=SF%RGB

Source/wall.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3522,6 +3522,8 @@ REAL(EB) FUNCTION HEAT_TRANSFER_COEFFICIENT(NMX,DELTA_N_TMP,H_FIXED,SFX,WALL_IND
35223522
IF (PRESENT(PARTICLE_INDEX_IN)) THEN
35233523
LPX => LAGRANGIAN_PARTICLE(PARTICLE_INDEX_IN)
35243524
P1X => BOUNDARY_PROP1(LPX%B1_INDEX)
3525+
IF (LAGRANGIAN_PARTICLE_CLASS(LPX%CLASS_INDEX)%INCLUDE_BOUNDARY_PROP2_TYPE) &
3526+
P2X => BOUNDARY_PROP2(LPX%B2_INDEX)
35253527
BCX => BOUNDARY_COORD(LPX%BC_INDEX)
35263528
DN = SFX%CONV_LENGTH
35273529
R_DROP = LPX%RADIUS

0 commit comments

Comments
 (0)