Skip to content

Commit 861726e

Browse files
authored
Merge pull request #13754 from gforney/master
add test case and documentation for testing obst outline visualization
2 parents fe235f8 + 8c43cc3 commit 861726e

File tree

8 files changed

+856
-0
lines changed

8 files changed

+856
-0
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,31 @@ \subsection{Transparent or Outlined Obstructions}
12431243

12441244
Obstructions are typically drawn as solids in Smokeview. To draw an outline representation, set {\ct OUTLINE} equal to {\ct T}
12451245

1246+
\subsection{Method for avoiding mesh interfaces in blockage outline view}
12461247

1248+
FDS splits a blockage into separate parts, one part for each mesh. As a result when Smokeview draws blockages as outlines it draws extra lines where blockages intersect mesh interfaces. The following procedure can be used to eliminate these extra lines for a case named say casename.fds .
1249+
1250+
\begin{enumerate}
1251+
\item Create a one mesh version of casename.fds case . Name it casename\_single.fds (or anything different than casename.fds) . Set T\_END to 0.0 and CHID to casename\_single~.
1252+
\item After running casename\_single.fds with fds, rename the generated casename\_single.smv file casename.smo~.
1253+
\item Run smokeview casename~.
1254+
\item Select the Show/Hide>Geometry>Obstacles>Outline only menu item to view the blockages as outlines.
1255+
\item press the `q' key to toggle between viewing blockages split at mesh boundaries (how fds handles them) and how blockages are defined in the input file.
1256+
\end{enumerate}
1257+
1258+
Figure \ref{fig:outlinehack} shows an example where blockages are drawn as specified in the input file and drawn split at mesh interfaces.
1259+
1260+
\begin{figure}[ht]
1261+
\begin{center}
1262+
\begin{tabular}{cc}
1263+
\includegraphics[width=3.5in]{SCRIPT_FIGURES/obst_multi}&
1264+
\includegraphics[width=3.5in]{SCRIPT_FIGURES/obst_single}\\
1265+
outlines drawn at blockage edges and mesh interfaces&outlines drawn as specified in the input file
1266+
\end{tabular}
1267+
\end{center}
1268+
\caption[Blockage outlines drawn at mesh interfaces and as specified in the input file.]{Blockage outlines drawn at mesh interfaces and as specified in the input file.}
1269+
\label{fig:outlinehack}%
1270+
\end{figure}
12471271

12481272
\subsection{Creating Holes in Obstructions}
12491273
\label{info:HOLE}

Verification/FDS_Cases.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ $QFDS -d Miscellaneous mesh_transformation.fds
347347
$QFDS -d Miscellaneous obst_sphere.fds
348348
$QFDS -d Miscellaneous obst_cylinder.fds
349349
$QFDS -d Miscellaneous obst_cone.fds
350+
$QFDS -d Miscellaneous obst_multi.fds
351+
$QFDS -d Miscellaneous obst_single.fds
350352
$QFDS -d Miscellaneous obst_rotbox.fds
351353
$QFDS -d Miscellaneous obst_sphere_mass_flux.fds
352354
$QFDS -d Miscellaneous obst_cylinder_mass_flux.fds

Verification/FDS_Pictures.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ $RUNSMV -d HVAC leak_test_2.fds
5959
# $RUNSMV -d Immersed_Boundary_Method tri_cube_cut_cell_test_11
6060
# $RUNSMV -d Immersed_Boundary_Method tri_cube_cut_cell_test_12
6161
$RUNSMV -d Miscellaneous pyramid.fds
62+
$RUNSMV -d Miscellaneous obst_multi.fds
6263
$RUNSMV -d Miscellaneous obst_sphere.fds
6364
$RUNSMV -d Miscellaneous obst_cylinder.fds
6465
$RUNSMV -d Miscellaneous obst_cone.fds
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
&HEAD CHID='obst_multi',TITLE='Plume whirl case' /
2+
3+
&MESH IJK=8,8,16, XB=0.0,0.8,0.0,0.8,0.0,1.6, MULT_ID='mesh'/
4+
&MULT ID='mesh', DX=0.8, DY=0.8, DZ=1.6, I_UPPER=1, J_UPPER=1, K_UPPER=1 /
5+
6+
7+
&DUMP NFRAMES=400 DT_PL3D=8.0, DT_SL3D=0.1 /
8+
9+
&INIT XB=0.2,1.4,0.2,1.4,0.5,2.2 TEMPERATURE=600.0 /
10+
11+
&TIME T_END=0. / Total simulation time
12+
13+
&MATL ID = 'FABRIC'
14+
FYI = 'Properties completely fabricated'
15+
SPECIFIC_HEAT = 1.0
16+
CONDUCTIVITY = 0.1
17+
DENSITY = 100.0
18+
N_REACTIONS = 1
19+
NU_SPEC = 1.
20+
SPEC_ID = 'PROPANE'
21+
REFERENCE_TEMPERATURE = 350.
22+
HEAT_OF_REACTION = 3000.
23+
HEAT_OF_COMBUSTION = 15000. /
24+
25+
&MATL ID = 'FOAM'
26+
FYI = 'Properties completely fabricated'
27+
SPECIFIC_HEAT = 1.0
28+
CONDUCTIVITY = 0.05
29+
DENSITY = 40.0
30+
N_REACTIONS = 1
31+
NU_SPEC = 1.
32+
SPEC_ID = 'PROPANE'
33+
REFERENCE_TEMPERATURE = 350.
34+
HEAT_OF_REACTION = 1500.
35+
HEAT_OF_COMBUSTION = 30000. /
36+
37+
&SURF ID = 'UPHOLSTERY_LOWER'
38+
FYI = 'Properties completely fabricated'
39+
RGB = 151,96,88
40+
BURN_AWAY = .FALSE.
41+
MATL_ID(1:2,1) = 'FABRIC','FOAM'
42+
THICKNESS(1:2) = 0.002,0.1
43+
/
44+
45+
&SURF ID = 'UPHOLSTERY_UPPER'
46+
FYI = 'Properties completely fabricated'
47+
RGB = 151,96,88
48+
BURN_AWAY = .FALSE.
49+
TMP_FRONT = 600.0
50+
/
51+
&REAC SOOT_YIELD=0.01,FUEL='PROPANE'/
52+
&SURF ID='BURNER',HRRPUA=600.0,PART_ID='tracers' / Ignition source
53+
54+
&VENT XB=0.5,1.1,0.5,1.1,0.1,0.1,SURF_ID='BURNER' / fire source on kitchen stove
55+
56+
&OBST XB=0.5,1.1,0.5,1.1,0.0,0.1 /
57+
&OBST XB=0.3,1.3,0.3,1.3,0.4,0.8 SURF_ID='UPHOLSTERY_LOWER'/
58+
&HOLE XB=0.6,1.0,0.2,0.8,0.3,0.9 /
59+
&OBST XB=0.3,1.3,0.3,1.3,1.2,1.6 SURF_ID='UPHOLSTERY_UPPER' /
60+
61+
&VENT MB='XMIN', SURF_ID='OPEN' /
62+
&VENT MB='XMAX', SURF_ID='OPEN' /
63+
&VENT MB='YMIN', SURF_ID='OPEN' /
64+
&VENT MB='YMAX', SURF_ID='OPEN' /
65+
&VENT MB='ZMAX', SURF_ID='OPEN' /
66+
67+
&PART ID='tracers',MASSLESS=.TRUE.,
68+
QUANTITIES(1:3)='PARTICLE U','PARTICLE V','PARTICLE W'
69+
SAMPLING_FACTOR=10 / Description of massless tracer particles. Apply at a
70+
solid surface with the PART_ID='tracers'
71+
&TAIL /

0 commit comments

Comments
 (0)