Skip to content

Commit 8e2582e

Browse files
authored
Merge pull request #14386 from mcgratta/master
FDS Source: Issue #14221, Disallow inconsistent backings
2 parents 40c49f3 + abab673 commit 8e2582e

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2428,7 +2428,9 @@ \subsection{Thermal Properties}
24282428
\subsection{Back Side Boundary Conditions}
24292429
\label{info:BACKING}
24302430

2431-
There are several options for defining the back surface boundary condition of a thermally-thick obstruction. The default, \ct{BACKING='EXPOSED'} on the \ct{SURF} line, assumes that the back side is exposed to the thermal environment behind the solid\footnote{Prior to FDS, the boundary condition \ct{BACKING='EXPOSED'} was limited to zero or one cell thick solids. This restriction no longer applies.}. FDS calculates the heat transfer through the solid into the space behind the wall and vis versa. This heat conduction calculation in the solid is based on the \ct{THICKNESS} of the material layers specified on the \ct{SURF} line, not the dimension of the \ct{OBST} or other solid that the \ct{SURF} is applied to. For example, when modeling a steel plate that is 5~mm thick, if the \ct{OBST} is approximated as a zero-cell thick sheet because 5~mm is less than half the grid dimension of 5~cm, then FDS will still compute the heat transfer through a 5~mm thick plate of steel. If a \ct{SURF} with \ct{BACKING='EXPOSED'} is applied to the surface of a solid whose dimension in the normal direction is at least one gas phase grid cell length greater than \ct{THICKNESS}, FDS will then ignore \ct{BACKING='EXPOSED'} and apply \ct{BACKING='VOID'} instead. This latter boundary condition is described below.
2431+
There are several options for defining the back surface boundary condition of a thermally-thick obstruction. The default, \ct{BACKING='EXPOSED'} on the \ct{SURF} line, assumes that the back side is exposed to the thermal environment behind the solid. FDS calculates the heat transfer through the solid into the space behind the wall and vis versa. This heat conduction calculation in the solid is based on the \ct{THICKNESS} of the material layers specified on the \ct{SURF} line, not the dimension of the \ct{OBST} or other solid that the \ct{SURF} is applied to. For example, when modeling a steel plate that is 5~mm thick, if the \ct{OBST} is approximated as a zero-cell thick sheet because 5~mm is less than half the grid dimension of 5~cm, then FDS will still compute the heat transfer through a 5~mm thick plate of steel. If a \ct{SURF} with \ct{BACKING='EXPOSED'} is applied to the surface of a solid whose dimension in the normal direction is at least one gas phase grid cell length greater than \ct{THICKNESS}, FDS will then ignore \ct{BACKING='EXPOSED'} and apply \ct{BACKING='VOID'} instead. This latter boundary condition is described below.
2432+
2433+
If a \ct{VENT} is applied to a thermally-thick obstruction, the \ct{SURF_ID} associated with this \ct{VENT} must describe a thermally-thick solid as well; that is, the \ct{SURF} line must have a \ct{MATL_ID}.
24322434

24332435
An alternative back side boundary condition, \ct{BACKING='INSULATED'}, assumes that the solid backs up to a perfectly insulated material, in which case no heat is lost to the back side. Use of this condition means specifying properties of the inner insulating material is not necessary because it is assumed to be perfectly insulated.
24342436

@@ -14079,6 +14081,7 @@ \chapter{Error Codes}
1407914081
375 \> \ct{OBST ... is VARIABLE_THICKNESS or HT3D and needs a MATL_ID.} \> Section~\ref{info:HT3D_Limitations} \\
1408014082
376 \> \ct{Meshes must have the same y/z bounds for TUNNEL_PRECONDITIONER.} \> Section~\ref{tunnel_solver} \\
1408114083
377 \> \ct{SURF ... IMPINGING JET model requires ...} \> Section~\ref{info:impinging_jet} \\
14084+
378 \> \ct{SURF ... cannot be applied to a thermally-thick solid.} \> Section~\ref{info:BACKING} \\
1408214085
\> \> \\
1408314086
381 \> \ct{Need more spectral band limits.} \> Section~\ref{info:RADI_Wide_Band} \\
1408414087
382 \> \ct{Spectral band limits should be given in ascending order.} \> Section~\ref{info:RADI_Wide_Band} \\

Source/init.f90

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,6 +3752,7 @@ SUBROUTINE FIND_WALL_BACK_INDICES(NM)
37523752

37533753
DO IW=1,M%N_EXTERNAL_WALL_CELLS+M%N_INTERNAL_WALL_CELLS
37543754
CALL FIND_WALL_BACK_INDEX(NM,IW)
3755+
IF (STOP_STATUS/=NO_STOP) RETURN
37553756
ENDDO
37563757

37573758
! Search all neighboring meshes for 3-D WALL cells. Add index and surface information from these to M%OMESH(NOM)%WALL_RECV_BUFFER
@@ -4039,11 +4040,15 @@ SUBROUTINE FIND_WALL_BACK_INDEX(NM,IW)
40394040
! Determine if the back face is found
40404041

40414042
IF ((.NOT.OM%CELL(IC)%SOLID .AND. OM%CELL(IC)%WALL_INDEX(IOR)>0) .OR. NOM==0) THEN ! the back wall face is found
4042-
! IF (NOM>0 .AND. SF%BACKING/=EXPOSED) RETURN ! No need to assign back cell information for anything but exposed backing
40434043
ONE_D%BACK_INDEX = OM%CELL(IC)%WALL_INDEX(IOR)
40444044
ONE_D%BACK_MESH = NOM
40454045
ONE_D%BACK_SURF = OM%CELL(IC)%SURF_INDEX(IOR)
40464046
IF (NOM>0) THEN
4047+
IF (SURFACE(ONE_D%BACK_SURF)%THERMAL_BC_INDEX/=THERMALLY_THICK) THEN
4048+
WRITE(MESSAGE,'(3A)') 'ERROR(378): SURF ',TRIM(SURFACE(ONE_D%BACK_SURF)%ID),&
4049+
' cannot be applied to a thermally-thick solid.'
4050+
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
4051+
ENDIF
40474052
OS => M%OMESH(NOM)%WALL_RECV_BUFFER
40484053
IF (.NOT.ALLOCATED(OS%ITEM_INDEX)) THEN
40494054
OS%N_ITEMS_DIM = 50

Source/main.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,8 @@ SUBROUTINE INITIALIZE_BACK_WALL_EXCHANGE
20902090
CALL FIND_WALL_BACK_INDICES(NM)
20912091
ENDDO
20922092

2093+
CALL STOP_CHECK(1)
2094+
20932095
! Adjust the thickness and internal noding of HT3D surfaces
20942096

20952097
DO NM=LOWER_MESH_INDEX,UPPER_MESH_INDEX

Verification/WUI/dragon_5a.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
&OBST XB=-0.30, 0.00,-0.10, 0.10,2.25,2.25, SURF_ID='STEEL SHEET' /
1616
&OBST XB=-0.10, 0.00,-0.10, 0.10,2.10,2.10, SURF_ID='STEEL SHEET' /
1717

18-
&OBST XB=-0.30,-0.10,-0.10, 0.10,0.90,1.00, SURF_IDS='BLOWER','STEEL SHEET','STEEL SHEET' /
18+
&OBST XB=-0.30,-0.10,-0.10, 0.10,0.90,1.00, SURF_IDS='BLOWER','INERT','INERT' /
1919
&SURF ID='BLOWER', VEL=-3.0, COLOR='BLUE' /
2020

2121
&VENT MB='XMIN', SURF_ID='OPEN' /

0 commit comments

Comments
 (0)