2.6. C5toC6: Input File Conversion Programs for CSAS
K. Bekar
2.6.1. Introduction
Program C5TOC6 can be used to automatically convert a CSAS5 input file to a CSAS6 input file. This functionality can be useful when converting a KENO V.a validation sequence to a KENO-VI validation sequence. It removes the problem of introducing a mistake or inadvertently changing the data when remodeling a geometry to the KENO-VI format. For some cases, however, the converted model may be a very inefficient KENO-VI model.
2.6.2. Description and Input Guide
C5TOC6 is a utility program that can be used to automatically convert a CSAS5 input file to a CSAS6 input file. For C5TOC6, the “=CSASBB” record in the input stream (where the BB is 5, 25, or 2x) is replaced by “=C5TOC6 PARM=CSAS5.” The output file is named _geomnnnnnnn where nnnnnnn is a unique 7-digit number.
Important
The conversion makes no attempt to optimize the output file, so it almost surely will be inefficient in its use of storage, and in its use of bodies. This can lead to models that are very inefficient in their running time also.
The input/output (I/O) units for C5TOC6 are given below.
Unit Number |
Function |
5 6 7 |
CSAS5 input file Output Input file generated for CSAS6) |
A sample C5TOC6 sample input file and corresponding converted CSAS6 input file are shown in Example 2.6.1 and Example 2.6.2, respectively.
=c5toc6 parm=csas25
sample problem 1 case 2c8 bare
v7.1-252
read composition
uranium 1 den=18.76 1 293 92235 93.2 92238 5.6 92234 1.0 92236 0.2 end
end composition
read parameters
flx=yes fdn=yes far=yes htm=no
end parameters
read geometry
unit 1
cylinder 1 1 5.748 5.3825 -5.3825
cuboid 0 1 6.87 -6.87 6.87 -6.87 6.505 -6.505
end geometry
read array
nux=2 nuy=2 nuz=2 fill f1 end fill
end array
end data
end
=csas26
sample problem 1 case 2c8 bare
v7-252
read composition
uranium 1 den=18.76 1 293 92235 93.2 92238 5.6 92234 1.0 92236 0.2 end
end composition
read parameters
flx=yes fdn=yes far=yes htm=no
end parameters
read geometry
unit 1
cylinder 1
5.748000000E+00 5.382500000E+00 -5.382500000E+00
origin x= 0.000000000E+00 y= 0.000000000E+00
media 1 1 1
vol= 8.938968621E+03
cuboid 2
6.870000000E+00 -6.870000000E+00 6.870000000E+00
-6.870000000E+00 6.505000000E+00 -6.505000000E+00
media 0 1 2 -1
vol= 1.071004479E+04
boundary 2
global unit 2
cuboid 1
2.748000000E+01 0.000000000E+00 2.748000000E+01
0.000000000E+00 2.602000000E+01 0.000000000E+00
array 1 1
place 1 1 1 6.870000000E+00 6.870000000E+00 6.505000000E+00
boundary 1
end geometry
read array
nux=2 nuy=2 nuz=2 fill f1 end fill
end array
end data
end