3
3
4
4
* File: ESSBeam/bifrost/BIFROSTvariables.cxx
5
5
*
6
- * Copyright (c) 2004-2022 by Stuart Ansell
6
+ * Copyright (c) 2004-2023 by Stuart Ansell
7
7
*
8
8
* This program is free software: you can redistribute it and/or modify
9
9
* it under the terms of the GNU General Public License as published by
42
42
#include " Code.h"
43
43
#include " varList.h"
44
44
#include " FuncDataBase.h"
45
+ #include " CFFlanges.h"
46
+
45
47
#include " FocusGenerator.h"
46
48
#include " ShieldGenerator.h"
47
49
#include " ChopperGenerator.h"
@@ -70,8 +72,8 @@ BIFROSTvariables(FuncDataBase& Control)
70
72
setVariable::BladeGenerator BGen;
71
73
72
74
PipeGen.setPipe (8.0 ,0.5 );
73
- PipeGen.setWindow (- 2.0 , 0.5 );
74
- PipeGen.setFlange (- 4 .0 ,1.0 );
75
+ PipeGen.setNoWindow ( );
76
+ PipeGen.setFlange (12 .0 ,1.0 );
75
77
76
78
SGen.addWall (1 ,20.0 ," CastIron" );
77
79
SGen.addRoof (1 ,20.0 ," CastIron" );
@@ -124,9 +126,8 @@ BIFROSTvariables(FuncDataBase& Control)
124
126
BGen.generateBlades (Control," bifrostDBlade" ,0.0 ,20.0 ,35.0 );
125
127
126
128
// VACUUM PIPE: SDisk to T0 (A)
127
- PipeGen.setPipe (12.0 ,0.5 );
128
- PipeGen.setWindow (-2.0 ,0.5 );
129
- PipeGen.setFlange (-4.0 ,1.0 );
129
+ PipeGen.setCF <CF250>();
130
+ PipeGen.setNoWindow ();
130
131
PipeGen.generatePipe (Control," bifrostPipeC" ,400.0 );
131
132
Control.addVariable (" bifrostPipeCYStep" ,2.0 );
132
133
Control.addVariable (" bifrostPipeCNDivision" ,1 );
@@ -145,19 +146,17 @@ BIFROSTvariables(FuncDataBase& Control)
145
146
BGen.generateBlades (Control," bifrostFOC1Blade" ,0.0 ,20.0 ,35.0 );
146
147
147
148
// VACUUM PIPE: from ChoperB to 6m holding point
148
- PipeGen.setPipe (12.0 ,0.5 );
149
- PipeGen.setWindow (-2.0 ,0.5 );
150
- PipeGen.setFlange (-4.0 ,1.0 );
149
+ PipeGen.setCF <CF250>();
150
+ PipeGen.setNoWindow ();
151
151
PipeGen.generatePipe (Control," bifrostPipeD" ,500.0 );
152
152
Control.addVariable (" bifrostPipeDYStep" ,2.0 );
153
153
154
154
FGen.clearYOffset ();
155
155
FGen.generateRectangle (Control," bifrostFD" ,496.0 , 13.0 ,13.0 );
156
156
157
157
// VACUUM PIPE: from ChoperB to 6m holding point
158
- PipeGen.setPipe (12.0 ,0.5 );
159
- PipeGen.setWindow (-2.0 ,0.5 );
160
- PipeGen.setFlange (-4.0 ,1.0 );
158
+ PipeGen.setCF <CF250>();
159
+ PipeGen.setNoWindow ();
161
160
PipeGen.generatePipe (Control," bifrostPipeE" ,400.0 );
162
161
Control.addVariable (" bifrostPipeEYStep" ,2.0 );
163
162
@@ -174,9 +173,8 @@ BIFROSTvariables(FuncDataBase& Control)
174
173
BGen.generateBlades (Control," bifrostFOC2Blade" ,0.0 ,20.0 ,35.0 );
175
174
176
175
// VACUUM PIPE: from ChoperC with 4m
177
- PipeGen.setPipe (12.0 ,0.5 );
178
- PipeGen.setWindow (-2.0 ,0.5 );
179
- PipeGen.setFlange (-4.0 ,1.0 );
176
+ PipeGen.setCF <CF250>();
177
+ PipeGen.setNoWindow ();
180
178
PipeGen.generatePipe (Control," bifrostPipeF" ,481.5 );
181
179
Control.addVariable (" bifrostPipeFYStep" ,2.0 );
182
180
@@ -222,8 +220,8 @@ BIFROSTvariables(FuncDataBase& Control)
222
220
223
221
// VACUUM PIPE: in bunker wall
224
222
PipeGen.setPipe (6.0 ,0.5 );
225
- PipeGen.setWindow (- 2.0 , 0.5 );
226
- PipeGen.setFlange (- 4 .0 ,1.0 );
223
+ PipeGen.setNoWindow ( );
224
+ PipeGen.setFlange (10 .0 ,1.0 );
227
225
PipeGen.generatePipe (Control," bifrostPipeWall" ,348.0 );
228
226
Control.addVariable (" bifrostPipeWallYStep" ,1.0 );
229
227
// Guide in wall
@@ -236,9 +234,8 @@ BIFROSTvariables(FuncDataBase& Control)
236
234
SGen.generateShield (Control," bifrostShieldA" ,6500.0 ,40.0 ,40.0 ,40.0 ,4 ,8 );
237
235
Control.addVariable (" bifrostShieldAYStep" ,-4.0 );
238
236
// VACUUM PIPE: leaving bunker
239
- PipeGen.setPipe (6.0 ,0.5 );
240
- PipeGen.setWindow (-2.0 ,0.5 );
241
- PipeGen.setFlange (-4.0 ,1.0 );
237
+ PipeGen.setCF <CF150>();
238
+ PipeGen.setNoWindow ();
242
239
PipeGen.generatePipe (Control," bifrostPipeOutA" ,600 );
243
240
Control.addVariable (" bifrostPipeOutAYStep" ,4.0 );
244
241
@@ -247,9 +244,7 @@ BIFROSTvariables(FuncDataBase& Control)
247
244
FGen.generateTaper (Control," bifrostFOutA" ,596.0 ,5.232 ,5.84 , 5.232 ,5.84 );
248
245
249
246
// Second vacuum pipe out of bunker [before chopper pit]
250
- PipeGen.setPipe (6.0 ,0.5 );
251
- PipeGen.setWindow (-2.0 ,0.5 );
252
- PipeGen.setFlange (-4.0 ,1.0 );
247
+ PipeGen.setCF <CF250>();
253
248
PipeGen.generatePipe (Control," bifrostPipeOutB" ,600 );
254
249
Control.addVariable (" bifrostPipeOutBYStep" ,4.0 );
255
250
@@ -259,9 +254,8 @@ BIFROSTvariables(FuncDataBase& Control)
259
254
FGen.generateTaper (Control," bifrostFOutB" ,596.0 ,5.84 ,7.04 , 5.84 ,7.04 );
260
255
261
256
// Second vacuum pipe out of bunker [before chopper pit]
262
- PipeGen.setPipe (7.0 ,0.5 );
263
- PipeGen.setWindow (-2.0 ,0.5 );
264
- PipeGen.setFlange (-4.0 ,1.0 );
257
+ PipeGen.setCF <CF250>();
258
+ PipeGen.setNoWindow ();
265
259
PipeGen.generatePipe (Control," bifrostPipeOutC" ,480.0 );
266
260
Control.addVariable (" bifrostPipeOutCYStep" ,4.0 );
267
261
@@ -357,8 +351,8 @@ BIFROSTvariables(FuncDataBase& Control)
357
351
358
352
// Second vacuum pipe out of bunker [before chopper pit]
359
353
PipeGen.setPipe (6.0 ,0.5 );
360
- PipeGen.setWindow (- 2.0 , 0.5 );
361
- PipeGen.setFlange (- 4 .0 ,1.0 );
354
+ PipeGen.setNoWindow ( );
355
+ PipeGen.setFlange (10 .0 ,1.0 );
362
356
PipeGen.generatePipe (Control," bifrostPipeCave" ,250.0 );
363
357
Control.addVariable (" bifrostPipeCaveYStep" ,2.0 );
364
358
0 commit comments