Skip to content

Commit c63711f

Browse files
authored
Merge pull request #13904 from mcgratta/master
FDS Verification: Remove CHECK_HT and clean up cases
2 parents 82f05ec + 9d537eb commit c63711f

File tree

13 files changed

+39
-38
lines changed

13 files changed

+39
-38
lines changed

Manuals/FDS_Verification_Guide/FDS_Verification_Guide.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ \section{Monin-Obukhov Similarity Profiles (\texorpdfstring{\ct{MO_velocity_prof
22522252
\label{MO_velocity_profile_stable}
22532253
\label{MO_velocity_profile_unstable}
22542254

2255-
Atmospheric turbulence is affected by the stability of the boundary layer. A stable layer (cool, heavy air at ground level) will suppress turbulence, while an unstable layer (warm, light air at ground level) will enhance turbulent mixing as buoyant plumes rise. The theory governing these flows, Monin-Obukhov similarity theory, is discussed at some length in the FDS User Guide \cite{FDS_Users_Guide}. Here we examine velocity profiles from a stable boundary layer and an unstable boundary layer. When mean forcing is used for driving the wind field the Monin-Obukhov parameters determine the shape of the mean streamwise velocity profile. These cases use a very tight \ct{DT_MEAN_FORCING_2} of 0.1 s in order to drive the flow field directly to the specified profile, therefore comfirming the target profile is being computed correctly in FDS.
2255+
Atmospheric turbulence is affected by the stability of the boundary layer. A stable layer (cool, heavy air at ground level) will suppress turbulence, while an unstable layer (warm, light air at ground level) will enhance turbulent mixing as buoyant plumes rise. The theory governing these flows, Monin-Obukhov similarity theory, is discussed at some length in the FDS User Guide \cite{FDS_Users_Guide}. Here we examine velocity profiles from a stable boundary layer and an unstable boundary layer. The Monin-Obukhov parameters determine the shape of the mean streamwise velocity profile.
22562256

22572257
\begin{figure}[ht]
22582258
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
@@ -5941,11 +5941,11 @@ \subsection{Heating a Metal Sphere via Radiation and Convection}
59415941
\label{particle_heating_convection}
59425942
\label{particle_heating_radiation}
59435943

5944-
A small metal sphere with mass, $m_{\rm s}=0.005$~kg, is suspended in a 1~m cube filled with $m_{\rm g}=0.318$~kg nitrogen with a specified specific heat, $c_p=1$~kJ/(kg$\cdot$K), and initial temperature, $T_{\rm g,i}=1073.15$~K. The metal has a specified specific heat, $c_{\rm s}=1$~kJ/(kg$\cdot$K), and initial temperature, $T_{\rm s,i}=293.15$~K. The walls of the box are adiabatic. In the first case, \ct{particle\_heating\_convection}, the sphere is heated via convection only and there is no radiation heat transfer. In the second case, \ct{particle\_heating\_radiation}, the sphere is heated via radiation only. The initial heat flux in both cases is approximately 75~kW/m$^2$, and the final temperature in both cases, $T_{\rm f}$, is found from solving an equation that equates the internal energy gained by the solid with the internal energy lost by the gas:
5944+
Ten small metal spheres, each with mass, $m_{\rm s}=0.005$~kg, are suspended in a 1~m cube filled with $m_{\rm g}=0.318$~kg nitrogen with a specified specific heat, $c_p=1$~kJ/(kg$\cdot$K), and initial temperature, $T_{\rm g,i}=1073.15$~K. The metal has a specified specific heat, $c_{\rm s}=1$~kJ/(kg$\cdot$K), and initial temperature, $T_{\rm s,i}=293.15$~K. The walls of the box are adiabatic. In the first case, \ct{particle\_heating\_convection}, the spheres are heated via convection only and there is no radiation heat transfer. In the second case, \ct{particle\_heating\_radiation}, the spheres are heated via radiation only. The initial heat flux in both cases is approximately 75~kW/m$^2$, and the final temperature in both cases, $T_{\rm f}$, is found from solving an equation that equates the internal energy gained by the solid with the internal energy lost by the gas:
59455945
\be
5946-
m_{\rm s} \, c_{\rm s} \, (T_{\rm f}-T_{\rm s,i}) = m_{\rm g} \, c_{v} \, (T_{\rm g,i}-T_{\rm f}) \quad ; \quad c_v = c_p - \frac{R}{W} = 1 - \frac{8.3145}{28} \approx 0.703 \; \hbox{kJ/(kg}\cdot\hbox{K})
5946+
10 \, m_{\rm s} \, c_{\rm s} \, (T_{\rm f}-T_{\rm s,i}) = m_{\rm g} \, c_{v} \, (T_{\rm g,i}-T_{\rm f}) \quad ; \quad c_v = c_p - \frac{R}{W} = 1 - \frac{8.3145}{28} \approx 0.703 \; \hbox{kJ/(kg}\cdot\hbox{K})
59475947
\ee
5948-
The final temperature, $T_{\rm f}=1056.1$~K or 782.9~$^\circ$C, as shown in Fig.~\ref{particle_heating_figs}.
5948+
The final temperature, $T_{\rm f}=931.4$~K or 658.3~$^\circ$C, as shown in Fig.~\ref{particle_heating_figs}.
59495949
\begin{figure}[ht]
59505950
\includegraphics[height=2.2in]{SCRIPT_FIGURES/particle_heating_convection}
59515951
\includegraphics[height=2.2in]{SCRIPT_FIGURES/particle_heating_radiation}

Utilities/Matlab/FDS_verification_dataplot_inputs.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,10 @@ d,particle_drag_U100_N1600,Sprinklers_and_Sprays/particle_drag_U100_N1600_git.tx
486486
d,particle_drag_U150_N1600,Sprinklers_and_Sprays/particle_drag_U150_N1600_git.txt,Sprinklers_and_Sprays/particle_drag_U150_N1600.csv,1,2,T,U,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_drag_U150_N1600_devc.csv,2,3,Time,U-VEL,FDS,k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Gas phase velocity (particle\_drag\_F),Time (s),Velocity (m/s),0,2,1,0,200,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_drag_F,Absolute Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
487487
d,particle_drag_U10_N16,Sprinklers_and_Sprays/particle_drag_U10_N16_git.txt,Sprinklers_and_Sprays/particle_drag_U10_N16.csv,1,2,T,F,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_drag_U10_N16_devc.csv,2,3,Time,drag force,FDS,k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Total drag force (particle\_drag\_A),Time (s),Force (N),0,100,1,0,1,-1,no,0.05 0.90,East,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_drag_sum_A,Relative Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
488488
d,particle_flux,Sprinklers_and_Sprays/particle_flux_git.txt,Sprinklers_and_Sprays/particle_flux.csv,1,2,Time,mass,Expected (mass),ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_flux_devc.csv,2,3,Time,mass,FDS (mass),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Particle Mass (particle\_flux),Time (s),Mass (kg),0,20,1,0,0.8,1,no,0.05 0.90,SouthEast,,1,linear,FDS_User_Guide/SCRIPT_FIGURES/particle_flux,Relative Error,end,0.01,Sprinklers and Sprays,bs,b,TeX
489-
d,particle_heating_convection,Sprinklers_and_Sprays/particle_heating_convection_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_convection_devc.csv,2,3,Time,T_gas,FDS (T\_gas),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_convection),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_convection,Relative Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
490-
f,particle_heating_convection,Sprinklers_and_Sprays/particle_heating_convection_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,blank,blank,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_convection_devc.csv,2,3,Time,T_ball,FDS (T\_ball),r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_convection),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_convection,Relative Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
491-
d,particle_heating_radiation,Sprinklers_and_Sprays/particle_heating_radiation_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_radiation_devc.csv,2,3,Time,T_gas,FDS (T\_gas),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_radiation),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_radiation,Relative Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
492-
f,particle_heating_radiation,Sprinklers_and_Sprays/particle_heating_radiation_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,blank,blank,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_radiation_devc.csv,2,3,Time,T_ball,FDS (T\_ball),r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_radiation),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_radiation,Relative Error,end,0.01,Sprinklers and Sprays,kd,k,TeX
489+
d,particle_heating_convection,Sprinklers_and_Sprays/particle_heating_convection_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_convection_devc.csv,2,3,Time,T_gas,FDS (T\_gas),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_convection),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_convection,Relative Error,end,0.02,Sprinklers and Sprays,kd,k,TeX
490+
f,particle_heating_convection,Sprinklers_and_Sprays/particle_heating_convection_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,blank,blank,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_convection_devc.csv,2,3,Time,T_ball,FDS (T\_ball),r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_convection),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_convection,Relative Error,end,0.02,Sprinklers and Sprays,kd,k,TeX
491+
d,particle_heating_radiation,Sprinklers_and_Sprays/particle_heating_radiation_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,Analytical,ko,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_radiation_devc.csv,2,3,Time,T_gas,FDS (T\_gas),k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_radiation),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_radiation,Relative Error,end,0.02,Sprinklers and Sprays,kd,k,TeX
492+
f,particle_heating_radiation,Sprinklers_and_Sprays/particle_heating_radiation_git.txt,Sprinklers_and_Sprays/particle_heating.csv,1,2,Time,Temp,blank,blank,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_heating_radiation_devc.csv,2,3,Time,T_ball,FDS (T\_ball),r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Temperature (particle\_heating\_radiation),Time (s),Temperature (°C),0,900,1,0,1000,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_heating_radiation,Relative Error,end,0.02,Sprinklers and Sprays,kd,k,TeX
493493
d,particle_isotropic_radi,Sprinklers_and_Sprays/particle_isotropic_radi_git.txt,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Delta e_ball,E\_w ball,k-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Q_rad ball,Q\_r ball,k--,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Enthalpy (particle\_isotropic\_radiation),Time (s),Enthalpy (kJ),0,50,1,0,12,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_isotropic_radi,Relative Error,end,0.015,Sprinklers and Sprays,ko,k,TeX
494494
f,particle_isotropic_radi,Sprinklers_and_Sprays/particle_isotropic_radi_git.txt,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Delta e_cyl,E\_w cyl,r-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Q_rad cyl,Q\_r cyl,r--,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Enthalpy (particle\_isotropic\_radiation),Time (s),Enthalpy (kJ),0,50,1,0,12,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_isotropic_radi,Relative Error,end,0.015,Sprinklers and Sprays,ko,k,TeX
495495
f,particle_isotropic_radi,Sprinklers_and_Sprays/particle_isotropic_radi_git.txt,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Delta e_plate,E\_w plate,b-,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Sprinklers_and_Sprays/particle_isotropic_radi_devc.csv,2,3,Time,Q_rad plate,Q\_r plate,b--,0,100000,,0,100000,-1.00E+09,1.00E+09,0,Enthalpy (particle\_isotropic\_radiation),Time (s),Enthalpy (kJ),0,50,1,0,12,1,no,0.05 0.90,SouthEast,,1,linear,FDS_Verification_Guide/SCRIPT_FIGURES/particle_isotropic_radi,Relative Error,end,0.015,Sprinklers and Sprays,ko,k,TeX

