| 1 |
% aam.mp MetaPost for AAM figures |
| 2 |
% Copyright 2000, 2004 Peter R Wilson |
| 3 |
% All rights reserved |
| 4 |
input expressg |
| 5 |
|
| 6 |
verbatimtex |
| 7 |
\def\twolines#1#2{\vbox{\hbox{#1} \hbox{#2}}} |
| 8 |
\def\threelines#1#2#3{\vbox{\hbox{#1} \hbox{#2} \hbox{#3}}} |
| 9 |
\def\fourlines#1#2#3#4{\vbox{\hbox{#1} \hbox{#2} \hbox{#3} \hbox{#4}}} |
| 10 |
etex |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
beginfig(5) % FILES |
| 15 |
|
| 16 |
numeric lb[]; numeric hb[]; % box dimens |
| 17 |
lb1 := namespace(btex Root etex)(nextra); % leaf nodes |
| 18 |
lb4 := namespace(btex Root etex)(nextra); % root |
| 19 |
hb1 := onelineh; |
| 20 |
|
| 21 |
numeric upshift, sideshift; |
| 22 |
upshift := 10u; |
| 23 |
sideshift := 5u; |
| 24 |
|
| 25 |
numeric cx[]; |
| 26 |
numeric lyc[]; |
| 27 |
|
| 28 |
cx1 := 0; |
| 29 |
cx2 := cx1 + sideshift; |
| 30 |
cx3 := cx2 + sideshift; |
| 31 |
cx4 := cx2 + sideshift + lb1; |
| 32 |
cx5 := cx4 + sideshift; |
| 33 |
cx6 := cx4 + sideshift + lb1; |
| 34 |
cx7 := cx6 + sideshift + lb1; |
| 35 |
cx8 := cx7 + sideshift + lb1; |
| 36 |
cx9 := cx8 + sideshift + lb1; |
| 37 |
|
| 38 |
lb2 := (cx9-cx1); % FILES 1 length |
| 39 |
|
| 40 |
cx11 := cx9 + sideshift; |
| 41 |
cx12 := cx11 + sideshift; |
| 42 |
cx13 := cx12 + sideshift + lb1; |
| 43 |
cx14 := cx13 + 0.5*(sideshift + lb1); |
| 44 |
cx15 := cx13 + sideshift + lb1; |
| 45 |
cx16 := cx14 + sideshift + lb1; |
| 46 |
cx17 := cx16 + sideshift + lb1; |
| 47 |
cx18 := cx13 + sideshift; |
| 48 |
|
| 49 |
lb3 := (cx17-cx11); % FILES 2 length |
| 50 |
|
| 51 |
lyc1 := 0; |
| 52 |
lyc2 := lyc1 + upshift; |
| 53 |
lyc3 := lyc2 + upshift + hb1; |
| 54 |
lyc4 := lyc3 + upshift + hb1; |
| 55 |
|
| 56 |
hb3 := (lyc4 + upshift + hb1 -lyc1); % FILES 2 height |
| 57 |
|
| 58 |
lyc5 := lyc2 + hb1; |
| 59 |
lyc6 := lyc5 + upshift + hb1; |
| 60 |
lyc7 := lyc6 + upshift + hb1; |
| 61 |
lyc8 := lyc7 + upshift + hb1; |
| 62 |
lyc9 := lyc8 + upshift + hb1; |
| 63 |
|
| 64 |
hb2 := (lyc9 - lyc5); % FILES 1 height |
| 65 |
|
| 66 |
%% left FILE |
| 67 |
z15=(cx1,lyc5); |
| 68 |
drawENT(15, lb2, hb2)(" "); |
| 69 |
label.top(btex FILE 1 etex, z15bm); |
| 70 |
|
| 71 |
%% right file |
| 72 |
z111=(cx11,lyc1); |
| 73 |
drawENT(111, lb3, hb3)(""); |
| 74 |
label.top(btex FILE 2 etex, z111bm); |
| 75 |
|
| 76 |
%% bottom row of left tree |
| 77 |
z26=(cx2,lyc6); drawENT(26, lb1, hb1)(btex N3 etex); |
| 78 |
z46=(cx4,lyc6); drawENT(46, lb1, hb1)(btex N4 etex); |
| 79 |
z66=(cx6,lyc6); drawENT(66, lb1, hb1)(btex N5 etex); |
| 80 |
z76=(cx7,lyc6); drawENT(76, lb1, hb1)(btex N6 etex); |
| 81 |
z86=(cx8,lyc6); drawENT(86, lb1, hb1)(btex L2 etex); |
| 82 |
|
| 83 |
%% middle row of left tree |
| 84 |
z37=(cx3,lyc7); drawENT(37, lb1, hb1)(btex N1 etex); |
| 85 |
z57=(cx5,lyc7); drawENT(57, lb1, hb1)(btex L1 etex); |
| 86 |
z77=(cx7,lyc7); drawENT(77, lb1, hb1)(btex N2 etex); |
| 87 |
|
| 88 |
%% top row of left tree |
| 89 |
z68=(cx6,lyc8); drawENT(68, lb4, hb1)(btex Root etex); |
| 90 |
|
| 91 |
%% bottom row right tree |
| 92 |
z142=(cx14,lyc2); drawENT(142, lb1, hb1)(btex F4 etex); |
| 93 |
z162=(cx16,lyc2); drawENT(162, lb1, hb1)(btex F5 etex); |
| 94 |
|
| 95 |
%% middle row of right tree |
| 96 |
z123=(cx12,lyc3); drawENT(123, lb1, hb1)(btex F1 etex); |
| 97 |
z133=(cx13,lyc3); drawENT(133, lb1, hb1)(btex F2 etex); |
| 98 |
z153=(cx15,lyc3); drawENT(153, lb1, hb1)(btex F3 etex); |
| 99 |
|
| 100 |
%% top row of right tree |
| 101 |
z184=(cx18,lyc4); drawENT(184, lb4, hb1)(btex Root etex); |
| 102 |
|
| 103 |
%%%%%%%%%%%%%%%%%%% lines |
| 104 |
|
| 105 |
%%% thick lines |
| 106 |
|
| 107 |
%% Arrow L1 to N5 (57-66) |
| 108 |
z66A=1/4[z66tl,z66tr]; |
| 109 |
pickup thickpen; |
| 110 |
drawnormalCA(57bm,66A); |
| 111 |
pickup normalpen; |
| 112 |
|
| 113 |
%% Arrow L2 to F4 (86-142) |
| 114 |
pickup thickpen; |
| 115 |
drawnormalCA(86bm,142ml); |
| 116 |
pickup normalpen; |
| 117 |
|
| 118 |
%%% thin lines |
| 119 |
pickup thinpen; |
| 120 |
|
| 121 |
%%% file 1 |
| 122 |
|
| 123 |
%% N1 to N3 & N4 (37, 26, 46) |
| 124 |
x36=x37bm; y36=1/2[y26tm,y37bm]; |
| 125 |
VyV(26tm, 36, 46tm); |
| 126 |
drawnormalfour(26tm, 26tm.vyv, 46tm.vyv, 46tm); |
| 127 |
drawnormal(37bm,36); |
| 128 |
|
| 129 |
%% N2 to N5, N6 & L2 (77, 66, 76, 86) |
| 130 |
x76A=x76tm; y76A=1/2[y76tm,y77bm]; |
| 131 |
VyV(66tm, 76A, 86tm); |
| 132 |
drawnormalfour(66tm, 66tm.vyv, 86tm.vyv, 86tm); |
| 133 |
drawnormal(77bm, 76tm); |
| 134 |
|
| 135 |
%% Root to N1, L1 and N2 (68, 37, 57, 77) |
| 136 |
x68A=x68bm; y68A=1/2[y57tm,y68bm]; |
| 137 |
VyV(37tm, 68A, 77tm); |
| 138 |
drawnormalfour(37tm, 37tm.vyv, 77tm.vyv, 77tm); |
| 139 |
drawnormal(68bm,68A); |
| 140 |
z57A=(x57tm,y68A); |
| 141 |
drawnormal(57A, 57tm); |
| 142 |
|
| 143 |
%%% file 2 |
| 144 |
|
| 145 |
%% F3 to F4 and F5 (153, 142, 162) |
| 146 |
x153A=x153bm; y153A=1/2[y142tm,y153bm]; |
| 147 |
VyV(142tm, 153A, 162tm); |
| 148 |
drawnormalfour(142tm, 142tm.vyv, 162tm.vyv, 162tm); |
| 149 |
drawnormal(153bm, 153A); |
| 150 |
|
| 151 |
%% Root to F1, F2 and F3 (184, 123, 133, 153) |
| 152 |
x184A=x184bm; y184A=1/2[y184bm,y133tm]; |
| 153 |
VyV(123tm, 184A, 153tm); |
| 154 |
drawnormalfour(123tm, 123tm.vyv, 153tm.vyv, 153tm); |
| 155 |
drawnormal(184bm,184A); |
| 156 |
z133A=(x133tm,y184A); |
| 157 |
drawnormal(133tm,133A); |
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
pickup normalpen; |
| 162 |
|
| 163 |
endfig; |
| 164 |
|
| 165 |
%%end |
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
beginfig(3) % DATA FLOW |
| 170 |
|
| 171 |
|
| 172 |
smoothrad := 2u; |
| 173 |
|
| 174 |
numeric lb, hb; % length & height of boxes |
| 175 |
lb := namespace(btex Analysis Process A0 etex)(nextra); |
| 176 |
hb := 5onelineh; |
| 177 |
|
| 178 |
numeric hspace[]; |
| 179 |
hspace1 := namespace(btex Geometry (ISO 10303-203, or other source) etc etex)(ndextra); |
| 180 |
|
| 181 |
numeric upshift; % vertical distance between rows |
| 182 |
upshift = 5u; % 20u |
| 183 |
numeric sideshift; % horizontal distance between boxes |
| 184 |
sideshift = 5u; % 10u; |
| 185 |
|
| 186 |
numeric lb[]; |
| 187 |
|
| 188 |
%lb5 := namespace(btex to Model and etex)(nextra); |
| 189 |
lb5 := namespace(btex Computational etex)(nextra); |
| 190 |
lb1 := lb5; |
| 191 |
lb2 := lb5; |
| 192 |
lb3 := lb5; |
| 193 |
lb4 := lb5; |
| 194 |
lb6 := lb5; |
| 195 |
lb25 := lb5; |
| 196 |
lb41 := lb5; |
| 197 |
lb65 := lb5; |
| 198 |
lb84 := lb1; |
| 199 |
|
| 200 |
numeric hb[]; |
| 201 |
|
| 202 |
hb1 := 4onelineh; |
| 203 |
hb2 := hb1; |
| 204 |
hb3 := hb1; |
| 205 |
hb4 := hb1; |
| 206 |
hb5 := 4onelineh; |
| 207 |
hb6 := hb5; |
| 208 |
hb25 := 4onelineh; |
| 209 |
hb41 := hb25; |
| 210 |
hb65 := hb25; |
| 211 |
hb84 := 3/2hb1; |
| 212 |
|
| 213 |
numeric lyc[]; |
| 214 |
lyc1 := 0; |
| 215 |
lyc2 := lyc1 + hb41; |
| 216 |
lyc3 := lyc2 + upshift + hb6; |
| 217 |
lyc5 := lyc3 + hb5; |
| 218 |
lyc4 := 1/2[lyc3,lyc5]; |
| 219 |
lyc6 := lyc5 + upshift; |
| 220 |
lyc7 := lyc5 + 4upshift + hb25; |
| 221 |
lyc8 := lyc7 + 1/2hb1; |
| 222 |
lyc9 := lyc8 + upshift; |
| 223 |
|
| 224 |
numeric cx[]; |
| 225 |
cx1 := 0; |
| 226 |
cx2 := cx1 + sideshift; |
| 227 |
cx3 := cx2 + sideshift + lb25; |
| 228 |
cx4 := cx3 + sideshift + lb1; |
| 229 |
cx5 := cx4 + sideshift + lb41; |
| 230 |
cx6 := cx5 + sideshift + lb5; |
| 231 |
cx7 := cx6 + sideshift + lb65; |
| 232 |
cx8 := cx7 + lb4; |
| 233 |
cx9 := cx8 + sideshift; |
| 234 |
|
| 235 |
%%% Modified geometry |
| 236 |
z41=(cx4,lyc1); |
| 237 |
drawdrum(41, lb41, hb41)(btex \threelines{Modified}{Geometry}{Data} etex); |
| 238 |
%%dotlabel.llft("41", z41); |
| 239 |
|
| 240 |
%%% Optimize Geometry (A6) |
| 241 |
z52=(cx5,lyc2); |
| 242 |
drawENT(52, lb6, hb6)(btex \threelines{Optimize}{Geometry}{(A6)} etex); |
| 243 |
%%dotlabel.llft("52", z52); |
| 244 |
|
| 245 |
%%% Adaptive Modification (A5) |
| 246 |
z53=(cx5,lyc3); |
| 247 |
drawENT(53, lb5, hb5)(btex \fourlines{Adaptive}{Modification}{to Model and}{Process (A5)} etex); |
| 248 |
%%dotlabel.llft("53", z53); |
| 249 |
|
| 250 |
%%% Initial Geometry |
| 251 |
z25=(cx2,lyc5); |
| 252 |
drawdrum(25, lb25, hb25)(btex \twolines{Geometry}{Data} etex); |
| 253 |
%%dotlabel.llft("25", z25); |
| 254 |
|
| 255 |
%%% Aerodynamic data |
| 256 |
z65=(cx6,lyc5); |
| 257 |
drawdrum(65, lb65, hb65)(btex \twolines{Aerodynamic}{Data} etex); |
| 258 |
%%dotlabel.llft("65", z65); |
| 259 |
|
| 260 |
|
| 261 |
%%% Acquire & Modify Geometery (A1) |
| 262 |
z37=(cx3,lyc7); |
| 263 |
drawENT(37, lb1, hb1)(btex \fourlines{Acquire and}{Modify}{Geometry}{(A1)} etex); |
| 264 |
%%dotlabel.llft("37", z37); |
| 265 |
|
| 266 |
|
| 267 |
%%% Extract Engineering Data (A4) |
| 268 |
z77=(cx7,lyc7); |
| 269 |
drawENT(77, lb4, hb4)(btex \threelines{Extract}{Engineering}{Data (A4)} etex); |
| 270 |
%%dotlabel.llft("77", z77); |
| 271 |
|
| 272 |
%%% Build Computational Model (A2) |
| 273 |
z57=(cx5,lyc7); |
| 274 |
drawENT(57, lb2, hb2)(btex \threelines{Build}{Computational}{Model (A2)} etex); |
| 275 |
%%dotlabel.llft("57", z57); |
| 276 |
|
| 277 |
%%% Compute Flowfield (A3) |
| 278 |
z67=(cx6,lyc7); |
| 279 |
drawENT(67, lb3, hb3)(btex \threelines{Compute}{Flowfield}{(A3)} etex); |
| 280 |
%%dotlabel.llft("67", z67); |
| 281 |
|
| 282 |
%%% End Users |
| 283 |
z84=(cx8,lyc4); |
| 284 |
drawASDT(84, lb84, hb84)(btex \twolines{END}{USERS} etex); |
| 285 |
%%dotlabel.llft("84", z84); |
| 286 |
|
| 287 |
|
| 288 |
%%%%%%%%%%%%%%%%%%%%%%% lines |
| 289 |
|
| 290 |
%%% Geometry INPUT |
| 291 |
z18=(cx1,lyc8); |
| 292 |
VH(25tml,18); |
| 293 |
drawnormal(18, 25tml.vh); |
| 294 |
drawnormalCA(25tml.vh, 25tml); |
| 295 |
smooth(18, 25tml.vh, 25tml); |
| 296 |
label.top(btex Geometry etex, z18); |
| 297 |
|
| 298 |
%%% Geom -> A1 (25-37) |
| 299 |
VH(25tmr, 37ml); |
| 300 |
drawnormal(25tmr, 25tmr.vh); |
| 301 |
drawnormalCA(25tmr.vh, 37ml); |
| 302 |
smooth(25tmr, 25tmr.vh, 37ml); |
| 303 |
|
| 304 |
%%% A1 -> Modified Geom (37-41) |
| 305 |
VH(41tml, 37mr); |
| 306 |
drawnormalthreeCA(37mr, 41tml.vh, 41tml); |
| 307 |
smooth(37mr, 41tml.vh, 41tml); |
| 308 |
|
| 309 |
%%% Modified Geom -> A2 (41-57) |
| 310 |
VH(41tm, 57ml); |
| 311 |
drawnormalthreeCA(41tm, 41tm.vh, 57ml); |
| 312 |
smooth(41tm, 41tm.vh, 57ml); |
| 313 |
|
| 314 |
%%% Adaptive A5 -> Mod Geom (53-41) & A6 -> Mod Geom (52-41) |
| 315 |
VH(41tmr, 53ml); |
| 316 |
drawnormalthreeCA(53ml, 41tmr.vh, 41tmr); |
| 317 |
z42=(x41tmr, y52ml); |
| 318 |
drawnormal(52ml,42); |
| 319 |
smooth(53ml, 41tmr.vh, 41tmr); |
| 320 |
smooth(52ml, 42, 41tmr); |
| 321 |
|
| 322 |
%% Aero Data -> Adapt mod (A5) & Opt Geom (A6) (65-53,52) |
| 323 |
VH(65bm, 52mr); |
| 324 |
drawnormalthreeCA(65bm, 65bm.vh, 52mr); |
| 325 |
z63=(x65bm, y53mr); |
| 326 |
drawnormalCA(63, 53mr); |
| 327 |
smooth(65bm, 65bm.vh, 52mr); |
| 328 |
smooth(65bm, 63, 53mr); |
| 329 |
|
| 330 |
%% Mod Geom -> USERS (41-84) |
| 331 |
z84A=1/4[z84bl,z84tl]; |
| 332 |
%%HvH(41mr, 84A); |
| 333 |
HxH(41mr, 77bm, 84A) |
| 334 |
drawnormalfourCA(41mr, 41mr.hxh, 84A.hxh, 84A); |
| 335 |
smoothtwo(41mr, 41mr.hxh, 84A.hxh, 84A); |
| 336 |
|
| 337 |
%% Aero -> Model (65-57) |
| 338 |
VhV(65tml, 57bm); |
| 339 |
drawnormalthreeCA(65tml.vhv, 57bm.vhv, 57bm); |
| 340 |
drawnormalCA(65tml.vhv, 65tml); |
| 341 |
smoothtwo(65tml, 65tml.vhv, 57bm.vhv, 57bm); |
| 342 |
|
| 343 |
%% Aero -> Flowfield (65-67) |
| 344 |
drawnormalCA(65tm,67bm); |
| 345 |
drawnormalCA(67bm,65tm); |
| 346 |
|
| 347 |
%% Aero -> Data (65-77) |
| 348 |
VhV(65tmr, 77bm); |
| 349 |
drawnormalthreeCA(65tmr.vhv, 77bm.vhv, 77bm); |
| 350 |
drawnormalCA(65tmr.vhv, 65tmr); |
| 351 |
smoothtwo(65tmr, 65tmr.vhv, 77bm.vhv, 77bm); |
| 352 |
|
| 353 |
%% Aero -> USERS (65-84) |
| 354 |
z84B=(x84bl, y65mr); |
| 355 |
drawnormalCA(65mr, 84B); |
| 356 |
|
| 357 |
%% Data -> USERS (77-84) |
| 358 |
VH(84tm,77mr); |
| 359 |
drawnormalthreeCA(77mr, 84tm.vh, 84tm); |
| 360 |
smooth(77mr, 84tm.vh, 84tm); |
| 361 |
|
| 362 |
|
| 363 |
%%%%%%%%% test smoothed dashed/dotted line |
| 364 |
VH(25bm,41ml); |
| 365 |
%%drawdashthree(25bm, 25bm.vh, 41ml); |
| 366 |
%%smoothdash(25bm, 25bm.vh, 41ml); |
| 367 |
drawdotsthree(25bm, 25bm.vh, 41ml); |
| 368 |
smoothdots(25bm, 25bm.vh, 41ml); |
| 369 |
|
| 370 |
endfig; % end fig 3 |
| 371 |
|
| 372 |
%%%%%%%%%%%%%%%%%%%%%%% |
| 373 |
%%end |
| 374 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 375 |
|
| 376 |
beginfig(1) % IDEF A0 model |
| 377 |
|
| 378 |
%%%%drawgrid; |
| 379 |
|
| 380 |
smoothrad := 2u; |
| 381 |
|
| 382 |
numeric lb, hb; % length & height of boxes |
| 383 |
lb := namespace(btex Analysis Process A0 etex)(nextra); |
| 384 |
hb := 5onelineh; |
| 385 |
|
| 386 |
numeric hspace[]; |
| 387 |
hspace1 := namespace(btex Geometry (ISO 10303-203, or other source) etc etex)(ndextra); |
| 388 |
|
| 389 |
numeric upshift; % vertical distance between rows |
| 390 |
upshift = 20u; |
| 391 |
numeric sideshift; % horizontal distance between boxes |
| 392 |
sideshift = 10u; |
| 393 |
|
| 394 |
numeric lyc[]; |
| 395 |
lyc1 := 0; |
| 396 |
lyc2 := lyc1;% +upshift; |
| 397 |
lyc3 := lyc2+upshift; |
| 398 |
lyc4 := lyc3+upshift+hb; |
| 399 |
lyc5 := lyc4;% +upshift; |
| 400 |
|
| 401 |
%%%%%%%%%%%%%%%%%%%% A0 box |
| 402 |
z33=(hspace1,lyc3); |
| 403 |
drawENT(33, lb, hb)(btex \threelines{Computational}{Fluid Dynamics}{Analysis Process} etex); |
| 404 |
label.ulft(btex A0 etex, z33br); |
| 405 |
|
| 406 |
%%%%%%%%%%%%%%%%%%%%%%%%% Inputs |
| 407 |
z33A=1/8[z33bl,z33tl]; |
| 408 |
z33B=z33ml; |
| 409 |
z33C=7/8[z33bl,z33tl]; |
| 410 |
z13=(0,y33A); z14=(0,y33B); z15=(0,y33C); |
| 411 |
drawnormalCA(13,33A); |
| 412 |
label.urt(btex Analysis Objectives etex, z13); |
| 413 |
drawnormalCA(14,33B); |
| 414 |
label.urt(btex Definition of Expected Flow Physics etex, z14); |
| 415 |
drawnormalCA(15,33C); |
| 416 |
label.urt(btex Geometry (ISO 10303-203, or other source) etex, z15); |
| 417 |
|
| 418 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Outputs |
| 419 |
z33D=1/8[z33br,z33tr]; |
| 420 |
z33E=z33mr; |
| 421 |
z33F=7/8[z33br,z33tr]; |
| 422 |
|
| 423 |
hspace2 := x33br+namespace(btex Flowfield Data etex)(ndextra); |
| 424 |
z63=(hspace2,y33D); z64=(hspace2,y33E); z65=(hspace2,y33F); |
| 425 |
drawnormalCA(33D,63); |
| 426 |
label.rt(btex Flowfield Data etex, z63); |
| 427 |
drawnormalCA(33E,64); |
| 428 |
label.rt(btex Optimized Geometry etex, z64); |
| 429 |
drawnormalCA(33F,65); |
| 430 |
label.rt(btex \twolines{Information to Analysis}{Customer} etex, z65); |
| 431 |
|
| 432 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Resources |
| 433 |
hspace3 := namespace(btex Organizational etex)(ndextra); |
| 434 |
z33G=1/5[z33bl,z33br]; |
| 435 |
z33H=2/5[z33bl,z33br]; |
| 436 |
z33I=3/5[z33bl,z33br]; |
| 437 |
z33J=4/5[z33bl,z33br]; |
| 438 |
hspace4 :=1/5lb; |
| 439 |
|
| 440 |
x41=x33bm + 1/2hspace4 + 1/2hspace3; |
| 441 |
x51=x41+hspace3+hspace4; |
| 442 |
x31=x41-hspace3-hspace4; |
| 443 |
x21=x31-hspace3-hspace4; |
| 444 |
y21=y31=y41=-y51=lyc1; |
| 445 |
label.bot(btex \twolines{Trained}{Staff} etex, z21); |
| 446 |
label.bot(btex \twolines{Computing}{Practices} etex, z31); |
| 447 |
label.bot(btex \twolines{Organizational}{Best Practices} etex, z41); |
| 448 |
label.bot(btex \twolines{Support}{Infrastructure} etex, z51); |
| 449 |
|
| 450 |
y1=1/3[lyc1,lyc3]; y2=2/3[lyc1,lyc3]; |
| 451 |
|
| 452 |
VyV(21,2,33G); |
| 453 |
drawnormalthree(21, 21vyv, 33G.vyv); |
| 454 |
drawnormalCA(33G.vyv, 33G); |
| 455 |
smooth(21, 21vyv, 33G.vyv); %smooth(21vyv, 33G.vyv, 33G); |
| 456 |
smooth(33G, 33G.vyv, 21vyv); |
| 457 |
VyV(31,1,33H); |
| 458 |
drawnormalthree(31, 31vyv, 33H.vyv); |
| 459 |
drawnormalCA(33H.vyv, 33H); |
| 460 |
smoothtwo(31, 31vyv, 33H.vyv, 33H); |
| 461 |
VyV(41,1,33I); |
| 462 |
drawnormalthree(41, 41vyv, 33I.vyv); |
| 463 |
drawnormalCA(33I.vyv, 33I); |
| 464 |
smoothtwo(41, 41vyv, 33I.vyv, 33I); |
| 465 |
VyV(51,2,33J); |
| 466 |
drawnormalthree(51, 51vyv, 33J.vyv); |
| 467 |
drawnormalCA(33J.vyv, 33J); |
| 468 |
smooth(51, 51vyv, 33J.vyv); smooth(51vyv, 33J.vyv, 33J); |
| 469 |
|
| 470 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Controls |
| 471 |
z33M=1/4[z33tl,z33tr]; |
| 472 |
z33N=3/4[z33tl,z33tr]; |
| 473 |
|
| 474 |
z35=(x31,lyc5); z45=(x41,lyc5); |
| 475 |
label.top(btex \threelines{Mathematical}{Model of Fluid}{Dynamics} etex, z35); |
| 476 |
label.top(btex \twolines{Computing}{Implementation} etex, z45); |
| 477 |
VhV(33M,35); |
| 478 |
drawnormalthree(35, 35vhv, 33M.vhv); |
| 479 |
drawnormalCA(33M.vhv, 33M); |
| 480 |
smoothtwo(35, 35vhv, 33M.vhv, 33M); |
| 481 |
VhV(33N,45); |
| 482 |
drawnormalthree(45, 45vhv, 33N.vhv); |
| 483 |
drawnormalCA(33N.vhv, 33N); |
| 484 |
smoothtwo(45, 45vhv, 33N.vhv, 33N); |
| 485 |
|
| 486 |
endfig; % end fig 1 |
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
beginfig(2) % IDEF A1+ model |
| 491 |
|
| 492 |
%%%%drawgrid; |
| 493 |
|
| 494 |
numeric lb[]; |
| 495 |
numeric hb; % length & height of boxes |
| 496 |
lb1 := namespace(btex Acquire and etex)(nextra); |
| 497 |
lb2 := namespace(btex Computational etex)(nextra); |
| 498 |
lb3 := namespace(btex Flow Field etex)(nextra); |
| 499 |
lb4 := namespace(btex Engineering etex)(nextra); |
| 500 |
lb5 := namespace(btex Modification to etex)(nextra); |
| 501 |
lb6 := lb5; |
| 502 |
hb := 4onelineh; |
| 503 |
|
| 504 |
numeric hspace[]; |
| 505 |
hspace1 := namespace(btex Geometry (ISO 10303-203, or other source) etc etex)(ndextra); |
| 506 |
|
| 507 |
numeric upshift; % vertical distance between rows |
| 508 |
upshift = 12u; |
| 509 |
numeric sideshift; % horizontal distance between boxes |
| 510 |
sideshift = 10u; |
| 511 |
|
| 512 |
numeric lyc[]; |
| 513 |
lyc1 := 0; |
| 514 |
lyc2 := lyc1+1/2upshift; |
| 515 |
lyc3 := lyc2+upshift; |
| 516 |
lyc4 := lyc3+1/2upshift+hb; |
| 517 |
lyc5 := lyc4+1/2upshift+hb; |
| 518 |
lyc6 := lyc5+1/2upshift+hb; |
| 519 |
lyc7 := lyc6 + 1/2upshift + hb; |
| 520 |
lyc8 := lyc7 + 1/2upshift; |
| 521 |
lyc9 := lyc8 + 1/2upshift; |
| 522 |
lyc10 := lyc9+upshift; |
| 523 |
lyc11 := lyc10+upshift; |
| 524 |
|
| 525 |
numeric cx[]; |
| 526 |
cx1 := 0; |
| 527 |
cx2 := cx1+sideshift; |
| 528 |
cx3 := cx2+sideshift; |
| 529 |
%%cx4 := cx3+sideshift; |
| 530 |
cx5 := cx3 + 5/4sideshift + lb1; |
| 531 |
%%cx6 := cx5+sideshift; |
| 532 |
cx7 := cx5+sideshift+lb2; |
| 533 |
%%cx8 := cx7+sideshift; |
| 534 |
cx9 := cx7 + 3/4sideshift + lb3; |
| 535 |
%%cx10 := cx9+sideshift; |
| 536 |
cx11 := cx9 + 3/4sideshift + lb4; |
| 537 |
cx12 := cx11+sideshift; |
| 538 |
|
| 539 |
%%%%%%%%%%%%%%%%%%%% A1 box |
| 540 |
z36=(cx3,lyc6); |
| 541 |
drawENT(36, lb1, hb)(btex \threelines{Acquire and}{Modify}{Geometry} etex); |
| 542 |
label.ulft(btex A1 etex, z36br); |
| 543 |
%%dotlabel.urt("z36", z36); |
| 544 |
|
| 545 |
%%%%%%%%%%%%%%%%%%%% A2 box |
| 546 |
z55=(cx5,lyc5); |
| 547 |
drawENT(55, lb2, hb)(btex \threelines{Build}{Computational}{Model (Grid)} etex); |
| 548 |
label.ulft(btex A2 etex, z55br); |
| 549 |
%%dotlabel.urt("z55", z55); |
| 550 |
|
| 551 |
%%%%%%%%%%%%%%%%%%%% A3 box |
| 552 |
z74=(cx7,lyc4); |
| 553 |
drawENT(74, lb3, hb)(btex \twolines{Compute}{Flowfield} etex); |
| 554 |
label.ulft(btex A3 etex, z74br); |
| 555 |
%%dotlabel.urt("z74", z74); |
| 556 |
|
| 557 |
%%%%%%%%%%%%%%%%%%%% A4 box |
| 558 |
z93=(cx9,lyc3); |
| 559 |
drawENT(93, lb4, hb)(btex \threelines{Extract}{Engineering}{Data} etex); |
| 560 |
label.ulft(btex A4 etex, z93br); |
| 561 |
%%dotlabel.urt("z93", z93); |
| 562 |
|
| 563 |
%%%%%%%%%%%%%%%%%%%% A5 box |
| 564 |
z116=(cx11,lyc6); |
| 565 |
drawENT(116, lb5, hb)(btex \fourlines{Adaptive}{Modification to}{Model and}{Process} etex); |
| 566 |
label.ulft(btex A5 etex, z116br); |
| 567 |
%%dotlabel.urt("z116", z116); |
| 568 |
|
| 569 |
%%%%%%%%%%%%%%%%%%%% A6 box |
| 570 |
z114=(cx11+1/2sideshift,lyc4); |
| 571 |
drawENT(114, lb6, hb)(btex \twolines{Optimize}{Geometry} etex); |
| 572 |
label.ulft(btex A6 etex, z114br); |
| 573 |
%%dotlabel.urt("z114", z114); |
| 574 |
|
| 575 |
%%%%%%%%%% Computing Implementation CONTROL |
| 576 |
|
| 577 |
z36A=z36tm; z55A=z55tm; z74A=1/4[z74tl,z74tr]; z93A=z93tm; z116A=z116tm; |
| 578 |
x114A=1/2[x116br,x114br]; y114A=y114tr; |
| 579 |
|
| 580 |
x38=x36A; x58=x55A; x78=x74A; x98=x93A; x1168=x116A; x1148=x114A; |
| 581 |
y38=y58=y78=y98=y1168=y1148=lyc8; |
| 582 |
|
| 583 |
drawnormal(38,1148); |
| 584 |
drawnormalCA(38,36A); |
| 585 |
drawnormalCA(58,55A); |
| 586 |
drawnormalCA(78,74A); |
| 587 |
drawnormalCA(98,93A); |
| 588 |
drawnormalCA(1168,116A); |
| 589 |
drawnormalCA(1148,114A); |
| 590 |
%%dotlabel.lft("z38", z38); |
| 591 |
%%dotlabel.rt("z1148", z1148); |
| 592 |
smooth(36A, 38, 58); |
| 593 |
smooth(55A, 58, 78); |
| 594 |
smooth(58, 78, 74A); |
| 595 |
smooth(78, 98, 93A); |
| 596 |
smooth(98, 1168, 116A); |
| 597 |
smooth(1168, 1148, 114A); |
| 598 |
|
| 599 |
z55B=3/4[z55tl,z55tr]; |
| 600 |
z59=(x55B,lyc9); z58B=(x55B,lyc8); |
| 601 |
drawnormal(59,58B); |
| 602 |
label.top(btex \twolines{Computing}{Implementation} etex, z59); |
| 603 |
smooth(59, 58B, 58); |
| 604 |
smooth(59, 58B, 78); |
| 605 |
|
| 606 |
drawnormal(1168,58); |
| 607 |
|
| 608 |
%%%%%%%%%%%%%%%%% Math Model CONTROL |
| 609 |
|
| 610 |
z74B=3/4[z74tl,z74tr]; |
| 611 |
z79=(x74B,lyc9); |
| 612 |
|
| 613 |
drawnormalCA(79,74B); |
| 614 |
label.top(btex \twolines{Mathematical Model}{of Fluid Dynamics} etex, z79); |
| 615 |
|
| 616 |
|
| 617 |
%%%%%%%%%%%%%%%%%%%% Support Infrastructure RESOURCE |
| 618 |
|
| 619 |
z93F=4/5[z93bl,z93br]; |
| 620 |
z74F=4/5[z74bl,z74br]; |
| 621 |
z55F=4/5[z55bl,z55br]; |
| 622 |
z36F=4/5[z36bl,z36br]; |
| 623 |
x92F=x93F; x72F=x74F; x52F=x55F; x32F=x36F; |
| 624 |
y92F=y72F=y52F=y32F=lyc2; |
| 625 |
|
| 626 |
drawnormal(32F,92F); |
| 627 |
|
| 628 |
x82F=1/2[x74br,x93bl]; |
| 629 |
y82F=y92F; |
| 630 |
z81F=(x82F,lyc1); |
| 631 |
drawnormal(81F,82F); |
| 632 |
label.bot(btex \twolines{Support}{Infrastructure} etex, z81F); |
| 633 |
|
| 634 |
drawnormalCA(92F,93F); |
| 635 |
drawnormalCA(72F,74F); |
| 636 |
drawnormalCA(52F,55F); |
| 637 |
drawnormalCA(32F,36F); |
| 638 |
smooth(93F, 92F, 72F); |
| 639 |
smooth(92F, 72F, 74F); |
| 640 |
smooth(72F, 52F, 55F); |
| 641 |
smooth(52F, 32F, 36F); |
| 642 |
|
| 643 |
smooth(81F, 82F, 92F); |
| 644 |
smooth(81F, 82F, 72F); |
| 645 |
|
| 646 |
drawnormal(52F,72F); |
| 647 |
|
| 648 |
%%%%%%%%%%%%%%%%%%%%%%% Practices RESOURCE |
| 649 |
|
| 650 |
z93E=3/5[z93bl,z93br]; |
| 651 |
z74E=3/5[z74bl,z74br]; |
| 652 |
z55E=3/5[z55bl,z55br]; |
| 653 |
z36E=3/5[z36bl,z36br]; |
| 654 |
x92E=x93E; x72E=x74E; x52E=x55E; x32E=x36E; |
| 655 |
y92E=y72E=y52E=y32E=1/4[lyc2,lyc3]; |
| 656 |
|
| 657 |
drawnormal(32E,92E); |
| 658 |
|
| 659 |
x62E=1/2[x55br,x74bl]; |
| 660 |
y62E=y92E; |
| 661 |
z61E=(x62E,lyc1); |
| 662 |
drawnormal(61E,62E); |
| 663 |
label.bot(btex \twolines{Organizational}{Best Practices} etex, z61E); |
| 664 |
|
| 665 |
drawnormalCA(92E,93E); |
| 666 |
drawnormalCA(72E,74E); |
| 667 |
drawnormalCA(52E,55E); |
| 668 |
drawnormalCA(32E,36E); |
| 669 |
smoothtwo(61E, 62E, 92E, 93E); |
| 670 |
smoothtwo(61E, 62E, 32E, 36E); |
| 671 |
smooth(62E, 72E, 74E); |
| 672 |
smooth(62E, 52E, 55E); |
| 673 |
|
| 674 |
%%%%%%%%%%%%%%%%%%%%%%% Computing Assets RESOURCE |
| 675 |
|
| 676 |
z93D=2/5[z93bl,z93br]; |
| 677 |
z74D=2/5[z74bl,z74br]; |
| 678 |
z55D=2/5[z55bl,z55br]; |
| 679 |
z36D=2/5[z36bl,z36br]; |
| 680 |
x92D=x93D; x72D=x74D; x52D=x55D; x32D=x36D; |
| 681 |
y92D=y72D=y52D=y32D=2/4[lyc2,lyc3]; |
| 682 |
|
| 683 |
drawnormal(32D,92D); |
| 684 |
|
| 685 |
x42D=1/2[x36br,x55bl]; |
| 686 |
y42D=y92D; |
| 687 |
z41D=(x42D,lyc1); |
| 688 |
drawnormal(41D,42D); |
| 689 |
label.bot(btex \twolines{Computing}{Assets} etex, z41D); |
| 690 |
|
| 691 |
drawnormalCA(92D,93D); |
| 692 |
drawnormalCA(72D,74D); |
| 693 |
drawnormalCA(52D,55D); |
| 694 |
drawnormalCA(32D,36D); |
| 695 |
|
| 696 |
smoothtwo(41D, 42D, 92D, 93D); |
| 697 |
smoothtwo(41D, 42D, 32D, 36D); |
| 698 |
smooth(42D, 72D, 74D); |
| 699 |
smooth(42D, 52D, 55D); |
| 700 |
|
| 701 |
|
| 702 |
%%%%%%%%%%%%%%%%%%%%%%% Staff RESOURCE |
| 703 |
|
| 704 |
z93C=1/5[z93bl,z93br]; |
| 705 |
z74C=1/5[z74bl,z74br]; |
| 706 |
z55C=1/5[z55bl,z55br]; |
| 707 |
z36C=1/5[z36bl,z36br]; |
| 708 |
x92C=x93C; x72C=x74C; x52C=x55C; x32C=x36C; |
| 709 |
y92C=y72C=y52C=y32C=3/4[lyc2,lyc3]; |
| 710 |
|
| 711 |
drawnormal(32C,92C); |
| 712 |
|
| 713 |
x42C=1/2[x36br,x55bl]; |
| 714 |
y42C=y92C; |
| 715 |
z41C=(x62C,lyc1); |
| 716 |
z31C=(x36C,lyc1); |
| 717 |
drawnormal(31C,32C); |
| 718 |
label.bot(btex \twolines{Trained}{Staff} etex, z31C); |
| 719 |
|
| 720 |
drawnormalCA(92C,93C); |
| 721 |
drawnormalCA(72C,74C); |
| 722 |
drawnormalCA(52C,55C); |
| 723 |
drawnormalCA(32C,36C); |
| 724 |
|
| 725 |
smooth(93C, 92C, 72C); |
| 726 |
smooth(74C, 72C, 52C); |
| 727 |
smooth(55C, 52C, 32C); |
| 728 |
smooth(31C, 32C, 52C); |
| 729 |
|
| 730 |
drawnormal(72C,32C); |
| 731 |
drawnormal(31C,32C); |
| 732 |
|
| 733 |
%%%%%%%%%%%%%%%%% Geometry INPUT |
| 734 |
|
| 735 |
x36G=x36; y36G=2/3[y36bl, y36tl]; |
| 736 |
z16G=(cx1, y36G); |
| 737 |
drawnormalCA(16G, 36G); |
| 738 |
label.ulft(btex Geometry etex, z36G); |
| 739 |
|
| 740 |
%%%%%%%%%%%%%%%%%% Optimized Geometry OUTPUT |
| 741 |
|
| 742 |
x114P=x114br; y114P=1/3[y114br,y114tr]; |
| 743 |
z124P=(x114P+sideshift, y114P); |
| 744 |
drawnormalCA(114P,124P); |
| 745 |
label.lrt(btex \twolines{Optimized}{Geometry} etex, z114P); |
| 746 |
|
| 747 |
%%%%%%%%%%%%%%%%%%%% A6 -> A2 |
| 748 |
|
| 749 |
x114L=x114br; y114L=2/3[y114br,y114tr]; |
| 750 |
z124L=(x114L+sideshift, y114L); |
| 751 |
drawnormal(114L,124L); |
| 752 |
|
| 753 |
x55H=x55bl; y55H=4/6[y55bl,y55tl]; |
| 754 |
x45H=2/4[x36br,x55H]; y45H=y55H; |
| 755 |
drawnormalCA(45H,55H); |
| 756 |
|
| 757 |
y97A=2/3[y116tl,lyc8]; |
| 758 |
VyV(45H, 97A, 124L); |
| 759 |
drawnormalfour(45H, 45H.vyv, 124L.vyv, 124L); |
| 760 |
smoothtwo(114L, 124L, 124L.vyv, 45H.vyv); |
| 761 |
smoothtwo(124L.vyv, 45H.vyv, 45H, 55H); |
| 762 |
|
| 763 |
%%%%%%%%%%%%%%%%%%%%%%%% A1 -> A2 |
| 764 |
|
| 765 |
x36M=x36br; y36M=y36mr; |
| 766 |
x55I=x55bl; y55I=3/6[y55bl,y55tl]; |
| 767 |
x45I=1/4[x36M,x55I]; |
| 768 |
HxH(36M, 45I, 55I); |
| 769 |
drawnormalthree(36M, 36M.hxh, 55I.hxh); |
| 770 |
drawnormalCA(55I.hxh, 55I); |
| 771 |
smoothtwo(36M, 36M.hxh, 55I.hxh, 55I); |
| 772 |
|
| 773 |
%%%%%%%%%%%%%%%%%%%%%%% A2 -> A3 |
| 774 |
|
| 775 |
x55M=x55br; y55M=y55mr; |
| 776 |
x74H=x74bl; y74H=3/5[y74bl,y74tl]; |
| 777 |
x64H=1/3[x55M,x74H]; |
| 778 |
HxH(55M, 64H, 74H); |
| 779 |
drawnormalthree(55M, 55M.hxh, 74H.hxh); |
| 780 |
drawnormalCA(74H.hxh, 74H); |
| 781 |
smoothtwo(55M, 55M.hxh, 74H.hxh, 74H); |
| 782 |
|
| 783 |
|
| 784 |
%%%%%%%%%%%%%%%%%%%%%% A3 -> A4 |
| 785 |
|
| 786 |
x74N=x74br; y74N=1/3[y74br,y74tr]; |
| 787 |
x93G=x93bl; y93G=3/4[y93bl,y93tl]; |
| 788 |
x83G=1/2[x74N,x93G]; |
| 789 |
HxH(74N, 83G, 93G); |
| 790 |
drawnormalthree(74N, 74N.hxh, 93G.hxh); |
| 791 |
drawnormalCA(93G.hxh,93G); |
| 792 |
smoothtwo(74N, 74N.hxh, 93G.hxh, 93G); |
| 793 |
|
| 794 |
%%%%%%%%%%%%%%%%%%%%%% A4 -> A5 |
| 795 |
|
| 796 |
x93L=x93br; y93L=4/5[y93br,y93tr]; |
| 797 |
x116H=x116bl; y116H=1/3[y116bl,y116tl]; |
| 798 |
x106H=1/3[x93L,x116H]; |
| 799 |
HxH(93L, 106H, 116H); |
| 800 |
drawnormalthree(93L, 93L.hxh, 116H.hxh); |
| 801 |
drawnormalCA(116H.hxh, 116H); |
| 802 |
smoothtwo(93L, 93L.hxh, 116H.hxh, 116H); |
| 803 |
|
| 804 |
%%%%%%%%%%%%%%%%%%%%%%% A4 -> A6 |
| 805 |
|
| 806 |
x93M=x93br; y93M=3/5[y93br,y93tr]; |
| 807 |
x114H=x114bl; y114H=1/2[y114bl,y114tl]; |
| 808 |
x104H=1/2[x93M,x114H]; |
| 809 |
HxH(93M, 104H, 114H); |
| 810 |
drawnormalthree(93M, 93M.hxh, 114H.hxh); |
| 811 |
drawnormalCA(114H.hxh, 114H); |
| 812 |
smoothtwo(93M, 93M.hxh, 114H.hxh, 114H); |
| 813 |
|
| 814 |
%%%%%%%%%%%%%%%%%%%%%% A3 -> A5 |
| 815 |
|
| 816 |
x74M=x74br; y74M=2/3[y74br,y74tr]; |
| 817 |
x116J=x116bl; y116J=2/3[y116bl,y116tl]; |
| 818 |
x106J=2/3[x74N,x116J]; |
| 819 |
HxH(74M, 106J, 116J); |
| 820 |
drawnormalthree(74M, 74M.hxh, 116J.hxh); |
| 821 |
drawnormalCA(116J.hxh,116J); |
| 822 |
smoothtwo(74M, 74M.hxh, 116J.hxh, 116J); |
| 823 |
|
| 824 |
%%%%%%%%%%%%%%%%%%%% A5 -> A2 |
| 825 |
|
| 826 |
x116N=x116br; y116N=1/3[y116br,y116tr]; |
| 827 |
x126N=2/3[x114L,x124L]; y126N=y116N; |
| 828 |
drawnormal(116N,126N); |
| 829 |
|
| 830 |
x55G=x55bl; y55G=5/6[y55bl,y55tl]; |
| 831 |
x45G=3/4[x36br,x55G]; y45G=y55G; |
| 832 |
drawnormalCA(45G,55G); |
| 833 |
|
| 834 |
y97B=2/3[y116tl,y97A]; |
| 835 |
VyV(45G, 97B, 126N); |
| 836 |
drawnormalfour(45G, 45G.vyv, 126N.vyv, 126N); |
| 837 |
smoothtwo(116N, 126N, 126N.vyv, 45G.vyv); |
| 838 |
smoothtwo(126N.vyv, 45G.vyv, 45G, 55G); |
| 839 |
|
| 840 |
%%%%%%%%%%%%%%%%%%%% A5 -> A3 |
| 841 |
|
| 842 |
x116M=x116br; y116M=2/3[y116br,y116tr]; |
| 843 |
x126M=1/3[x114L,x124L]; y126M=y116M; |
| 844 |
drawnormal(116M,126M); |
| 845 |
|
| 846 |
x74G=x74bl; y74G=4/5[y74bl,y74tl]; |
| 847 |
x64G=2/3[x55br,x74G]; y64G=y74G; |
| 848 |
drawnormalCA(64G,74G); |
| 849 |
|
| 850 |
y97C=1/3[y116tl,y97A]; |
| 851 |
VyV(64G, 97C, 126M); |
| 852 |
drawnormalfour(64G, 64G.vyv, 126M.vyv, 126M); |
| 853 |
smoothtwo(116M, 126M, 126M.vyv, 64G.vyv); |
| 854 |
smoothtwo(126M.vyv, 64G.vyv, 64G, 74G); |
| 855 |
|
| 856 |
|
| 857 |
%%%%%%%%%%%%%%%%%%%%%% Analysis Objectives INPUT |
| 858 |
|
| 859 |
x36J=x36bl; y36J=1/3[y36bl, y36tl]; |
| 860 |
x93I=x93bl; y93I=2/4[y93bl, y93tl]; |
| 861 |
x25=cx2; y25=1/2[y55,y36]; |
| 862 |
z15=(cx1,y25); |
| 863 |
label.ulft(btex \twolines{Analysis}{Objectives} etex, z25); |
| 864 |
HxH(36J, 25, 93I); |
| 865 |
drawnormalCA(36J.hxh, 36J); % to A1 |
| 866 |
drawnormalCA(93I.hxh, 93I); % to A4 |
| 867 |
drawnormal(15,25); |
| 868 |
drawnormal(36J.hxh,93I.hxh); |
| 869 |
smoothtwo(15, 25, 36J.hxh, 36J); |
| 870 |
smoothtwo(15, 25, 93I.hxh, 93I); |
| 871 |
|
| 872 |
x55J=x55bl; y55J=2/6[y55bl,y55tl]; % to A2 |
| 873 |
z25J=(x25,y55J); |
| 874 |
drawnormalCA(25J,55J); |
| 875 |
smooth(25, 25J, 55J); |
| 876 |
|
| 877 |
x74J=x74bl; y74J=2/5[y74bl,y74tl]; % to A3 |
| 878 |
z24J=(x25,y74J); |
| 879 |
drawnormalCA(24J,74J); |
| 880 |
smooth(25, 24J, 74J); |
| 881 |
|
| 882 |
%%%%%%%%%%%%%%%%%%%%%% Flow Physics INPUT |
| 883 |
|
| 884 |
|
| 885 |
x55K=x55bl; y55K=1/6[y55bl,y55tl]; % to A2 |
| 886 |
x93J=x93bl; y93J=1/4[y93bl, y93tl]; % to A4 |
| 887 |
x25B=1/3[cx2,cx3]; y25B=1/2[y93,y74]; |
| 888 |
z15B=(cx1,y25B); |
| 889 |
z25C=(x25,y25B); |
| 890 |
label.ulft(btex \threelines{Definition of}{Expected Flow}{Physics} etex, z25C); |
| 891 |
HxH(55K, 25B, 93J); |
| 892 |
drawnormalCA(55K.hxh, 55K); % to A2 |
| 893 |
drawnormalCA(93J.hxh, 93J); % to A4 |
| 894 |
drawnormal(15B,25B); |
| 895 |
drawnormal(55K.hxh, 93J.hxh); |
| 896 |
smoothtwo(15B, 25B, 55K.hxh, 55K); |
| 897 |
smoothtwo(15B, 25B, 93J.hxh, 93J); |
| 898 |
|
| 899 |
x74K=x74bl; y74K=1/5[y74bl,y74tl]; % to A3 |
| 900 |
z24K=(x25B,y74K); |
| 901 |
drawnormalCA(24K,74K); |
| 902 |
smooth(25B, 24K, 74K); |
| 903 |
|
| 904 |
%%%%%%%%%%%%%%%%%%%%%% Flowfield & Customer OUTPUT |
| 905 |
|
| 906 |
x93N=x93br; y93N=2/5[y93br,y93tr]; |
| 907 |
z103N=(x114, y93N); |
| 908 |
drawnormalCA(93N,103N); |
| 909 |
label.urt(btex Flowfield Data etex, z103N); |
| 910 |
|
| 911 |
x93P=x93br; y93P=1/5[y93br,y93tr]; |
| 912 |
z103P=(x103N,y93P); |
| 913 |
drawnormalCA(93P,103P); |
| 914 |
label.lrt(btex \twolines{Information to}{Analysis Customer} etex, z103P); |
| 915 |
|
| 916 |
|
| 917 |
|
| 918 |
endfig; % end fig 2 |
| 919 |
|
| 920 |
end |
| 921 |
|