Skip to content

Commit c5f59e6

Browse files
authored
Merge pull request #16391 from mcgratta/master
FDS Verification: Add check of INTERNAL_HEAT_SOURCE
2 parents 28bc288 + 39bc10d commit c5f59e6

5 files changed

Lines changed: 79 additions & 9 deletions

File tree

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2434,23 +2434,32 @@ \subsection{Walls with Different Materials Front and Back}
24342434
\subsection{Specified Internal Heat Source}
24352435

24362436
\label{info:INTERNAL_HEAT_SOURCE}
2437+
\label{internal_heating}
24372438

24382439
The condensed phase heat conduction equation has a source term that describes the internal sources and sinks of energy.
24392440
There are three types of sources that contribute to this term:
24402441
heats of reaction for the pyrolysis (see Sec.~\ref{info:solid_pyrolysis}),
24412442
internal absorption and emission of radiation (see Sec.~\ref{info:liquid_fuels}), and the source specified by the user.
24422443
An example of the case where specified heat source could be needed is the heating of electrical cables due to internal current.
24432444

2444-
The internal source term for each layer of the surface is specified using \ct{INTERNAL_HEAT_SOURCE} on the \ct{SURF} line. Its units are \unit{kW/m^3} and the default value is zero. An optional time ramp can be specified for each layer's heat source using \ct{RAMP_IHS}. In the example below, the cylindrical surface describing a cable consists of an outer plastic layer and inner core of metal. The metal core is heated with a power of 300~\unit{kW/m^3}.
2445+
The internal source term for each layer of the surface is specified using \ct{INTERNAL_HEAT_SOURCE} on the \ct{SURF} line. Its units are \unit{kW/m^3} and the default value is zero. An optional time ramp can be specified for each layer's heat source using \ct{RAMP_IHS}. In the example below, the cylindrical surface describing a 10~cm long cable segment consists of an outer plastic layer and inner core of metal. The metal core is heated with a power of 300~\unit{kW/m^3}.
24452446
\begin{lstlisting}
2446-
&SURF ID = 'Cable'
2447-
THICKNESS = 0.002,0.008
2448-
MATL_ID(1,1) = 'PLASTIC'
2449-
MATL_ID(2,1) = 'METAL'
2450-
GEOMETRY = 'CYLINDRICAL'
2451-
LENGTH = 0.1
2452-
INTERNAL_HEAT_SOURCE = 0.,300. /
2447+
&SURF ID = 'Cable'
2448+
THICKNESS = 0.002,0.008
2449+
MATL_ID(1,1) = 'PLASTIC'
2450+
MATL_ID(2,1) = 'METAL'
2451+
GEOMETRY = 'CYLINDRICAL'
2452+
LENGTH = 0.1
2453+
INTERNAL_HEAT_SOURCE = 0.,300. /
24532454
\end{lstlisting}
2455+
Figure~\ref{fig:internal_heating} displays the heat generated by 10 of these cable segments. The exact value is 300~\unit{kW/m^3} multiplied by the volume of the metal within the cable segment, $2 \times 10^{-5}$~\unit{m^3}, multiplied by the number of segments, 10, which equals approximately 0.06~kW.
2456+
\begin{figure}[!ht]
2457+
\centering
2458+
\includegraphics[height=2.35in]{SCRIPT_FIGURES/internal_heating}
2459+
\caption[Results of the \ct{internal_heating} test case]{Heating rate of a set of 10 cable segments. The dashed line represents the heat generated by the cable and the dotted line the heat flowing out of the computational domain.}
2460+
\label{fig:internal_heating}
2461+
\end{figure}
2462+
24542463

24552464
\subsection{Non-Planar Walls and Targets}
24562465

@@ -13531,7 +13540,7 @@ \section{\texorpdfstring{{\tt SURF}}{SURF} (Surface Properties)}
1353113540
\ct{INIT_IDS} & Char.~Array & Section~\ref{info:trees} & & \\ \hline
1353213541
\ct{INIT_PER_AREA} & Real & Section~\ref{info:trees} & m$^{-2}$ & \\ \hline
1353313542
\ct{INNER_RADIUS} & Real & Section~\ref{info:PART_GEOMETRY} & m & \\ \hline
13534-
\ct{INTERNAL_HEAT_SOURCE} & Real Array & Section~\ref{info:INTERNAL_HEAT_SOURCE} & \unit{kW/m^3} & \\ \hline
13543+
\ct{INTERNAL_HEAT_SOURCE} & Real Array & Section~\ref{info:INTERNAL_HEAT_SOURCE} & \unit{kW/m^3} & 0 \\ \hline
1353513544
\ct{LAYER_DIVIDE} & Real & Section~\ref{info:LAYER_DIVIDE} & & \ct{N_LAYERS}/2 \\ \hline
1353613545
\ct{LEAK_PATH} & Int.~Pair & Section~\ref{info:Leaks} & & \\ \hline
1353713546
\ct{LEAK_PATH_ID} & Character~Pair & Section~\ref{info:Leaks} & & \\ \hline