Utilities/Matlab/scripts/atmospheric_boundary_layer.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767

6868
T = T + (theta_0-T(12));
6969

70+
ERROR = abs(u(end)-M2.data(end,2));
71+
if ERROR>2.
72+
display(['Matlab Warning: atmospheric_boundary_layer Case ',num2str(i),' velocity out of tolerance. ERROR = ',num2str(ERROR),' m/s'])
73+
end
74+
7075
plot(u,z,'ko'); hold on
7176
plot(M2.data(:,2),M2.data(:,1),'k-'); hold off
7277
set(gca,'FontName',Font_Name)
@@ -99,6 +104,11 @@
99104
set(gca,'Units',Plot_Units)
100105
set(gca,'Position',[Plot_X Plot_Y Plot_Width Plot_Height])
101106

107+
ERROR = abs(T(end)-273.15-M2.data(end,3));
108+
if ERROR>1.0
109+
display(['Matlab Warning: atmospheric_boundary_layer Case ',num2str(i),' temperature out of tolerance. ERROR = ',num2str(ERROR),' K'])
110+
end
111+
102112
plot(T-273.15,z,'ko'); hold on
103113
plot(M2.data(:,3),M2.data(:,1),'k-'); hold off
104114
set(gca,'FontName',Font_Name)

Verification/Atmospheric_Effects/MO_velocity_profile_stable.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
&TIME T_END=10. /
99

