Skip to content

Commit 6971f0c

Browse files
authored
Merge pull request #14075 from mcgratta/master
FDS User Guide: Fix verbatim construct
2 parents 9a1b27b + 540d394 commit 6971f0c

File tree

1 file changed

+98
-98
lines changed

1 file changed

+98
-98
lines changed

Manuals/FDS_User_Guide/smv_objects.tex

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ \section{Visualizing FDS Devices in Smokeview}
2020
\subsection{Devices that Indicate Activation}
2121
\label{info:SMOKEVIEW_ID}
2222

23-
Devices like sprinklers and smoke detectors can be drawn in one of two ways so as to indicate activation. When FDS determines that a device has activated it places a message in the {\ct .smv} file indicating the object number, the activation time and the state (0 for inactive or 1 for active). Smokeview then draws the corresponding object. See Tables~\ref{tab:devices_static} and \ref{tab:devices_mstatic} for images.
23+
Devices like sprinklers and smoke detectors can be drawn in one of two ways so as to indicate activation. When FDS determines that a device has activated it places a message in the \ct{.smv} file indicating the object number, the activation time and the state (0 for inactive or 1 for active). Smokeview then draws the corresponding object. See Tables~\ref{tab:devices_static} and \ref{tab:devices_mstatic} for images.
2424

25-
The character string, {\ct SMOKEVIEW\_ID}, on the {\ct PROP} line associates an FDS device with a Smokeview object. For example, the following lines instruct Smokeview to draw the device in the shape of a {\ct 'target'}:
25+
The character string, \ct{SMOKEVIEW_ID}, on the \ct{PROP} line associates an FDS device with a Smokeview object. For example, the following lines instruct Smokeview to draw the device in the shape of a \ct{'target'}:
2626
\begin{lstlisting}
2727
&PROP ID='my target', SMOKEVIEW_ID='target' /
2828
&DEVC XYZ=0.5,0.8,0.6, QUANTITY='TEMPERATURE', PROP_ID='my target' /
@@ -33,130 +33,130 @@ \subsection{Devices that Indicate Activation}
3333
\caption{Single frame static objects}
3434
\label{tab:devices_static}
3535
\\ \hline
36-
{\ct SMOKEVIEW\_ID} & Image \\ \hline \hline
36+
\ct{SMOKEVIEW_ID} & Image \\ \hline \hline
3737
\endfirsthead
3838
\caption{Single frame static objects (continued)} \\ \hline
39-
{\ct SMOKEVIEW\_ID} & Image \\ \hline \hline
39+
\ct{SMOKEVIEW_ID} & Image \\ \hline \hline
4040
\endhead
4141

42-
{\ct sensor} & \incgraphics{SCRIPT_FIGURES/sensor} \\ \hline
43-
{\ct target} & \incgraphics{SCRIPT_FIGURES/target} \\ \hline
42+
\ct{sensor} & \incgraphics{SCRIPT_FIGURES/sensor} \\ \hline
43+
\ct{target} & \incgraphics{SCRIPT_FIGURES/target} \\ \hline
4444

4545
\end{longtable}
4646

4747
\begin{longtable}[ht]{|l|c|c|}
4848
\caption{Dual frame static objects}
4949
\label{tab:devices_mstatic}
5050
\\ \hline
51-
\multirow{2}{*}{{\ct SMOKEVIEW\_ID}} &\multicolumn{2}{|c|}{Image}\\ \cline{2-3}
51+
\multirow{2}{*}{\ct{SMOKEVIEW_ID}} &\multicolumn{2}{|c|}{Image}\\ \cline{2-3}
5252
& inactive & active \\ \hline \hline
5353
\endfirsthead
5454
\caption{Dual frame static objects (continued)}
5555
\\ \hline
56-
\multirow{2}{*}{{\ct SMOKEVIEW\_ID}} &\multicolumn{2}{|c|}{Image}\\ \cline{2-3}
56+
\multirow{2}{*}{\ct{SMOKEVIEW_ID}} &\multicolumn{2}{|c|}{Image}\\ \cline{2-3}
5757
& inactive & active \\ \hline \hline
5858
\endhead
5959