Utilities/Python/FDS_verification_dataplot_inputs.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ d,init_overlap,Miscellaneous/init_overlap_git.txt,Miscellaneous/init_overlap.csv
452452
d,insulated_steel_pipe,Heat_Transfer/insulated_steel_pipe_git.txt,Heat_Transfer/insulated_steel_pipe.csv,1,2,Radius,Temp,Analytical (Temp),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Heat_Transfer/insulated_steel_pipe_prof_1.csv,2,3,Radius,Temperature,FDS (Temperature),ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (insulated_steel_pipe),Radius (m),Temperature (°C),0.01,0.06,1,0,500,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/insulated_steel_pipe,Relative Error,end,0.01,Heat Transfer,r^,r,TeX
453453
d,insulated_steel_pipe,Heat_Transfer/insulated_steel_pipe_2d_git.txt,Heat_Transfer/insulated_steel_pipe_2d.csv,1,2,Radius,Temp,Analytical (Temp),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Heat_Transfer/insulated_steel_pipe_2d_prof_2.csv,2,3,Radius,T_in,FDS (Temperature),ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (insulated_steel_pipe_2d),Radius (m),Temperature (°C),0.01,0.06,1,0,500,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/insulated_steel_pipe_2d,Relative Error,end,0.01,Heat Transfer,r^,r,TeX
454454
d,insulated_steel_plate,Heat_Transfer/insulated_steel_plate_git.txt,Heat_Transfer/insulated_steel_plate.csv,1,2,Depth,Temp,Analytical (Temp),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Heat_Transfer/insulated_steel_plate_prof_1.csv,2,3,Depth,Temperature,FDS (Temperature),ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (insulated_steel_plate),Depth (m),Temperature (°C),0,0.05,1,0,500,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/insulated_steel_plate,Relative Error,end,0.01,Heat Transfer,r^,r,TeX
455+
d,internal_heating,Heat_Transfer/internal_heating_git.txt,Heat_Transfer/internal_heating.csv,1,3,Time,HF,Analytical (HF),k-,0,100000,,400,600,-1.00E+09,1.00E+09,0,Heat_Transfer/internal_heating_devc.csv,2,3,Time,HF_1,FDS (HF_1),k--,0,100000,,400,600,-1.00E+09,1.00E+09,0,Heat Flow (internal_heating),Time (min),Heat Flow (kW),0,10.,60,0,0.08,1,no,0.05 0.90,SouthEast,,1,linear,FDS_User_Guide/SCRIPT_FIGURES/internal_heating,Relative Error,mean,0.01,Heat Transfer,r^,r,TeX
456+
f,internal_heating,Heat_Transfer/internal_heating_git.txt,Heat_Transfer/internal_heating.csv,1,3,Time,HF,blank,blank,0,100000,,400,600,-1.00E+09,1.00E+09,0,Heat_Transfer/internal_heating_devc.csv,2,3,Time,HF_2,FDS (HF_2),k:,0,100000,,400,600,-1.00E+09,1.00E+09,0,Heat Flow (internal_heating),Time (s),Heat Flow (kW),0,10.,60,0,0.08,1,no,0.05 0.90,SouthEast,,1,linear,FDS_User_Guide/SCRIPT_FIGURES/internal_heating,Relative Error,mean,0.01,Heat Transfer,r^,r,TeX
455457
d,isentropic,Pressure_Effects/isentropic_git.txt,Pressure_Effects/isentropic.csv,1,2,Time,Density_1|Density_2,Exact (Density_1)|Exact (Density_2),ko|ro,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Pressure_Effects/isentropic_devc.csv,2,3,Time,density_1|density_2,FDS (density_1)|FDS (density_2),k-|r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Density (isentropic),Time (s),Density (kg/m³),0,60,1,1.1,1.4,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/isentropic_density,Relative Error,end,0.01,Pressure Effects,kd,k,TeX
456458
d,isentropic,Pressure_Effects/isentropic_git.txt,Pressure_Effects/isentropic.csv,1,2,Time,Pressure_1|Pressure_2,Exact (Pressure_1)|Exact (Pressure_2),ko|ro,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Pressure_Effects/isentropic_devc.csv,2,3,Time,pressure_1|pressure_2,FDS (pressure_1)|FDS (pressure_2),k-|r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Pressure (isentropic),Time (s),Pressure (Pa),0,60,1,0,25000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/isentropic_pressure,Relative Error,end,0.01,Pressure Effects,k+,k,TeX
457459
d,isentropic,Pressure_Effects/isentropic_git.txt,Pressure_Effects/isentropic.csv,1,2,Time,Temperature_1|Temperature_2,Exact (Temperature_1)|Exact (Temperature_2),ko|ro,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Pressure_Effects/isentropic_devc.csv,2,3,Time,temperature_1|temperature_2,FDS (temperature_1)|FDS (temperature_2),k-|r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (isentropic),Time (s),Temperature (°C),0,60,1,15,40,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/isentropic_temperature,Relative Error,end,0.01,Pressure Effects,k+,k,TeX