10-
&MISC P_INF=90630, HUMIDITY=12.0, CHECK_HT=T /
10+
&MISC P_INF=90630, HUMIDITY=12.0 /
1111
&WIND L=69.4, U_STAR=0.369, Z_0=0.008, THETA_STAR=0.152, TMP_REF=30.8, Z_REF=1. /
1212
&RADI RADIATION=.FALSE. /
1313

Verification/Complex_Geometry/geom_channel2.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
&RADI RADIATION=F /
1717
&PRES VELOCITY_TOLERANCE=1.E-6 /
18-
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0., CHECK_HT=T /
18+
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0. /
1919
&SURF ID='INLET', MASS_FLUX(1)=1., SPEC_ID(1)='TRACER', TAU_MF(1)=0./
2020

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

Verification/Complex_Geometry/geom_channel_tmp.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
&RADI RADIATION=F /
2020
&PRES SOLVER='ULMAT'/
21-
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0., CHECK_HT=T /
21+
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0. /
2222
&SURF ID='INLET', FREE_SLIP=T, MASS_FRACTION(1)=1., SPEC_ID(1)='TRACER', VEL=-1, TAU_V=0., TMP_FRONT=600., RAMP_T='t1'/
2323

2424
&RAMP ID='t1', T=0.,F=1./