60-
{\ct heat\_detector} & \incgraphics{SCRIPT_FIGURES/heat_detector_0} & \incgraphics{SCRIPT_FIGURES/heat_detector_1} \\ \hline
61-
{\ct nozzle} & \incgraphics{SCRIPT_FIGURES/nozzle_0} & \incgraphics{SCRIPT_FIGURES/nozzle_1} \\ \hline
62-
{\ct smoke\_detector} & \incgraphics{SCRIPT_FIGURES/smoke_detector_0} & \incgraphics{SCRIPT_FIGURES/smoke_detector_1} \\ \hline
63-
{\ct sprinkler\_upright} & \incgraphics{SCRIPT_FIGURES/sprinkler_upright_0} & \incgraphics{SCRIPT_FIGURES/sprinkler_upright_1} \\ \hline
64-
{\ct sprinkler\_pendent} & \incgraphics{SCRIPT_FIGURES/sprinkler_pendent_0} & \incgraphics{SCRIPT_FIGURES/sprinkler_pendent_1} \\ \hline
60+
\ct{heat_detector} & \incgraphics{SCRIPT_FIGURES/heat_detector_0} & \incgraphics{SCRIPT_FIGURES/heat_detector_1} \\ \hline
61+
\ct{nozzle} & \incgraphics{SCRIPT_FIGURES/nozzle_0} & \incgraphics{SCRIPT_FIGURES/nozzle_1} \\ \hline
62+
\ct{smoke_detector} & \incgraphics{SCRIPT_FIGURES/smoke_detector_0} & \incgraphics{SCRIPT_FIGURES/smoke_detector_1} \\ \hline
63+
\ct{sprinkler_upright} & \incgraphics{SCRIPT_FIGURES/sprinkler_upright_0} & \incgraphics{SCRIPT_FIGURES/sprinkler_upright_1} \\ \hline
64+
\ct{sprinkler_pendent} & \incgraphics{SCRIPT_FIGURES/sprinkler_pendent_0} & \incgraphics{SCRIPT_FIGURES/sprinkler_pendent_1} \\ \hline
6565

6666
\end{longtable}
6767

6868

6969
\subsection{Devices with Variable Properties}
7070
\label{info:SMOKEVIEW_PARAMETERS}
7171

72-
The appearance of Smokeview objects may be modified using data specified with the array of character strings called {\ct SMOKEVIEW\_PARAMETERS} on the {\ct PROP} line. For example, the input lines
72+
The appearance of Smokeview objects may be modified using data specified with the array of character strings called \ct{SMOKEVIEW_PARAMETERS} on the \ct{PROP} line. For example, the input lines
7373
\begin{lstlisting}
7474
&PROP ID='ballprops', SMOKEVIEW_ID='ball',
7575
SMOKEVIEW_PARAMETERS(1:6)='R=255','G=0','B=0','DX=0.5','DY=0.25','DZ=0.1' /
7676
&DEVC XYZ=0.5,0.8,1.5, QUANTITY='TEMPERATURE', PROP_ID='ballprops' /
7777
\end{lstlisting}
7878
create an ellipsoid colored red with $x$, $y$, and $z$ axis diameters of 0.5~m and 0.25~m and 0.1~m, respectively. Note that these parameters are enclosed within single quotes because they are character strings passed to Smokeview.
7979

80-
Table~\ref{tab:devices_dynamic} lists objects with variable properties. Note that the {\ct tsphere} object uses a texture map or image to alter its appearance. The texture map is specified by placing the characters {\ct t\%} before the texture file name, for example, {\ct t\%texturefile.jpg}.
80+
Table~\ref{tab:devices_dynamic} lists objects with variable properties. Note that the \ct{tsphere} object uses a texture map or image to alter its appearance. The texture map is specified by placing the characters \ct{t\%} before the texture file name, for example, \ct{t\%texturefile.jpg}.
8181

