Skip to content

Commit

Permalink
Merge pull request firemodels#3942 from drjfloyd/development
Browse files Browse the repository at this point in the history
FDS Source: Fix Issue firemodels#3930 use ZZ for duct and not gas for Q_LEAK

Former-commit-id: dce1b67c5e954efe2fc0c092f43418beed0c5db1 [formerly a482e882060e185848353ba529be375f7111271a]
Former-commit-id: db279c0b018bd7f3c50b69d7a6cf526a9070c21d
  • Loading branch information
drjfloyd committed Jun 12, 2016
2 parents 726ad2f + 7aa7e7b commit 57b333d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FDS_Source/wall.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1392,9 +1392,8 @@ SUBROUTINE HVAC_BC
WC%ONE_D%QCONF = 0._EB
ELSE
IF (DUCT(DU)%LEAK_ENTHALPY) THEN
ZZ_GET(1:N_TRACKED_SPECIES) = ZZP(IIG,JJG,KKG,:)
CALL GET_AVERAGE_SPECIFIC_HEAT(ZZ_GET,CP_G,TMP(IIG,JJG,KKG))
ZZ_GET(1:N_TRACKED_SPECIES) = NODE_ZZ_EX(WC%NODE_INDEX,1:N_TRACKED_SPECIES,1)
CALL GET_AVERAGE_SPECIFIC_HEAT(ZZ_GET,CP_G,TMP(IIG,JJG,KKG))
CALL GET_AVERAGE_SPECIFIC_HEAT(ZZ_GET,CP_D,NODE_TMP_EX(WC%NODE_INDEX,1))
WC%Q_LEAK = -MFT*(CP_D*NODE_TMP_EX(WC%NODE_INDEX,1)-CP_G*TMP(IIG,JJG,KKG))*WC%RDN
ENDIF
Expand All @@ -1416,7 +1415,6 @@ SUBROUTINE HVAC_BC
ELSE
WC%ONE_D%MASSFLUX(1:N_TRACKED_SPECIES) = -NODE_ZZ_EX(WC%NODE_INDEX,1:N_TRACKED_SPECIES,1)*MFT
ENDIF

ENDDO WALL_CELL_LOOP

END SUBROUTINE HVAC_BC
Expand Down

0 comments on commit 57b333d

Please sign in to comment.