Verification/Complex_Geometry/geom_channel_tmp2.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
&RADI RADIATION=F /
1616
&PRES VELOCITY_TOLERANCE=1.E-6 /
17-
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0., CHECK_HT=T /
17+
&MISC NOISE=F, STRATIFICATION=F, GVEC(3)=0. /
1818
&SURF ID='INLET', TMP_FRONT=600., RAMP_T='t1'/
1919

2020
&RAMP ID='t1', T=0.,F=1./

Verification/Complex_Geometry/geom_obst.fds

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
&TIME T_END=1.0/
44
&MESH IJK=15,15,15,XB=-1.0,1.0,-1.0,1.0,-1.0,1.0 /
55

6-
&MISC CHECK_HT=T /
76
&REAC SOOT_YIELD=0.01,FUEL='PROPANE'/
87
&SURF ID='BURNER',HRRPUA=600.0 /
98

Verification/Heat_Transfer/back_wall_test_2.fds

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
&HEAD CHID='back_wall_test_2', TITLE='Test 1-D heat transfer through rotated GEOM obstruction' /
1+
&HEAD CHID='back_wall_test_2_noht', TITLE='Test 1-D heat transfer through rotated GEOM obstruction' /
22

33
&MESH XB=0,1,0,1,0,1, IJK=40,40,40 /
44
&MESH XB=2,3,0,1,0,1, IJK=40,40,40 /
55
&MESH XB=4,5,0,1,0,1, IJK=40,40,40 /
66

77
&TIME T_END=20., DT=0.1 /
8-
&MISC CFL_MAX=0.8, CHECK_HT=T /
98
&SURF ID='HOT', COLOR='RED', TMP_FRONT=1000., TAU_T=0., EMISSIVITY=1, HEAT_TRANSFER_COEFFICIENT=0 /
109
&SURF ID='COLD',COLOR='BLUE',TMP_FRONT=20., TAU_T=0., EMISSIVITY=1, HEAT_TRANSFER_COEFFICIENT=0 /
1110

Verification/Pressure_Solver/ulmat_2zone.fds

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,11 @@
33
&MESH IJK=10,10,5, XB=0,1,0,1,0,0.5/
44
&MESH IJK=10,10,5, XB=0,1,0,1,0.5,1/
55

6-
#&MESH IJK=5,10,10, XB=0,0.5,0,1,0,1./
7-
#&MESH IJK=5,10,10, XB=0.5,1,0,1,0,1./
8-
9-
#&MESH IJK=5,10,5, XB=0,0.5,0,1,0,0.5/
10-
#&MESH IJK=5,10,5, XB=0,0.5,0,1,0.5,1/
11-
#&MESH IJK=5,10,5, XB=0.5,1,0,1,0,0.5/
12-
#&MESH IJK=5,10,5, XB=0.5,1,0,1,0.5,1/
13-
14-
156
&TIME T_END=10/
167

178
&PRES CHECK_POISSON=T, SOLVER='ULMAT'/
189

19-
&MISC NOISE=F, CHECK_HT=T /
10+
&MISC NOISE=F /
2011

2112
&RADI RADIATION=F/
2213

0 commit comments

Comments
 (0)