8282
\begin{longtable}[ht]{|l|l|c|}
8383
\caption{Dynamic Smokeview objects}
8484
\label{tab:devices_dynamic}
8585
\\ \hline
86-
{\ct SMOKEVIEW\_ID} & {\ct SMOKEVIEW\_PARAMETERS} & Image \\ \hline \hline
86+
\ct{SMOKEVIEW_ID} & \ct{SMOKEVIEW_PARAMETERS} & Image \\ \hline \hline
8787
\endfirsthead
8888
\caption{Dynamic Smokeview objects (continued)}
8989
\\ \hline
90-
{\ct SMOKEVIEW\_ID} & {\ct SMOKEVIEW\_PARAMETERS} & Image \\ \hline \hline
90+
\ct{SMOKEVIEW_ID} & \ct{SMOKEVIEW_PARAMETERS} & Image \\ \hline \hline
9191
\endhead
9292

93-
{\ct ball} &
93+
\ct{ball} &
9494
\parbox[c]{\boxwidth}{
9595
\hspace{1in} \\
96-
{\ct SMOKEVIEW\_PARAMETERS(1:6)=}\\
97-
{\ct 'R=128','G=192','B=255',}\\
98-
{\ct 'DX=0.5','DY=.75','DZ=1.0'}\\ \\
99-
{\ct R, G, B} - color components (0 to 255) \\
100-
{\ct DX, DY, DZ} - amount ball is stretched along x, y, z axis (m) \\
96+
\ct{SMOKEVIEW_PARAMETERS(1:6)=}\\
97+
\ct{'R=128','G=192','B=255',}\\
98+
\ct{'DX=0.5','DY=.75','DZ=1.0'}\\ \\
99+
\ct{R, G, B} - color components (0 to 255) \\
100+
\ct{DX, DY, DZ} - amount ball is stretched along x, y, z axis (m) \\
101101
\hspace{1in} } &
102102
\incgraphics{SCRIPT_FIGURES/ball} \\ \hline
103103

104-
{\ct cone} &
104+
\ct{cone} &
105105
\parbox[c]{\boxwidth}{
106106
\hspace{1in} \\
107-
{\ct SMOKEVIEW\_PARAMETERS(1:5)=}\\
108-
{\ct 'R=128','G=255','B=192',}\\
109-
{\ct 'D=0.4','H=0.6'}\\ \\
110-
{\ct R, G, B} - color components (0 to 255) \\
111-
{\ct D, H} - diameter and height (m) \\
107+
\ct{SMOKEVIEW_PARAMETERS(1:5)=}\\
108+
\ct{'R=128','G=255','B=192',}\\
109+
\ct{'D=0.4','H=0.6'}\\ \\
110+
\ct{R, G, B} - color components (0 to 255) \\
111+
\ct{D, H} - diameter and height (m) \\
112112
\hspace{1in}
113113
} &
114114
\incgraphics{SCRIPT_FIGURES/cone} \\ \hline
115115

116-
{\ct fan} &
116+
\ct{fan} &
117117
\parbox[c]{\boxwidth}{
118118
\hspace{1in} \\
119-
{\ct SMOKEVIEW\_PARAMETERS(1:11)=}\\
120-
{\ct 'HUB\_R=0','HUB\_G=0','HUB\_B=0',}\\
121-
{\ct 'HUB\_D=0.1','HUB\_L=0.12',}\\
122-
{\ct 'BLADE\_R=128','BLADE\_G=64',}\\
123-
{\ct 'BLADE\_B=32','BLADE\_ANGLE=60.0',}\\
124-
{\ct 'BLADE\_D=0.5','BLADE\_H=0.09'}\\ \\
125-
{\ct HUB\_R, HUB\_G, HUB\_B} - color components of fan hub (0 to 255) \\
126-
{\ct HUB\_D, HUB\_L} - diameter and length of fan hub (m) \\
127-
{\ct BLADE\_R, BLADE\_G, BLADE\_B} - color components of fan blades (0 to 255) \\
128-
{\ct BLADE\_ANGLE, BLADE\_D, BLADE\_H} - angle, diameter and height of a fan blade \\
119+
\ct{SMOKEVIEW_PARAMETERS(1:11)=}\\
120+
\ct{'HUB_R=0','HUB_G=0','HUB_B=0',}\\
121+
\ct{'HUB_D=0.1','HUB_L=0.12',}\\
122+
\ct{'BLADE_R=128','BLADE_G=64',}\\
123+
\ct{'BLADE_B=32','BLADE_ANGLE=60.0',}\\
124+
\ct{'BLADE_D=0.5','BLADE_H=0.09'}\\ \\
125+
\ct{HUB_R, HUB_G, HUB_B} - color components of fan hub (0 to 255) \\
126+
\ct{HUB_D, HUB_L} - diameter and length of fan hub (m) \\
127+
\ct{BLADE_R, BLADE_G, BLADE_B} - color components of fan blades (0 to 255) \\
128+
\ct{BLADE_ANGLE, BLADE_D, BLADE_H} - angle, diameter and height of a fan blade \\
129129
\hspace{1in}
130130
} &
131131
\incgraphics{SCRIPT_FIGURES/fan} \\ \hline
132132

