~p-j-smith/micehalloperaproject/trunk

« back to all changes in this revision

Viewing changes to comi/A_MICE_Hall_Model_v003.comi

  • Committer: P J Smith
  • Date: 2012-12-13 08:55:43 UTC
  • Revision ID: p.j.smith@sheffield.ac.uk-20121213085543-44s33fozfar7749p
Commit from Model 39

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
$END IF
15
15
 
16
16
// Much prefer this method as it resets the colour assigment to materials.
17
 
// Colour assignment gets progressively worse if you don't clear project
18
 
// to the point where it is hard to distinguish features.
 
17
// Colour assignment gets progressively worse 
 
18
// to the point where it is hard to distinguish features
 
19
// if you don't clear the project.
19
20
CLEAR REVERT=NO
20
21
 
21
22
$CONSTANT ##VersionTest %REAL(&VERSION&)
24
25
// ************************************************
25
26
//  This number is appended on the output filename
26
27
// ************************************************
27
 
$STRING NAME=TEST_NUMBER VALUE=38
 
28
$STRING NAME=TEST_NUMBER VALUE=39
28
29
 
29
30
// Using linux filepath notation so opera will also interpret correctly for windows.  
30
31
// However you may need to create the necessary directory structure for the solutions:
91
92
  $CONSTANT #BUILD_QUAD_BASEPLATE 1
92
93
 
93
94
// 240Mev/c only at the moment
94
 
$CONSTANT #BUILD_SOLENOIDS 0
 
95
$CONSTANT #BUILD_SOLENOIDS 1
95
96
  // IF Step = 4 then Step 4, if Step = 6 then Step 6
96
97
  $CONSTANT #Step 4
97
98
  // Flip = 0 Solenoid mode. Flip = 1 Flip mode!
163
164
  // Note: Ignored if #RACKS_NSW_Reduced EQ 1
164
165
  // Places the remnant metal in the centre of the rack as a single mass
165
166
  $CONSTANT #RACKS_NSW_SolidMass 1 
 
167
    // This has to be 1 or 9
 
168
    // 1 place central - 9 = 1 central, 8 corners at a distance from skin 
 
169
    // determined by the AirGap_Thickness Variable.
 
170
    $CONSTANT #RACKS_NSW_No_Masses 9
166
171
 
167
172
// Racks in the MLCR
168
173
$CONSTANT #BUILD_RACKS_MLCR 0
179
184
  // Note: Ignored if #Comp_WW_Reduced EQ 1
180
185
  // Places the remnant metal in the centre of the rack as a single mass
181
186
  $CONSTANT #Comp_WW_SolidMass 1
 
187
    // This has to be 1 or 9
 
188
    // 1 place central - 9 = 1 central, 8 corners at a distance from skin 
 
189
    // determined by the AirGap_Thickness Variable.
 
190
    $CONSTANT #Comp_WW_No_Masses 9
182
191
 
183
192
// Build Step IV Shield
184
193
$CONSTANT #BUILD_STEPIV_SHIELD 0
185
 
  $CONSTANT #ENCLOSE_VP 0
 
194
  $CONSTANT #ENCLOSE_WITH_VP 1
186
195
 
187
196
// **************************
188
197
//   Global
189
198
// **************************
190
199
 
191
200
// Needed to build higher res airblocks around components
192
 
$CONSTANT #BUILD_INNER_AIR 1
 
201
$CONSTANT #BUILD_INNER_AIR 0
193
202
 
194
203
// Build Air inside and outside of Hall
195
204
$CONSTANT #BUILD_HALL_AIR 0
210
219
//  by performing unions without regularisation on pairs of bodies
211
220
// *****************************************************************
212
221
//$CONSTANT #PRE_BUILD_MODEL 0
213
 
$CONSTANT #CREATE_MODEL 0
214
 
$CONSTANT #SURFACE_MESH 0
215
 
$CONSTANT #VOLUME_MESH  0
 
222
$CONSTANT #CREATE_MODEL 1
 
223
$CONSTANT #SURFACE_MESH 1
 
224
$CONSTANT #VOLUME_MESH  1
216
225
 
217
226
$CONSTANT #SOLVE_MODEL 0
218
227
 
274
283
  $CONSTANT #BUILD_RACKS_BEHIND_NSW 1
275
284
    $CONSTANT #RACKS_NSW_Reduced 0
276
285
      $CONSTANT #RACKS_NSW_AirGap 0
277
 
    $CONSTANT #RACKS_NSW_SolidMass 1 
 
286
    $CONSTANT #RACKS_NSW_SolidMass 1
 
287
      $CONSTANT #RACKS_NSW_No_Masses 9 
278
288
 
279
289
 
280
290
  $CONSTANT #BUILD_RACKS_MLCR 0
283
293
    $CONSTANT #Comp_WW_Reduced 0
284
294
      $CONSTANT #Comp_WW_AirGap 0
285
295
    $CONSTANT #Comp_WW_SolidMass 1
 
296
       $CONSTANT #Comp_WW_No_Masses 9
286
297
 
287
298
  $CONSTANT #BUILD_STEPIV_SHIELD 0
288
299
     $CONSTANT #ENCLOSE_VP 0