Skip to content

Commit

Permalink
Merge pull request #12356 from drjfloyd/master
Browse files Browse the repository at this point in the history
FDS Source: prevent HTC overflow with BLOWING
  • Loading branch information
drjfloyd authored Jan 10, 2024
2 parents 525e92e + 14bb7ee commit c886744
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/wall.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,11 @@ REAL(EB) FUNCTION HEAT_TRANSFER_COEFFICIENT(NMX,DELTA_N_TMP,H_FIXED,SURF_INDEX_I
ENDDO
IF (ABS(PHI)>TWO_EPSILON_EB .AND. ABS(HEAT_TRANSFER_COEFFICIENT)>=TWO_EPSILON_EB) THEN
PHI = PHI / HEAT_TRANSFER_COEFFICIENT
HEAT_TRANSFER_COEFFICIENT = HEAT_TRANSFER_COEFFICIENT * PHI/(EXP(PHI)-1._EB)
IF (PHI > 100._EB) THEN
HEAT_TRANSFER_COEFFICIENT = 0._EB
ELSE
HEAT_TRANSFER_COEFFICIENT = HEAT_TRANSFER_COEFFICIENT * PHI/(EXP(PHI)-1._EB)
ENDIF
ENDIF
ENDIF

Expand Down

0 comments on commit c886744

Please sign in to comment.