133-
{\ct tsphere} &
133+
\ct{tsphere} &
134134
\parbox[c]{\boxwidth}{
135135
\hspace{1in} \\
136-
{\ct SMOKEVIEW\_PARAMETERS(1:9)=}\\
137-
{\ct 'R=255','G=255','B=255',}\\
138-
{\ct 'AX0=0.0','ELEV0=90.0',}\\
139-
{\ct 'ROT0=0.0','ROTATION\_RATE=10.0',}\\
140-
{\ct 'D=1.0',}\\
141-
{\ct 'tfile="t\%sphere\_cover\_04.png"'}\\ \\
142-
{\ct R, G, B} - color components (0 to 255) \\
143-
{\ct AX0, ELEV0, ROT0} - initial azimuth, elevation and rotation angle (deg) \\
144-
{\ct ROTATION\_RATE} - rotation rate about z axis (deg/s) \\
145-
{\ct D} - diameter (m) \\
146-
{\ct tfile} - name of texture map file \\
136+
\ct{SMOKEVIEW_PARAMETERS(1:9)=}\\
137+
\ct{'R=255','G=255','B=255',}\\
138+
\ct{'AX0=0.0','ELEV0=90.0',}\\
139+
\ct{'ROT0=0.0','ROTATION_RATE=10.0',}\\
140+
\ct{'D=1.0',}\\
141+
\ct{'tfile="t\%sphere_cover_04.png"'}\\ \\
142+
\ct{R, G, B} - color components (0 to 255) \\
143+
\ct{AX0, ELEV0, ROT0} - initial azimuth, elevation and rotation angle (deg) \\
144+
\ct{ROTATION_RATE} - rotation rate about z axis (deg/s) \\
145+
\ct{D} - diameter (m) \\
146+
\ct{tfile} - name of texture map file \\
147147
\hspace{1in}
148148
} &
149149
\incgraphics{SCRIPT_FIGURES/tsphere} \\ \hline
150150