Verification/FDS_Cases.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ $QFDS -d Heat_Transfer ht3d_slab.fds
324324
$QFDS -d Heat_Transfer ht3d_sphere_24.fds
325325
$QFDS -p 4 -d Heat_Transfer ht3d_sphere_48.fds
326326
$QFDS -p 64 -d Heat_Transfer ht3d_sphere_96.fds
327+
$QFDS -d Heat_Transfer internal_heating.fds
327328
$QFDS -d Heat_Transfer back_wall.fds
328329
$QFDS -p 4 -d Heat_Transfer back_wall_test.fds
329330
$QFDS -p 3 -d Heat_Transfer back_wall_test_2.fds
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Time,HF
2+
s,kW
3+
400,0.0603
4+
600,0.0603
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
&HEAD CHID='internal_heating', TITLE='Test INTERNAL_HEAT_SOURCE' /
2+
3+
&MESH IJK=25,25,25, XB=-0.25, 0.25,-0.25, 0.25,0.00,0.50 /
4+
5+
&TIME T_END=600. /
6+
7+
&RADI RADIATION=F /
8+
9+
&SURF ID = 'Cable'
10+
THICKNESS = 0.002,0.008
11+
MATL_ID(1,1) = 'PLASTIC'
12+
MATL_ID(2,1) = 'METAL'
13+
GEOMETRY = 'CYLINDRICAL'
14+
LENGTH = 0.1
15+
INTERNAL_HEAT_SOURCE = 0.,300. /
16+
17+
&MATL ID = 'PLASTIC'
18+
CONDUCTIVITY = 0.1
19+
SPECIFIC_HEAT = 0.05
20+
DENSITY = 100. /
21+
22+
&MATL ID = 'METAL'
23+
CONDUCTIVITY = 50.
24+
SPECIFIC_HEAT = 0.1
25+
DENSITY = 2000. /
26+
27+
&PART ID='Cable Segment', SURF_ID='Cable', STATIC=.TRUE., SAMPLING_FACTOR=1,
28+
PROP_ID='Segment Image', QUANTITIES='PARTICLE TEMPERATURE' /
29+
30+
&PROP ID='Segment Image', SMOKEVIEW_ID='tube', SMOKEVIEW_PARAMETERS='L=0.1','D=0.01','RANDXYZ=1' /
31+
32+
&INIT N_PARTICLES=10, PART_ID='Cable Segment', XB=-0.15,0.15,-0.15,0.15,0.1,0.4 /
33+
34+
&VENT MB='XMIN', SURF_ID='OPEN' /
35+
&VENT MB='XMAX', SURF_ID='OPEN' /
36+
&VENT MB='YMIN', SURF_ID='OPEN' /
37+
&VENT MB='YMAX', SURF_ID='OPEN' /
38+
&VENT MB='ZMIN', SURF_ID='OPEN' /
39+
&VENT MB='ZMAX', SURF_ID='OPEN' /
40+
41+
&DUMP DT_HRR=10, DT_DEVC=10 /
42+
43+
&BNDF QUANTITY='GAUGE HEAT FLUX', CELL_CENTERED=T /
44+
&BNDF QUANTITY='WALL TEMPERATURE', CELL_CENTERED=T /
45+
&BNDF QUANTITY='CONVECTIVE HEAT FLUX', CELL_CENTERED=T /
46+
&BNDF QUANTITY='HEAT TRANSFER COEFFICIENT', CELL_CENTERED=T /
47+
48+
&SLCF PBZ=0.5, QUANTITY='TEMPERATURE', CELL_CENTERED=T /
49+
50+
&DEVC ID='HF_1', QUANTITY='CONVECTIVE HEAT FLUX', SPATIAL_STATISTIC='SURFACE INTEGRAL',
51+
XB=-0.25,0.25,-0.25,0.25,0.0,0.5, CONVERSION_FACTOR=-1, PART_ID='Cable Segment' /
52+
&DEVC ID='HF_2', QUANTITY='ENTHALPY FLUX Z', SPATIAL_STATISTIC='AREA INTEGRAL', XB=-0.25,0.25,-0.25,0.25,0.5,0.5 /
53+
54+
&TAIL /

0 commit comments

Comments
 (0)