151-
{\ct vent} &
151+
\ct{vent} &
152152
\parbox[c]{\boxwidth}{
153153
\hspace{1in} \\
154-
{\ct SMOKEVIEW\_PARAMETERS(1:6)=}\\
155-
{\ct 'R=192','G=192','B=128',}\\
156-
{\ct 'W=0.5','H=1.0', 'ROT=90.0'}\\ \\
157-
{\ct R, G, B} - color components (0 to 255) \\
158-
{\ct W, H} - width and height (m) \\
159-
{\ct ROT} - rotation angle (deg) \\
154+
\ct{SMOKEVIEW_PARAMETERS(1:6)=}\\
155+
\ct{'R=192','G=192','B=128',}\\
156+
\ct{'W=0.5','H=1.0', 'ROT=90.0'}\\ \\
157+
\ct{R, G, B} - color components (0 to 255) \\
158+
\ct{W, H} - width and height (m) \\
159+
\ct{ROT} - rotation angle (deg) \\
160160
\hspace{1in}
161161
} &
162162
\parbox[c]{\devicewidth}{
@@ -180,76 +180,76 @@ \subsection{Objects that Represent Lagrangian Particles}
180180
&PART ID='cables', QUANTITIES(1)='PARTICLE TEMPERATURE', ..., PROP_ID='cable image' /
181181
&PROP ID='cable image', SMOKEVIEW_ID='tube', SMOKEVIEW_PARAMETERS='L=0.1','D=0.0124' /
182182
\end{lstlisting}
183-
By default, the cables are colored black, but you can specify your own default color using the parameters {\ct R}, {\ct G}, and {\ct B}. In addition, you can color the particles according to the listed {\ct QUANTITIES} on the {\ct PART} line. Menus in Smokeview allow you to toggle between the various color options.
183+
By default, the cables are colored black, but you can specify your own default color using the parameters \ct{R}, \ct{G}, and \ct{B}. In addition, you can color the particles according to the listed \ct{QUANTITIES} on the \ct{PART} line. Menus in Smokeview allow you to toggle between the various color options.
184184

185-
You can control the orientation of the {\ct 'tube'} objects using a parameter such as {\ct 'RANDXY=1'} that causes the cylinders to be drawn randomly in the $x-y$ plane. Objects with the parameters {\ct U-VEL}, {\ct V-VEL}, and {\ct W-VEL} stretch according to the respective velocity components associated with the moving particles.
185+
You can control the orientation of the \ct{'tube'} objects using a parameter such as \ct{'RANDXY=1'} that causes the cylinders to be drawn randomly in the $x-y$ plane. Objects with the parameters \ct{U-VEL}, \ct{V-VEL}, and \ct{W-VEL} stretch according to the respective velocity components associated with the moving particles.
186186

187187
\begin{longtable}[ht]{|l|l|c|}
188188
\caption{Dynamic Smokeview objects for Lagrangian particles}
189189
\label{tab:devices_dynamic2}
190190
\\ \hline
191-
{\ct SMOKEVIEW\_ID} & {\ct SMOKEVIEW\_PARAMETERS} & Image \\ \hline \hline
191+
\ct{SMOKEVIEW_ID} & \ct{SMOKEVIEW_PARAMETERS} & Image \\ \hline \hline
192192
\endfirsthead
193193
\caption{Dynamic Smokeview objects for Lagrangian particles (continued)}
194194
\\ \hline
195-
{\ct SMOKEVIEW\_ID} & {\ct SMOKEVIEW\_PARAMETERS} & Image \\ \hline \hline
195+
\ct{SMOKEVIEW_ID} & \ct{SMOKEVIEW_PARAMETERS} & Image \\ \hline \hline
196196
\endhead
197197

198-
{\ct box} &
198+
\ct{box} &
199199
\parbox[c]{\boxwidth}{
200200
\hspace{1in} \\
201-
{\ct SMOKEVIEW\_PARAMETERS(1:6)=}\\
202-
{\ct 'R=192','G=255','B=128',}\\
203-
{\ct 'DX=0.25','DY=.5','DZ=0.125'}\\ \\
204-
{\ct R, G, B} - color components (0 to 255) \\
205-
{\ct DX, DY, DZ} - amount box is stretched along axes \\
201+
\ct{SMOKEVIEW_PARAMETERS(1:6)=}\\
202+
\ct{'R=192','G=255','B=128',}\\
203+
\ct{'DX=0.25','DY=.5','DZ=0.125'}\\ \\
204+
\ct{R, G, B} - color components (0 to 255) \\
205+
\ct{DX, DY, DZ} - amount box is stretched along axes \\
206206
\hspace{1in}
207207
} &
208208
\incgraphics{SCRIPT_FIGURES/box} \\ \hline
209209

210-
{\ct tube} &
210+
\ct{tube} &
211211
\parbox[c]{\boxwidth}{
212212
\hspace{1in} \\
213-
{\ct SMOKEVIEW\_PARAMETERS(1:6)=}\\
214-
{\ct 'R=255','G=0','B=0',}\\
215-
{\ct 'D=0.2','L=0.6','RANDXY=1'}\\ \\
216-
{\ct R, G, B} - color components (0 to 255) \\
217-
{\ct D, L} - diameter and length (m) \\
218-
{\ct RANDXY} - randomly orient in x-y plane \\
219-
{\ct RANDXZ} - randomly orient in x-z plane \\
220-
{\ct RANDYZ} - randomly orient in y-z plane \\
221-
{\ct RANDXYZ} - random orientation \\
222-
{\ct DIRX, DIRY, DIRZ} - orient along axis \\
213+
\ct{SMOKEVIEW_PARAMETERS(1:6)=}\\
214+
\ct{'R=255','G=0','B=0',}\\
215+
\ct{'D=0.2','L=0.6','RANDXY=1'}\\ \\
216+
\ct{R, G, B} - color components (0 to 255) \\
217+
\ct{D, L} - diameter and length (m) \\
218+
\ct{RANDXY} - randomly orient in x-y plane \\
219+
\ct{RANDXZ} - randomly orient in x-z plane \\
220+
\ct{RANDYZ} - randomly orient in y-z plane \\
221+
\ct{RANDXYZ} - random orientation \\
222+
\ct{DIRX, DIRY, DIRZ} - orient along axis \\
223223
\hspace{1in}
224224
} &
225225
\incgraphics{SCRIPT_FIGURES/tube} \\ \hline
226226

227-
{\ct velegg} &
227+
\ct{velegg} &
228228
\parbox[c]{\boxwidth}{
229229
\hspace{1in} \\
230-
{\ct SMOKEVIEW\_PARAMETERS(1:9)=} \\
231-
{\ct 'R=192', 'G=64', 'B=32'} \\
232-
{\ct 'U-VEL=1.', 'V-VEL=1.', 'W-VEL=1.'} \\
233-
{\ct 'VELMIN=0.01', 'VELMAX=0.2', 'D=1.0'} \\ \\
234-
{\ct R, G, B} - color components (0 to 255) \\
235-
{\ct U-VEL, V-VEL, W-VEL} - velocity components (m/s) \\
236-
{\ct VELMIN, VELMAX} - minimum and maximum velocity\\
237-
{\ct D} - diameter of egg at maximum velocity (m) \\
230+
\ct{SMOKEVIEW_PARAMETERS(1:9)=} \\
231+
\ct{'R=192', 'G=64', 'B=32'} \\
232+
\ct{'U-VEL=1.', 'V-VEL=1.', 'W-VEL=1.'} \\
233+
\ct{'VELMIN=0.01', 'VELMAX=0.2', 'D=1.0'} \\ \\
234+
\ct{R, G, B} - color components (0 to 255) \\
235+
\ct{U-VEL, V-VEL, W-VEL} - velocity components (m/s) \\
236+
\ct{VELMIN, VELMAX} - minimum and maximum velocity\\
237+
\ct{D} - diameter of egg at maximum velocity (m) \\
238238
\hspace{1in}
239239
} &
240240
\incgraphics{SCRIPT_FIGURES/velegg} \\ \hline
241241

242-
{\ct veltube} &
242+
\ct{veltube} &
243243
\parbox[c]{\boxwidth}{
244244
\hspace{1in} \\
245-
{\ct SMOKEVIEW\_PARAMETERS(1:9)=}\\
246-
{\ct 'R=0', 'G=0', 'B=0'} \\
247-
{\ct 'U-VEL=1.', 'V-VEL=1.', 'W-VEL=1.' } \\
248-
{\ct 'VELMIN=0.01', 'VELMAX=0.2', 'D=0.1'} \\ \\
249-
{\ct R, G, B} - color components (0 to 255) \\
250-
{\ct U-VEL, V-VEL, W-VEL} - velocity components (m/s) \\
251-
{\ct VELMIN, VELMAX} - minimum and maximum velocity \\
252-
{\ct D} - diameter of tube at {\ct VELMAX} (m) \\
245+
\ct{SMOKEVIEW_PARAMETERS(1:9)=}\\
246+
\ct{'R=0', 'G=0', 'B=0'} \\
247+
\ct{'U-VEL=1.', 'V-VEL=1.', 'W-VEL=1.' } \\
248+
\ct{'VELMIN=0.01', 'VELMAX=0.2', 'D=0.1'} \\ \\
249+
\ct{R, G, B} - color components (0 to 255) \\
250+
\ct{U-VEL, V-VEL, W-VEL} - velocity components (m/s) \\
251+
\ct{VELMIN, VELMAX} - minimum and maximum velocity \\
252+
\ct{D} - diameter of tube at \ct{VELMAX} (m) \\
253253
\hspace{1in}
254254
} &
255255
\incgraphics{SCRIPT_FIGURES/veltube} \\ \hline

0 commit comments

Comments
 (0)