mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Merge branch 'multipole' into diff_tally5
This commit is contained in:
commit
68e6cf1d67
256 changed files with 36876 additions and 15417 deletions
9859
tests/1d_mgxs.xml
Normal file
9859
tests/1d_mgxs.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -572,3 +572,92 @@ class InputSet(object):
|
|||
plot.color = 'mat'
|
||||
|
||||
self.plots.add_plot(plot)
|
||||
|
||||
class MGInputSet(InputSet):
|
||||
def build_default_materials_and_geometry(self):
|
||||
# Define materials needed for 1D/1G slab problem
|
||||
uo2_data = openmc.Macroscopic('uo2_iso', '71c')
|
||||
uo2 = openmc.Material(name='UO2', material_id=1)
|
||||
uo2.set_density('macro', 1.0)
|
||||
uo2.add_macroscopic(uo2_data)
|
||||
|
||||
clad_data = openmc.Macroscopic('clad_ang_mu', '71c')
|
||||
clad = openmc.Material(name='Clad', material_id=2)
|
||||
clad.set_density('macro', 1.0)
|
||||
clad.add_macroscopic(clad_data)
|
||||
|
||||
water_data = openmc.Macroscopic('lwtr_iso_mu', '71c')
|
||||
water = openmc.Material(name='LWTR', material_id=3)
|
||||
water.set_density('macro', 1.0)
|
||||
water.add_macroscopic(water_data)
|
||||
|
||||
# Define the materials file.
|
||||
self.materials.default_xs = '71c'
|
||||
self.materials.add_materials((uo2, clad, water))
|
||||
|
||||
# Define surfaces.
|
||||
|
||||
# Assembly/Problem Boundary
|
||||
left = openmc.XPlane(x0=0.0, surface_id=200,
|
||||
boundary_type='reflective')
|
||||
right = openmc.XPlane(x0=10.0, surface_id=201,
|
||||
boundary_type='reflective')
|
||||
bottom = openmc.YPlane(y0=0.0, surface_id=300,
|
||||
boundary_type='reflective')
|
||||
top = openmc.YPlane(y0=10.0, surface_id=301,
|
||||
boundary_type='reflective')
|
||||
|
||||
down = openmc.ZPlane(z0=0.0, surface_id=0,
|
||||
boundary_type='reflective')
|
||||
fuel_clad_intfc = openmc.ZPlane(z0=2.0, surface_id=1)
|
||||
clad_lwtr_intfc = openmc.ZPlane(z0=2.4, surface_id=2)
|
||||
up = openmc.ZPlane(z0=5.0, surface_id=3,
|
||||
boundary_type='reflective')
|
||||
|
||||
# Define cells
|
||||
c1 = openmc.Cell(cell_id=1)
|
||||
c1.region = +left & -right & +bottom & -top & +down & -fuel_clad_intfc
|
||||
c1.fill = uo2
|
||||
c2 = openmc.Cell(cell_id=2)
|
||||
c2.region = +left & -right & +bottom & -top & +fuel_clad_intfc & -clad_lwtr_intfc
|
||||
c2.fill = clad
|
||||
c3 = openmc.Cell(cell_id=3)
|
||||
c3.region = +left & -right & +bottom & -top & +clad_lwtr_intfc & -up
|
||||
c3.fill = water
|
||||
|
||||
# Define root universe.
|
||||
root = openmc.Universe(universe_id=0, name='root universe')
|
||||
|
||||
root.add_cells((c1,c2,c3))
|
||||
|
||||
# Define the geometry file.
|
||||
geometry = openmc.Geometry()
|
||||
geometry.root_universe = root
|
||||
|
||||
self.geometry.geometry = geometry
|
||||
|
||||
|
||||
def build_default_settings(self):
|
||||
self.settings.batches = 10
|
||||
self.settings.inactive = 5
|
||||
self.settings.particles = 100
|
||||
self.settings.source = Source(space=Box([0.0, 0.0, 0.0],
|
||||
[10.0, 10.0, 2.0]))
|
||||
self.settings.energy_mode = "multi-group"
|
||||
self.settings.cross_sections = "../1d_mgxs.xml"
|
||||
|
||||
def build_defualt_plots(self):
|
||||
plot = openmc.Plot()
|
||||
plot.filename = 'mat'
|
||||
plot.origin = (5.0, 5.0, 2.5)
|
||||
plot.width = (2.5, 2.5)
|
||||
plot.basis = 'xz'
|
||||
plot.pixels = (3000, 3000)
|
||||
plot.color = 'mat'
|
||||
|
||||
self.plots.add_plot(plot)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -300,9 +300,12 @@ if options.list_build_configs:
|
|||
|
||||
# Delete items of dictionary that don't match regular expression
|
||||
if options.build_config is not None:
|
||||
to_delete = []
|
||||
for key in tests:
|
||||
if not re.search(options.build_config, key):
|
||||
del tests[key]
|
||||
to_delete.append(key)
|
||||
for key in to_delete:
|
||||
del tests[key]
|
||||
|
||||
# Check for dashboard and determine whether to push results to server
|
||||
# Note that there are only 3 basic dashboards:
|
||||
|
|
@ -363,10 +366,14 @@ sourcepoint_batch|statepoint_interval|survival_biasing|\
|
|||
tally_assumesep|translation|uniform_fs|universe|void"
|
||||
|
||||
# Delete items of dictionary if valgrind or coverage and not in script mode
|
||||
to_delete = []
|
||||
if not script_mode:
|
||||
for key in tests:
|
||||
if re.search('valgrind|coverage', key):
|
||||
del tests[key]
|
||||
to_delete.append(key)
|
||||
|
||||
for key in to_delete:
|
||||
del tests[key]
|
||||
|
||||
# Check if tests empty
|
||||
if len(list(tests.keys())) == 0:
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
b5f96919ca474cd1c9c9d0acde3b8aac4a1cf636443c72a38b6c5a4221a8ce3e90182aaef2f664e44b9175ca257a89db2328b63e19388ee0e5006de4b3d92ce6
|
||||
bc8bef8121f9b6470e4fea817a4e48eabb1ecba1f42761a4cbd77d71181bf9e1612df4a3d6ddfbcd08a3086ac873e5f3c3e560bf96b2b7c959a2f7aad7e4e08d
|
||||
|
|
@ -19,13 +19,10 @@ class AsymmetricLatticeTestHarness(PyAPITestHarness):
|
|||
# Build full core geometry from underlying input set
|
||||
self._input_set.build_default_materials_and_geometry()
|
||||
|
||||
# Extract all universes from the full core geometry
|
||||
geometry = self._input_set.geometry.geometry
|
||||
all_univs = geometry.get_all_universes()
|
||||
|
||||
# Extract universes encapsulating fuel and water assemblies
|
||||
water = all_univs[7]
|
||||
fuel = all_univs[8]
|
||||
geometry = self._input_set.geometry.geometry
|
||||
water = geometry.get_universes_by_name('water assembly (hot)')[0]
|
||||
fuel = geometry.get_universes_by_name('fuel assembly (hot)')[0]
|
||||
|
||||
# Construct a 3x3 lattice of fuel assemblies
|
||||
core_lat = openmc.RectLattice(name='3x3 Core Lattice', lattice_id=202)
|
||||
|
|
@ -102,9 +99,10 @@ class AsymmetricLatticeTestHarness(PyAPITestHarness):
|
|||
outstr += ', '.join(map(str, tally.std_dev.flatten())) + '\n'
|
||||
|
||||
# Extract fuel assembly lattices from the summary
|
||||
all_cells = su.openmc_geometry.get_all_cells()
|
||||
fuel = all_cells[80].fill
|
||||
core = all_cells[1].fill
|
||||
core = su.get_cell_by_id(1)
|
||||
fuel = su.get_cell_by_id(80)
|
||||
fuel = fuel.fill
|
||||
core = core.fill
|
||||
|
||||
# Append a string of lattice distribcell offsets to the string
|
||||
outstr += ', '.join(map(str, fuel.offsets.flatten())) + '\n'
|
||||
|
|
|
|||
|
|
@ -1,128 +1,128 @@
|
|||
k-combined:
|
||||
1.168349E+00 1.145333E-02
|
||||
1.169891E+00 6.289481E-03
|
||||
tally 1:
|
||||
1.167844E+01
|
||||
1.366808E+01
|
||||
2.141846E+01
|
||||
4.598143E+01
|
||||
2.928738E+01
|
||||
8.615095E+01
|
||||
3.513015E+01
|
||||
1.241914E+02
|
||||
3.715164E+01
|
||||
1.384553E+02
|
||||
3.639309E+01
|
||||
1.327919E+02
|
||||
3.370872E+01
|
||||
1.138391E+02
|
||||
2.875251E+01
|
||||
8.292323E+01
|
||||
2.117740E+01
|
||||
4.512961E+01
|
||||
1.130554E+01
|
||||
1.289872E+01
|
||||
1.173921E+01
|
||||
1.385460E+01
|
||||
2.164076E+01
|
||||
4.699369E+01
|
||||
2.906462E+01
|
||||
8.464935E+01
|
||||
3.382312E+01
|
||||
1.147095E+02
|
||||
3.632006E+01
|
||||
1.323878E+02
|
||||
3.655412E+01
|
||||
1.341064E+02
|
||||
3.347756E+01
|
||||
1.124264E+02
|
||||
2.931337E+01
|
||||
8.607243E+01
|
||||
2.182947E+01
|
||||
4.789563E+01
|
||||
1.147668E+01
|
||||
1.325716E+01
|
||||
tally 2:
|
||||
2.339531E+01
|
||||
2.755922E+01
|
||||
1.646762E+01
|
||||
1.365289E+01
|
||||
2.146174E+00
|
||||
2.369613E-01
|
||||
4.309769E+01
|
||||
9.312913E+01
|
||||
3.054873E+01
|
||||
4.681242E+01
|
||||
4.076365E+00
|
||||
8.462370E-01
|
||||
5.840647E+01
|
||||
1.715260E+02
|
||||
4.161366E+01
|
||||
8.713062E+01
|
||||
5.382541E+00
|
||||
1.473814E+00
|
||||
6.927641E+01
|
||||
2.411359E+02
|
||||
4.943841E+01
|
||||
1.228850E+02
|
||||
6.282202E+00
|
||||
1.990021E+00
|
||||
7.308593E+01
|
||||
2.678848E+02
|
||||
5.202069E+01
|
||||
1.357621E+02
|
||||
6.826145E+00
|
||||
2.353974E+00
|
||||
7.117026E+01
|
||||
2.543546E+02
|
||||
5.068896E+01
|
||||
1.290261E+02
|
||||
6.342979E+00
|
||||
2.033850E+00
|
||||
6.615720E+01
|
||||
2.193712E+02
|
||||
4.725156E+01
|
||||
1.119514E+02
|
||||
6.024815E+00
|
||||
1.833752E+00
|
||||
5.738164E+01
|
||||
1.651944E+02
|
||||
4.081217E+01
|
||||
8.360122E+01
|
||||
5.326191E+00
|
||||
1.435896E+00
|
||||
4.208669E+01
|
||||
8.911740E+01
|
||||
2.994944E+01
|
||||
4.517409E+01
|
||||
3.905846E+00
|
||||
7.855247E-01
|
||||
2.273578E+01
|
||||
2.615080E+01
|
||||
1.603853E+01
|
||||
1.303560E+01
|
||||
2.160924E+00
|
||||
2.473278E-01
|
||||
2.298190E+01
|
||||
2.667071E+01
|
||||
1.600292E+01
|
||||
1.293670E+01
|
||||
2.252427E+00
|
||||
2.605738E-01
|
||||
4.268506E+01
|
||||
9.161215E+01
|
||||
3.022909E+01
|
||||
4.598915E+01
|
||||
3.873926E+00
|
||||
7.615035E-01
|
||||
5.680399E+01
|
||||
1.623878E+02
|
||||
4.033805E+01
|
||||
8.196263E+01
|
||||
5.280610E+00
|
||||
1.414008E+00
|
||||
6.814741E+01
|
||||
2.331778E+02
|
||||
4.851618E+01
|
||||
1.182330E+02
|
||||
6.261805E+00
|
||||
1.983205E+00
|
||||
7.392922E+01
|
||||
2.740255E+02
|
||||
5.253586E+01
|
||||
1.384152E+02
|
||||
6.733810E+00
|
||||
2.278242E+00
|
||||
7.332860E+01
|
||||
2.698608E+02
|
||||
5.227405E+01
|
||||
1.371810E+02
|
||||
6.714658E+00
|
||||
2.273652E+00
|
||||
6.830172E+01
|
||||
2.340687E+02
|
||||
4.867159E+01
|
||||
1.188724E+02
|
||||
6.215002E+00
|
||||
1.956978E+00
|
||||
5.885634E+01
|
||||
1.736180E+02
|
||||
4.170434E+01
|
||||
8.719622E+01
|
||||
5.253064E+00
|
||||
1.396224E+00
|
||||
4.372001E+01
|
||||
9.593570E+01
|
||||
3.106511E+01
|
||||
4.844647E+01
|
||||
3.817991E+00
|
||||
7.509063E-01
|
||||
2.338260E+01
|
||||
2.752103E+01
|
||||
1.636606E+01
|
||||
1.347591E+01
|
||||
2.220013E+00
|
||||
2.515671E-01
|
||||
tally 3:
|
||||
1.584939E+01
|
||||
1.265206E+01
|
||||
1.096930E+00
|
||||
6.173135E-02
|
||||
2.940258E+01
|
||||
4.337818E+01
|
||||
1.932931E+00
|
||||
1.884749E-01
|
||||
4.008186E+01
|
||||
8.086427E+01
|
||||
2.512704E+00
|
||||
3.189987E-01
|
||||
4.759648E+01
|
||||
1.139252E+02
|
||||
3.041630E+00
|
||||
4.683237E-01
|
||||
5.006181E+01
|
||||
1.257467E+02
|
||||
3.137042E+00
|
||||
4.981005E-01
|
||||
4.883211E+01
|
||||
1.197646E+02
|
||||
3.130686E+00
|
||||
4.987337E-01
|
||||
4.550029E+01
|
||||
1.038199E+02
|
||||
2.853740E+00
|
||||
4.127265E-01
|
||||
3.937822E+01
|
||||
7.785807E+01
|
||||
2.488983E+00
|
||||
3.156421E-01
|
||||
2.884912E+01
|
||||
4.192640E+01
|
||||
1.855316E+00
|
||||
1.745109E-01
|
||||
1.543635E+01
|
||||
1.208459E+01
|
||||
1.025635E+00
|
||||
5.351565E-02
|
||||
1.538752E+01
|
||||
1.196478E+01
|
||||
1.079685E+00
|
||||
6.010786E-02
|
||||
2.911906E+01
|
||||
4.269070E+01
|
||||
1.822657E+00
|
||||
1.671851E-01
|
||||
3.885421E+01
|
||||
7.608218E+01
|
||||
2.541517E+00
|
||||
3.262452E-01
|
||||
4.673300E+01
|
||||
1.097036E+02
|
||||
2.885308E+00
|
||||
4.214444E-01
|
||||
5.059247E+01
|
||||
1.283984E+02
|
||||
3.222797E+00
|
||||
5.237329E-01
|
||||
5.034856E+01
|
||||
1.272538E+02
|
||||
3.230225E+00
|
||||
5.273425E-01
|
||||
4.688476E+01
|
||||
1.103152E+02
|
||||
2.941287E+00
|
||||
4.363750E-01
|
||||
4.013746E+01
|
||||
8.077506E+01
|
||||
2.634234E+00
|
||||
3.520271E-01
|
||||
2.996995E+01
|
||||
4.510282E+01
|
||||
1.946504E+00
|
||||
1.919104E-01
|
||||
1.575153E+01
|
||||
1.248536E+01
|
||||
1.020705E+00
|
||||
5.413570E-02
|
||||
tally 4:
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -160,8 +160,8 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.119914E+00
|
||||
4.908283E-01
|
||||
3.049469E+00
|
||||
4.677325E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -208,10 +208,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.567786E+00
|
||||
1.556825E+00
|
||||
2.766088E+00
|
||||
3.864023E-01
|
||||
5.514939E+00
|
||||
1.528899E+00
|
||||
2.770358E+00
|
||||
3.879191E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -256,10 +256,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.491891E+00
|
||||
2.819491E+00
|
||||
5.235154E+00
|
||||
1.377898E+00
|
||||
7.294002E+00
|
||||
2.675589E+00
|
||||
5.032131E+00
|
||||
1.275040E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -304,10 +304,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.810357E+00
|
||||
3.898704E+00
|
||||
7.233068E+00
|
||||
2.630659E+00
|
||||
8.668860E+00
|
||||
3.776102E+00
|
||||
7.036008E+00
|
||||
2.490719E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -352,10 +352,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.374583E+00
|
||||
4.414420E+00
|
||||
8.565683E+00
|
||||
3.687428E+00
|
||||
9.345868E+00
|
||||
4.380719E+00
|
||||
8.352414E+00
|
||||
3.501945E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -400,10 +400,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.001252E+00
|
||||
4.073267E+00
|
||||
8.974821E+00
|
||||
4.050120E+00
|
||||
9.223771E+00
|
||||
4.270119E+00
|
||||
9.093766E+00
|
||||
4.158282E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -448,10 +448,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.236452E+00
|
||||
3.401934E+00
|
||||
9.042286E+00
|
||||
4.102906E+00
|
||||
8.530966E+00
|
||||
3.651778E+00
|
||||
9.219150E+00
|
||||
4.264346E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -496,10 +496,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.028546E+00
|
||||
2.482380E+00
|
||||
8.577643E+00
|
||||
3.691947E+00
|
||||
7.204424E+00
|
||||
2.604203E+00
|
||||
8.690373E+00
|
||||
3.785262E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -544,10 +544,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.159585E+00
|
||||
1.342512E+00
|
||||
7.389236E+00
|
||||
2.745028E+00
|
||||
5.326721E+00
|
||||
1.426975E+00
|
||||
7.513640E+00
|
||||
2.833028E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -592,10 +592,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.762685E+00
|
||||
3.914181E-01
|
||||
5.471849E+00
|
||||
1.509910E+00
|
||||
2.847310E+00
|
||||
4.090440E-01
|
||||
5.661144E+00
|
||||
1.607138E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -642,8 +642,8 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.038522E+00
|
||||
4.643520E-01
|
||||
3.025812E+00
|
||||
4.597241E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -662,114 +662,114 @@ k cmfd
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.180802E+00
|
||||
1.162698E+00
|
||||
1.162794E+00
|
||||
1.159752E+00
|
||||
1.152596E+00
|
||||
1.151652E+00
|
||||
1.148131E+00
|
||||
1.151875E+00
|
||||
1.151434E+00
|
||||
1.158833E+00
|
||||
1.160751E+00
|
||||
1.155305E+00
|
||||
1.155356E+00
|
||||
1.158866E+00
|
||||
1.161574E+00
|
||||
1.154691E+00
|
||||
1.170416E+00
|
||||
1.172966E+00
|
||||
1.165537E+00
|
||||
1.170979E+00
|
||||
1.161922E+00
|
||||
1.157523E+00
|
||||
1.158873E+00
|
||||
1.162877E+00
|
||||
1.167102E+00
|
||||
1.168130E+00
|
||||
1.170570E+00
|
||||
1.168115E+00
|
||||
1.174081E+00
|
||||
1.169458E+00
|
||||
1.167848E+00
|
||||
1.165116E+00
|
||||
cmfd entropy
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.214195E+00
|
||||
3.225164E+00
|
||||
3.227316E+00
|
||||
3.225663E+00
|
||||
3.226390E+00
|
||||
3.225832E+00
|
||||
3.226707E+00
|
||||
3.227866E+00
|
||||
3.229948E+00
|
||||
3.229269E+00
|
||||
3.230044E+00
|
||||
3.231568E+00
|
||||
3.234694E+00
|
||||
3.234771E+00
|
||||
3.234915E+00
|
||||
3.235876E+00
|
||||
3.203643E+00
|
||||
3.207943E+00
|
||||
3.213367E+00
|
||||
3.214360E+00
|
||||
3.219634E+00
|
||||
3.222232E+00
|
||||
3.221744E+00
|
||||
3.224544E+00
|
||||
3.225990E+00
|
||||
3.227769E+00
|
||||
3.227417E+00
|
||||
3.230728E+00
|
||||
3.231662E+00
|
||||
3.233316E+00
|
||||
3.233193E+00
|
||||
3.232564E+00
|
||||
cmfd balance
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.742525E-03
|
||||
2.646417E-03
|
||||
1.981783E-03
|
||||
1.856593E-03
|
||||
1.797685E-03
|
||||
2.122587E-03
|
||||
1.200823E-03
|
||||
2.177249E-03
|
||||
1.442840E-03
|
||||
1.477754E-03
|
||||
1.236325E-03
|
||||
1.048988E-03
|
||||
8.395164E-04
|
||||
7.380254E-04
|
||||
7.742837E-04
|
||||
8.235911E-04
|
||||
4.009063E-03
|
||||
4.431773E-03
|
||||
3.152698E-03
|
||||
3.510424E-03
|
||||
2.052087E-03
|
||||
2.068633E-03
|
||||
1.502416E-03
|
||||
1.589822E-03
|
||||
1.566016E-03
|
||||
1.219159E-03
|
||||
1.017888E-03
|
||||
9.771569E-04
|
||||
1.010126E-03
|
||||
1.073397E-03
|
||||
1.172784E-03
|
||||
9.827488E-04
|
||||
cmfd dominance ratio
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
5.467E-01
|
||||
5.518E-01
|
||||
5.535E-01
|
||||
5.500E-01
|
||||
5.397E-01
|
||||
5.425E-01
|
||||
5.481E-01
|
||||
5.478E-01
|
||||
5.467E-01
|
||||
5.465E-01
|
||||
5.493E-01
|
||||
5.488E-01
|
||||
5.491E-01
|
||||
5.473E-01
|
||||
5.503E-01
|
||||
5.529E-01
|
||||
5.531E-01
|
||||
5.534E-01
|
||||
5.552E-01
|
||||
5.502E-01
|
||||
5.483E-01
|
||||
5.520E-01
|
||||
5.505E-01
|
||||
3.216E-01
|
||||
5.373E-01
|
||||
5.517E-01
|
||||
5.508E-01
|
||||
5.524E-01
|
||||
5.524E-01
|
||||
5.523E-01
|
||||
cmfd openmc source comparison
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.168094E-03
|
||||
5.978693E-03
|
||||
4.369223E-03
|
||||
4.546309E-03
|
||||
4.222522E-03
|
||||
4.221686E-03
|
||||
4.604208E-03
|
||||
3.950286E-03
|
||||
2.939283E-03
|
||||
3.667020E-03
|
||||
2.592899E-03
|
||||
2.272158E-03
|
||||
1.229170E-03
|
||||
1.114150E-03
|
||||
1.060490E-03
|
||||
1.714222E-03
|
||||
6.959835E-03
|
||||
5.655657E-03
|
||||
3.886178E-03
|
||||
4.035110E-03
|
||||
3.043277E-03
|
||||
5.455479E-03
|
||||
4.515313E-03
|
||||
2.439842E-03
|
||||
2.114036E-03
|
||||
2.673135E-03
|
||||
2.431753E-03
|
||||
4.330931E-03
|
||||
3.404650E-03
|
||||
3.680302E-03
|
||||
3.309625E-03
|
||||
3.705544E-03
|
||||
cmfd source
|
||||
4.724285E-02
|
||||
8.305825E-02
|
||||
1.081058E-01
|
||||
1.314542E-01
|
||||
1.357299E-01
|
||||
1.359417E-01
|
||||
1.240918E-01
|
||||
1.087580E-01
|
||||
8.111239E-02
|
||||
4.450518E-02
|
||||
4.697085E-02
|
||||
7.920706E-02
|
||||
1.107968E-01
|
||||
1.250932E-01
|
||||
1.383930E-01
|
||||
1.380648E-01
|
||||
1.246874E-01
|
||||
1.113705E-01
|
||||
8.203754E-02
|
||||
4.337882E-02
|
||||
|
|
|
|||
|
|
@ -1,128 +1,128 @@
|
|||
k-combined:
|
||||
1.171115E+00 6.173328E-03
|
||||
1.167381E+00 9.433736E-03
|
||||
tally 1:
|
||||
1.151618E+01
|
||||
1.331859E+01
|
||||
2.120660E+01
|
||||
4.514836E+01
|
||||
2.759616E+01
|
||||
7.639131E+01
|
||||
3.216668E+01
|
||||
1.036501E+02
|
||||
3.664720E+01
|
||||
1.345450E+02
|
||||
3.771246E+01
|
||||
1.424209E+02
|
||||
3.523750E+01
|
||||
1.245225E+02
|
||||
2.973298E+01
|
||||
8.860064E+01
|
||||
2.152108E+01
|
||||
4.647187E+01
|
||||
1.169538E+01
|
||||
1.375047E+01
|
||||
1.196136E+01
|
||||
1.442468E+01
|
||||
2.133857E+01
|
||||
4.600706E+01
|
||||
2.874353E+01
|
||||
8.287538E+01
|
||||
3.400779E+01
|
||||
1.158949E+02
|
||||
3.736443E+01
|
||||
1.398466E+02
|
||||
3.705095E+01
|
||||
1.376767E+02
|
||||
3.486173E+01
|
||||
1.220362E+02
|
||||
2.910935E+01
|
||||
8.507181E+01
|
||||
2.034762E+01
|
||||
4.156717E+01
|
||||
1.074970E+01
|
||||
1.160733E+01
|
||||
tally 2:
|
||||
2.274639E+01
|
||||
2.606952E+01
|
||||
1.588200E+01
|
||||
1.270445E+01
|
||||
2.140989E+00
|
||||
2.357207E-01
|
||||
4.205792E+01
|
||||
8.880940E+01
|
||||
2.970000E+01
|
||||
4.427086E+01
|
||||
3.919645E+00
|
||||
7.773724E-01
|
||||
5.560960E+01
|
||||
1.559764E+02
|
||||
3.947900E+01
|
||||
7.872700E+01
|
||||
5.238942E+00
|
||||
1.400918E+00
|
||||
6.492259E+01
|
||||
2.117369E+02
|
||||
4.612200E+01
|
||||
1.069035E+02
|
||||
5.989449E+00
|
||||
1.813201E+00
|
||||
7.217377E+01
|
||||
2.608499E+02
|
||||
5.148500E+01
|
||||
1.327923E+02
|
||||
6.607336E+00
|
||||
2.205529E+00
|
||||
7.305896E+01
|
||||
2.681514E+02
|
||||
5.187500E+01
|
||||
1.352457E+02
|
||||
6.722921E+00
|
||||
2.290262E+00
|
||||
6.884269E+01
|
||||
2.380550E+02
|
||||
4.904800E+01
|
||||
1.208314E+02
|
||||
6.177320E+00
|
||||
1.927173E+00
|
||||
5.902100E+01
|
||||
1.748370E+02
|
||||
4.201000E+01
|
||||
8.858460E+01
|
||||
5.542381E+00
|
||||
1.549108E+00
|
||||
4.268091E+01
|
||||
9.151405E+01
|
||||
3.029500E+01
|
||||
4.614050E+01
|
||||
3.822093E+00
|
||||
7.420139E-01
|
||||
2.362279E+01
|
||||
2.812041E+01
|
||||
1.653100E+01
|
||||
1.377737E+01
|
||||
2.336090E+00
|
||||
2.851840E-01
|
||||
2.321994E+01
|
||||
2.726751E+01
|
||||
1.624000E+01
|
||||
1.334217E+01
|
||||
2.239367E+00
|
||||
2.607315E-01
|
||||
4.184801E+01
|
||||
8.813953E+01
|
||||
2.955600E+01
|
||||
4.401685E+01
|
||||
3.937924E+00
|
||||
7.877545E-01
|
||||
5.620223E+01
|
||||
1.589242E+02
|
||||
3.981400E+01
|
||||
7.983679E+01
|
||||
5.183337E+00
|
||||
1.367303E+00
|
||||
6.834724E+01
|
||||
2.342244E+02
|
||||
4.869600E+01
|
||||
1.189597E+02
|
||||
6.288549E+00
|
||||
1.997858E+00
|
||||
7.481522E+01
|
||||
2.802998E+02
|
||||
5.346500E+01
|
||||
1.431835E+02
|
||||
6.691123E+00
|
||||
2.252645E+00
|
||||
7.381412E+01
|
||||
2.733775E+02
|
||||
5.269700E+01
|
||||
1.393729E+02
|
||||
6.846095E+00
|
||||
2.360683E+00
|
||||
6.907775E+01
|
||||
2.396751E+02
|
||||
4.918500E+01
|
||||
1.215909E+02
|
||||
6.400076E+00
|
||||
2.073871E+00
|
||||
5.783260E+01
|
||||
1.680814E+02
|
||||
4.107800E+01
|
||||
8.480751E+01
|
||||
5.269220E+00
|
||||
1.404986E+00
|
||||
4.120212E+01
|
||||
8.516646E+01
|
||||
2.930300E+01
|
||||
4.310295E+01
|
||||
3.730803E+00
|
||||
7.015777E-01
|
||||
2.228419E+01
|
||||
2.504033E+01
|
||||
1.554100E+01
|
||||
1.217931E+01
|
||||
2.126451E+00
|
||||
2.315275E-01
|
||||
tally 3:
|
||||
1.524100E+01
|
||||
1.171023E+01
|
||||
1.071050E+00
|
||||
5.839198E-02
|
||||
2.862800E+01
|
||||
4.113148E+01
|
||||
1.892774E+00
|
||||
1.812712E-01
|
||||
3.804600E+01
|
||||
7.316097E+01
|
||||
2.423654E+00
|
||||
2.968521E-01
|
||||
4.434600E+01
|
||||
9.882906E+01
|
||||
2.823929E+00
|
||||
4.033633E-01
|
||||
4.955300E+01
|
||||
1.230293E+02
|
||||
3.226029E+00
|
||||
5.265680E-01
|
||||
4.999400E+01
|
||||
1.256474E+02
|
||||
3.232464E+00
|
||||
5.286388E-01
|
||||
4.724300E+01
|
||||
1.121029E+02
|
||||
3.015553E+00
|
||||
4.606928E-01
|
||||
4.051300E+01
|
||||
8.239672E+01
|
||||
2.592073E+00
|
||||
3.412174E-01
|
||||
2.912700E+01
|
||||
4.265700E+01
|
||||
1.875109E+00
|
||||
1.785438E-01
|
||||
1.593500E+01
|
||||
1.280638E+01
|
||||
1.038638E+00
|
||||
5.538157E-02
|
||||
1.561100E+01
|
||||
1.233967E+01
|
||||
1.095984E+00
|
||||
6.181387E-02
|
||||
2.847800E+01
|
||||
4.088161E+01
|
||||
1.815210E+00
|
||||
1.669969E-01
|
||||
3.834200E+01
|
||||
7.408022E+01
|
||||
2.446117E+00
|
||||
3.017834E-01
|
||||
4.687600E+01
|
||||
1.102381E+02
|
||||
2.954924E+00
|
||||
4.412809E-01
|
||||
5.155100E+01
|
||||
1.331461E+02
|
||||
3.204714E+00
|
||||
5.178544E-01
|
||||
5.067700E+01
|
||||
1.289238E+02
|
||||
3.246710E+00
|
||||
5.326374E-01
|
||||
4.738600E+01
|
||||
1.128834E+02
|
||||
3.035962E+00
|
||||
4.640211E-01
|
||||
3.953600E+01
|
||||
7.858196E+01
|
||||
2.507574E+00
|
||||
3.186456E-01
|
||||
2.819300E+01
|
||||
3.991455E+01
|
||||
1.846612E+00
|
||||
1.725570E-01
|
||||
1.497500E+01
|
||||
1.131312E+01
|
||||
9.213728E-01
|
||||
4.422001E-02
|
||||
tally 4:
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -160,8 +160,8 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.065000E+00
|
||||
4.742170E-01
|
||||
3.090000E+00
|
||||
4.810640E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -208,10 +208,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.420000E+00
|
||||
1.474674E+00
|
||||
2.693000E+00
|
||||
3.667090E-01
|
||||
5.555000E+00
|
||||
1.551579E+00
|
||||
2.833000E+00
|
||||
4.078910E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -256,10 +256,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.243000E+00
|
||||
2.637431E+00
|
||||
5.092000E+00
|
||||
1.305200E+00
|
||||
7.271000E+00
|
||||
2.659755E+00
|
||||
5.095000E+00
|
||||
1.310819E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -304,10 +304,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.280000E+00
|
||||
3.445670E+00
|
||||
6.765000E+00
|
||||
2.307253E+00
|
||||
8.577000E+00
|
||||
3.703215E+00
|
||||
7.026000E+00
|
||||
2.486552E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -352,10 +352,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.980000E+00
|
||||
4.046484E+00
|
||||
8.108000E+00
|
||||
3.299338E+00
|
||||
9.393000E+00
|
||||
4.422429E+00
|
||||
8.572000E+00
|
||||
3.680852E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -400,10 +400,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.016000E+00
|
||||
4.079320E+00
|
||||
8.962000E+00
|
||||
4.034032E+00
|
||||
9.265000E+00
|
||||
4.305625E+00
|
||||
9.261000E+00
|
||||
4.304411E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -448,10 +448,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.465000E+00
|
||||
3.595665E+00
|
||||
9.296000E+00
|
||||
4.340524E+00
|
||||
8.535000E+00
|
||||
3.659395E+00
|
||||
9.303000E+00
|
||||
4.350791E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -496,10 +496,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.247000E+00
|
||||
2.638527E+00
|
||||
8.865000E+00
|
||||
3.946315E+00
|
||||
7.104000E+00
|
||||
2.544182E+00
|
||||
8.693000E+00
|
||||
3.799545E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -544,10 +544,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.179000E+00
|
||||
1.353661E+00
|
||||
7.492000E+00
|
||||
2.817588E+00
|
||||
5.168000E+00
|
||||
1.344390E+00
|
||||
7.334000E+00
|
||||
2.700052E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -592,10 +592,10 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.821000E+00
|
||||
4.067990E-01
|
||||
5.617000E+00
|
||||
1.587757E+00
|
||||
2.724000E+00
|
||||
3.745680E-01
|
||||
5.416000E+00
|
||||
1.471086E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -642,8 +642,8 @@ tally 4:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.134000E+00
|
||||
4.937920E-01
|
||||
2.960000E+00
|
||||
4.397840E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -662,114 +662,114 @@ k cmfd
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.180802E+00
|
||||
1.163440E+00
|
||||
1.148572E+00
|
||||
1.151423E+00
|
||||
1.143374E+00
|
||||
1.144091E+00
|
||||
1.146212E+00
|
||||
1.144900E+00
|
||||
1.153511E+00
|
||||
1.158766E+00
|
||||
1.159179E+00
|
||||
1.156627E+00
|
||||
1.160647E+00
|
||||
1.162860E+00
|
||||
1.164312E+00
|
||||
1.164928E+00
|
||||
1.170416E+00
|
||||
1.172572E+00
|
||||
1.171159E+00
|
||||
1.170281E+00
|
||||
1.159698E+00
|
||||
1.151967E+00
|
||||
1.146706E+00
|
||||
1.147137E+00
|
||||
1.152154E+00
|
||||
1.156980E+00
|
||||
1.156370E+00
|
||||
1.155975E+00
|
||||
1.155295E+00
|
||||
1.154881E+00
|
||||
1.153714E+00
|
||||
1.159485E+00
|
||||
cmfd entropy
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.214195E+00
|
||||
3.222259E+00
|
||||
3.225989E+00
|
||||
3.230436E+00
|
||||
3.228875E+00
|
||||
3.229003E+00
|
||||
3.228502E+00
|
||||
3.230397E+00
|
||||
3.231417E+00
|
||||
3.231192E+00
|
||||
3.229995E+00
|
||||
3.229396E+00
|
||||
3.228730E+00
|
||||
3.228091E+00
|
||||
3.227600E+00
|
||||
3.229723E+00
|
||||
3.203643E+00
|
||||
3.204555E+00
|
||||
3.210935E+00
|
||||
3.213980E+00
|
||||
3.219204E+00
|
||||
3.222234E+00
|
||||
3.226210E+00
|
||||
3.226808E+00
|
||||
3.224445E+00
|
||||
3.222460E+00
|
||||
3.222458E+00
|
||||
3.222447E+00
|
||||
3.220832E+00
|
||||
3.220841E+00
|
||||
3.221580E+00
|
||||
3.220523E+00
|
||||
cmfd balance
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.742525E-03
|
||||
3.110598E-03
|
||||
2.490108E-03
|
||||
2.114137E-03
|
||||
2.190200E-03
|
||||
3.281877E-03
|
||||
2.219193E-03
|
||||
2.458372E-03
|
||||
2.200863E-03
|
||||
2.181858E-03
|
||||
2.064212E-03
|
||||
1.961178E-03
|
||||
1.713250E-03
|
||||
1.665361E-03
|
||||
1.436016E-03
|
||||
1.193462E-03
|
||||
4.009063E-03
|
||||
4.869662E-03
|
||||
2.997290E-03
|
||||
2.711191E-03
|
||||
1.688329E-03
|
||||
1.855396E-03
|
||||
1.403977E-03
|
||||
1.398430E-03
|
||||
1.818402E-03
|
||||
1.761252E-03
|
||||
1.646650E-03
|
||||
1.480120E-03
|
||||
1.399560E-03
|
||||
1.400162E-03
|
||||
1.178362E-03
|
||||
1.292279E-03
|
||||
cmfd dominance ratio
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
0.000E+00
|
||||
5.467E-01
|
||||
5.505E-01
|
||||
5.514E-01
|
||||
5.397E-01
|
||||
5.405E-01
|
||||
5.412E-01
|
||||
5.428E-01
|
||||
5.460E-01
|
||||
4.531E-01
|
||||
5.528E-01
|
||||
5.531E-01
|
||||
5.529E-01
|
||||
5.501E-01
|
||||
5.484E-01
|
||||
5.500E-01
|
||||
5.506E-01
|
||||
5.508E-01
|
||||
5.504E-01
|
||||
5.500E-01
|
||||
5.480E-01
|
||||
5.482E-01
|
||||
5.475E-01
|
||||
5.493E-01
|
||||
5.468E-01
|
||||
5.482E-01
|
||||
5.487E-01
|
||||
5.471E-01
|
||||
5.465E-01
|
||||
5.461E-01
|
||||
5.443E-01
|
||||
cmfd openmc source comparison
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.168094E-03
|
||||
5.976241E-03
|
||||
4.426550E-03
|
||||
4.107499E-03
|
||||
4.957716E-03
|
||||
4.026213E-03
|
||||
3.986000E-03
|
||||
2.702714E-03
|
||||
3.619345E-03
|
||||
4.909616E-03
|
||||
3.355042E-03
|
||||
2.945724E-03
|
||||
3.010811E-03
|
||||
2.965662E-03
|
||||
2.673073E-03
|
||||
1.669634E-03
|
||||
6.959835E-03
|
||||
5.494668E-03
|
||||
4.076255E-03
|
||||
4.451120E-03
|
||||
3.035589E-03
|
||||
3.391773E-03
|
||||
1.907995E-03
|
||||
2.482495E-03
|
||||
2.994917E-03
|
||||
3.104683E-03
|
||||
2.309343E-03
|
||||
2.151358E-03
|
||||
2.348850E-03
|
||||
1.976731E-03
|
||||
2.080638E-03
|
||||
2.301327E-03
|
||||
cmfd source
|
||||
4.539734E-02
|
||||
8.104913E-02
|
||||
1.045143E-01
|
||||
1.221516E-01
|
||||
1.398002E-01
|
||||
1.400323E-01
|
||||
1.304628E-01
|
||||
1.120006E-01
|
||||
8.038230E-02
|
||||
4.420934E-02
|
||||
4.638920E-02
|
||||
7.751172E-02
|
||||
1.056089E-01
|
||||
1.282509E-01
|
||||
1.396713E-01
|
||||
1.415740E-01
|
||||
1.323405E-01
|
||||
1.092839E-01
|
||||
7.981779E-02
|
||||
3.955174E-02
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
2.565769E-01 8.980879E-04
|
||||
2.531110E-01 3.041974E-03
|
||||
tally 1:
|
||||
2.584080E+00
|
||||
1.335682E+00
|
||||
2.763580E+00
|
||||
1.528633E+00
|
||||
1.007148E+00
|
||||
2.031543E-01
|
||||
1.113696E-01
|
||||
2.485351E-03
|
||||
2.594626E+00
|
||||
1.346701E+00
|
||||
2.683653E+00
|
||||
1.440725E+00
|
||||
9.933862E-01
|
||||
1.977011E-01
|
||||
1.112289E-01
|
||||
2.476655E-03
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
k-combined:
|
||||
2.913599E-01 6.738749E-03
|
||||
2.955487E-01 7.001017E-03
|
||||
tally 1:
|
||||
6.420923E+01
|
||||
5.190738E+02
|
||||
6.492201E+01
|
||||
5.290724E+02
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.088237E+00 1.999252E-02
|
||||
1.102244E+00 1.114944E-02
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
k-combined:
|
||||
1.309285E+00 1.263629E-02
|
||||
1.291341E+00 1.269369E-02
|
||||
Cell
|
||||
ID = 11
|
||||
Name =
|
||||
Material = [2, 3, void, 2]
|
||||
Region = -10000
|
||||
Temperature = [ 293.60594237 293.60594237 0. 293.60594237]
|
||||
Rotation = None
|
||||
Translation = None
|
||||
Offset = None
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.015627E-01 5.978844E-03
|
||||
3.001412E-01 2.669737E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.130246E-01 6.960311E-03
|
||||
3.080574E-01 6.889659E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.155788E-01 7.559348E-03
|
||||
3.330789E-01 2.216495E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.130076E+00 1.938907E-03
|
||||
2.122164E+00 1.946222E-02
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
entropy:
|
||||
7.608094E+00
|
||||
8.167702E+00
|
||||
8.273634E+00
|
||||
8.239452E+00
|
||||
8.234598E+00
|
||||
8.278421E+00
|
||||
8.260773E+00
|
||||
8.351860E+00
|
||||
8.303719E+00
|
||||
8.271058E+00
|
||||
7.601626E+00
|
||||
8.085658E+00
|
||||
8.263983E+00
|
||||
8.284792E+00
|
||||
8.420379E+00
|
||||
8.302840E+00
|
||||
8.316079E+00
|
||||
8.299781E+00
|
||||
8.329297E+00
|
||||
8.361325E+00
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
k-combined:
|
||||
0.000000E+00 0.000000E+00
|
||||
tally 1:
|
||||
1.440759E-02
|
||||
2.075788E-04
|
||||
1.222930E-02
|
||||
1.495558E-04
|
||||
1.407292E-02
|
||||
1.980471E-04
|
||||
1.034365E-02
|
||||
1.069911E-04
|
||||
1.548980E-02
|
||||
2.399339E-04
|
||||
1.278780E-02
|
||||
1.635279E-04
|
||||
1.426319E-02
|
||||
2.034385E-04
|
||||
1.018927E-02
|
||||
1.038213E-04
|
||||
tally 2:
|
||||
5.105347E-02
|
||||
2.606457E-03
|
||||
5.273007E-02
|
||||
2.780460E-03
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
0.000000E+00 0.000000E+00
|
||||
tally 1:
|
||||
7.326285E-03
|
||||
5.367445E-05
|
||||
8.565980E-03
|
||||
7.337601E-05
|
||||
9.027116E-03
|
||||
8.148882E-05
|
||||
8.045879E-03
|
||||
6.473617E-05
|
||||
7.588170E-03
|
||||
5.758032E-05
|
||||
8.402486E-03
|
||||
7.060177E-05
|
||||
8.682518E-03
|
||||
7.538613E-05
|
||||
8.119997E-03
|
||||
6.593435E-05
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
6008cf2ba8eecaaa5a600fa337cf54cef018e98bdba8e3bd26c6f44587376a838d5bc5e86301b2e308f9eb248e3efafd45a5336f4023d962d7921d158a621e0c
|
||||
7bef4810e3bba5df56fef96d9a946dc8dc8ac136ba5282d2975456f3de8fc47ea4ba557d6c83d0938579e11e2a0da5e8e4d03b3cd1f0c0d969d25c218b2ec0bc
|
||||
|
|
@ -1,17 +1,17 @@
|
|||
k-combined:
|
||||
0.000000E+00 0.000000E+00
|
||||
tally 1:
|
||||
2.166056E-02
|
||||
4.691799E-04
|
||||
2.281665E-02
|
||||
5.205994E-04
|
||||
1.938848E-02
|
||||
3.759132E-04
|
||||
3.055366E-02
|
||||
9.335264E-04
|
||||
2.338209E-02
|
||||
5.467222E-04
|
||||
2.719869E-02
|
||||
7.397689E-04
|
||||
1.895698E-02
|
||||
3.593670E-04
|
||||
2.265319E-02
|
||||
5.131669E-04
|
||||
2.026852E-02
|
||||
4.108129E-04
|
||||
2.051718E-02
|
||||
4.209546E-04
|
||||
3.015130E-02
|
||||
9.091009E-04
|
||||
2.356397E-02
|
||||
5.552606E-04
|
||||
2.558974E-02
|
||||
6.548348E-04
|
||||
2.012046E-02
|
||||
4.048330E-04
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
k-combined:
|
||||
1.005983E+00 2.248579E-02
|
||||
9.581522E-01 4.261830E-02
|
||||
tally 1:
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -45,10 +45,6 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.228098E-02
|
||||
1.042062E-03
|
||||
3.222708E-01
|
||||
1.038585E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -57,8 +53,16 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.474078E-01
|
||||
2.172907E-02
|
||||
6.386562E-02
|
||||
4.078817E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.905797E-02
|
||||
8.443654E-04
|
||||
7.532560E-03
|
||||
5.673946E-05
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -67,6 +71,10 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.149324E-01
|
||||
1.320945E-02
|
||||
2.465048E-02
|
||||
3.049063E-04
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -75,14 +83,20 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.182335E-01
|
||||
3.748630E-01
|
||||
2.711997E-01
|
||||
5.338821E-02
|
||||
3.359680E-01
|
||||
5.168399E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.002118E-02
|
||||
4.902965E-03
|
||||
5.128548E-01
|
||||
1.258296E-01
|
||||
1.379070E+00
|
||||
4.300261E-01
|
||||
1.040956E+00
|
||||
3.089102E-01
|
||||
1.237157E+00
|
||||
6.284409E-01
|
||||
9.539296E-01
|
||||
5.206980E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -91,12 +105,30 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.001407E+00
|
||||
1.600000E+00
|
||||
7.159080E-01
|
||||
2.988090E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.706070E-01
|
||||
1.373496E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.473499E-01
|
||||
1.206520E-01
|
||||
1.597805E-01
|
||||
1.297695E-02
|
||||
1.438568E-01
|
||||
1.597365E-02
|
||||
8.612279E-02
|
||||
5.910825E-03
|
||||
9.004671E-01
|
||||
2.791173E-01
|
||||
6.485841E+00
|
||||
1.046238E+01
|
||||
6.743595E+00
|
||||
1.135216E+01
|
||||
7.681046E-01
|
||||
1.896252E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -107,143 +139,40 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.572791E-01
|
||||
8.942065E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.931419E-01
|
||||
9.002841E-02
|
||||
1.092722E+00
|
||||
3.733055E-01
|
||||
2.384227E+00
|
||||
1.926937E+00
|
||||
9.101131E-01
|
||||
3.634496E-01
|
||||
3.284661E-01
|
||||
1.078900E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
6.885295E-02
|
||||
4.740728E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.419633E-02
|
||||
5.854622E-04
|
||||
9.286912E-02
|
||||
7.247209E-03
|
||||
5.629729E-01
|
||||
9.281109E-02
|
||||
7.345786E-01
|
||||
1.755550E-01
|
||||
1.219449E-01
|
||||
1.487057E-02
|
||||
5.299733E-01
|
||||
2.205463E-01
|
||||
1.349846E+00
|
||||
6.808561E-01
|
||||
6.874433E-01
|
||||
2.287801E-01
|
||||
5.651386E-01
|
||||
1.286874E-01
|
||||
5.729905E-01
|
||||
2.680764E-01
|
||||
5.509254E-01
|
||||
1.200498E-01
|
||||
1.494910E+00
|
||||
6.327940E-01
|
||||
2.444256E-01
|
||||
2.804968E-02
|
||||
6.927475E-01
|
||||
2.317744E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.983303E-01
|
||||
3.797884E-02
|
||||
4.840974E-02
|
||||
1.266547E-03
|
||||
1.183485E+00
|
||||
4.184814E-01
|
||||
3.027254E-01
|
||||
8.598449E-02
|
||||
9.889868E-01
|
||||
4.608531E-01
|
||||
8.698103E-01
|
||||
4.598559E-01
|
||||
1.332831E+00
|
||||
4.809984E-01
|
||||
1.564949E+00
|
||||
5.782651E-01
|
||||
1.143572E+00
|
||||
4.399439E-01
|
||||
1.326651E+00
|
||||
6.376565E-01
|
||||
1.716813E+00
|
||||
1.314280E+00
|
||||
7.673229E-01
|
||||
2.364966E-01
|
||||
2.539284E+00
|
||||
1.945563E+00
|
||||
1.263219E+00
|
||||
4.919339E-01
|
||||
5.430042E-01
|
||||
1.300266E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.553587E-01
|
||||
1.738170E-01
|
||||
2.048487E+00
|
||||
1.239856E+00
|
||||
3.761862E-01
|
||||
8.452912E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.675232E-02
|
||||
9.361012E-03
|
||||
2.319594E-01
|
||||
2.331698E-02
|
||||
1.573495E+00
|
||||
6.394722E-01
|
||||
4.432570E-01
|
||||
1.005943E-01
|
||||
9.353148E-01
|
||||
3.125416E-01
|
||||
8.359366E-01
|
||||
2.985072E-01
|
||||
1.657665E+00
|
||||
9.207020E-01
|
||||
3.737550E+00
|
||||
3.558505E+00
|
||||
1.742376E+00
|
||||
8.732217E-01
|
||||
5.153816E+00
|
||||
6.543973E+00
|
||||
1.653035E+00
|
||||
1.061068E+00
|
||||
9.963191E-01
|
||||
3.716347E-01
|
||||
2.282805E-01
|
||||
2.383414E-02
|
||||
8.749983E-01
|
||||
2.714666E-01
|
||||
1.728411E-01
|
||||
1.190218E-02
|
||||
9.250054E-02
|
||||
4.341922E-03
|
||||
6.353807E-02
|
||||
4.037086E-03
|
||||
1.811729E-01
|
||||
1.711154E-02
|
||||
3.218800E-01
|
||||
7.906855E-02
|
||||
1.057036E+00
|
||||
3.778638E-01
|
||||
9.231639E-01
|
||||
2.991795E-01
|
||||
3.375678E-01
|
||||
1.041383E-01
|
||||
1.181686E-01
|
||||
8.023920E-03
|
||||
4.912969E-01
|
||||
2.073894E-01
|
||||
9.395786E-01
|
||||
4.653730E-01
|
||||
6.998437E-01
|
||||
2.917085E-01
|
||||
3.074214E+00
|
||||
2.819088E+00
|
||||
2.570673E+00
|
||||
1.358321E+00
|
||||
1.108912E+00
|
||||
3.843307E-01
|
||||
4.950896E-02
|
||||
2.451137E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -251,28 +180,26 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
8.757958E-02
|
||||
7.670183E-03
|
||||
0.000000E+00
|
||||
4.425042E-01
|
||||
5.854257E-02
|
||||
2.237774E+00
|
||||
1.109643E+00
|
||||
7.495196E-01
|
||||
1.939234E-01
|
||||
3.804197E-01
|
||||
1.225870E-01
|
||||
1.009880E-01
|
||||
9.392497E-03
|
||||
2.424177E+00
|
||||
1.613025E+00
|
||||
2.226123E+00
|
||||
1.203763E+00
|
||||
1.939766E+00
|
||||
1.132042E+00
|
||||
3.953753E-01
|
||||
1.420303E-01
|
||||
0.000000E+00
|
||||
6.469411E-01
|
||||
1.789549E-01
|
||||
7.829878E-01
|
||||
2.033989E-01
|
||||
8.994770E-01
|
||||
2.351438E-01
|
||||
4.712797E-01
|
||||
7.213659E-02
|
||||
2.133532E+00
|
||||
9.765422E-01
|
||||
4.533607E-01
|
||||
1.511497E-01
|
||||
1.878729E+00
|
||||
2.099266E+00
|
||||
4.287190E+00
|
||||
4.748691E+00
|
||||
1.961229E+00
|
||||
1.085868E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -280,185 +207,235 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.501129E-02
|
||||
6.255649E-04
|
||||
3.984785E-01
|
||||
1.486414E-01
|
||||
1.251028E-01
|
||||
1.306358E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.831996E-01
|
||||
4.846833E-01
|
||||
4.237107E-01
|
||||
6.002592E-02
|
||||
8.922533E-01
|
||||
2.835397E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.174349E-01
|
||||
1.007649E-01
|
||||
1.260449E+00
|
||||
5.881747E-01
|
||||
3.147407E+00
|
||||
3.333589E+00
|
||||
2.021896E+00
|
||||
1.425606E+00
|
||||
1.377786E-01
|
||||
1.716503E-02
|
||||
3.011069E-02
|
||||
9.066538E-04
|
||||
0.000000E+00
|
||||
1.061692E-01
|
||||
1.127190E-02
|
||||
1.912282E-01
|
||||
3.656822E-02
|
||||
3.289827E-01
|
||||
1.075283E-01
|
||||
1.750908E+00
|
||||
8.092384E-01
|
||||
2.156426E+00
|
||||
9.498067E-01
|
||||
1.480596E+00
|
||||
6.002164E-01
|
||||
3.249216E-01
|
||||
1.005106E-01
|
||||
8.875810E-02
|
||||
7.878000E-03
|
||||
2.458176E-01
|
||||
4.377921E-02
|
||||
2.766784E+00
|
||||
2.677426E+00
|
||||
2.703501E+00
|
||||
2.548083E+00
|
||||
0.000000E+00
|
||||
5.118696E-02
|
||||
2.620104E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.484996E-01
|
||||
2.205214E-02
|
||||
9.889831E-01
|
||||
3.657975E-01
|
||||
2.850134E+00
|
||||
2.250972E+00
|
||||
4.131352E-01
|
||||
6.756111E-02
|
||||
8.393183E-03
|
||||
7.044551E-05
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.462571E-02
|
||||
5.568996E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.560771E-01
|
||||
6.557550E-02
|
||||
9.262861E-03
|
||||
8.580060E-05
|
||||
2.505905E-01
|
||||
6.279558E-02
|
||||
5.136552E-01
|
||||
2.638417E-01
|
||||
1.441275E+00
|
||||
5.086865E-01
|
||||
2.913901E+00
|
||||
1.841912E+00
|
||||
6.978650E-01
|
||||
2.584000E-01
|
||||
1.451562E-02
|
||||
2.107031E-04
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.079994E-03
|
||||
9.486363E-06
|
||||
1.492571E+00
|
||||
6.318792E-01
|
||||
2.083542E+00
|
||||
1.599782E+00
|
||||
2.677440E+00
|
||||
2.382024E+00
|
||||
4.457483E-01
|
||||
5.194318E-02
|
||||
5.424180E-02
|
||||
2.942173E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.355899E-02
|
||||
5.550260E-04
|
||||
3.571813E-02
|
||||
1.275785E-03
|
||||
6.588191E-01
|
||||
2.543824E-01
|
||||
4.171440E-01
|
||||
8.701395E-02
|
||||
7.735493E-01
|
||||
1.575534E-01
|
||||
4.033076E-01
|
||||
5.492660E-02
|
||||
4.513270E+00
|
||||
5.611449E+00
|
||||
1.653243E+00
|
||||
8.369762E-01
|
||||
1.045336E-01
|
||||
1.092727E-02
|
||||
2.486634E-01
|
||||
2.561523E-02
|
||||
1.090478E+00
|
||||
5.381842E-01
|
||||
6.314497E-01
|
||||
1.552199E-01
|
||||
3.417016E+00
|
||||
2.972256E+00
|
||||
5.709899E+00
|
||||
7.095076E+00
|
||||
1.194169E+00
|
||||
4.790398E-01
|
||||
1.420269E-01
|
||||
2.017163E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.214464E-01
|
||||
1.033278E-01
|
||||
2.222160E-02
|
||||
4.937996E-04
|
||||
2.028040E-01
|
||||
4.112944E-02
|
||||
1.417427E+00
|
||||
9.671327E-01
|
||||
1.453489E+00
|
||||
6.697189E-01
|
||||
8.534416E-01
|
||||
2.290345E-01
|
||||
5.367404E+00
|
||||
6.853344E+00
|
||||
1.237276E+00
|
||||
4.961691E-01
|
||||
5.835684E-02
|
||||
3.405521E-03
|
||||
5.574899E-01
|
||||
1.049542E-01
|
||||
4.235354E+00
|
||||
5.638989E+00
|
||||
2.034493E+00
|
||||
1.162774E+00
|
||||
1.533605E+00
|
||||
8.644495E-01
|
||||
4.663027E+00
|
||||
5.641430E+00
|
||||
1.261505E+00
|
||||
7.705206E-01
|
||||
1.954689E+00
|
||||
9.874394E-01
|
||||
1.449729E-01
|
||||
2.101714E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.398153E-01
|
||||
1.954832E-02
|
||||
5.089636E-01
|
||||
8.836228E-02
|
||||
1.422521E+00
|
||||
6.953668E-01
|
||||
1.137705E+00
|
||||
5.670907E-01
|
||||
3.521780E-01
|
||||
6.575561E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
7.713789E-01
|
||||
2.948263E-01
|
||||
3.267703E-01
|
||||
4.763836E-02
|
||||
1.252153E+00
|
||||
4.563949E-01
|
||||
1.962807E-01
|
||||
2.410165E-02
|
||||
1.357567E+00
|
||||
4.362757E-01
|
||||
2.356462E-01
|
||||
3.082678E-02
|
||||
1.380025E+00
|
||||
4.289689E-01
|
||||
1.876891E-01
|
||||
1.675278E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.981880E-01
|
||||
3.927848E-02
|
||||
2.789456E-01
|
||||
5.304261E-02
|
||||
3.897689E-01
|
||||
9.413685E-02
|
||||
9.140885E-01
|
||||
2.822974E-01
|
||||
1.887726E+00
|
||||
7.592780E-01
|
||||
1.841624E+00
|
||||
1.680236E+00
|
||||
4.059938E-01
|
||||
1.562853E-01
|
||||
2.897077E-01
|
||||
8.393057E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.445051E-01
|
||||
5.978276E-02
|
||||
2.234657E-01
|
||||
2.716625E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.940736E-01
|
||||
2.763730E-02
|
||||
6.059470E-02
|
||||
3.671718E-03
|
||||
3.479381E-01
|
||||
1.210609E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
4.783335E-02
|
||||
2.288029E-03
|
||||
5.606011E-01
|
||||
1.607491E-01
|
||||
1.908325E+00
|
||||
1.505641E+00
|
||||
1.255795E-01
|
||||
1.541635E-02
|
||||
7.395548E-01
|
||||
2.274416E-01
|
||||
5.986733E-01
|
||||
9.576988E-02
|
||||
1.095026E+00
|
||||
4.872910E-01
|
||||
1.043470E+00
|
||||
3.153965E-01
|
||||
1.004973E+00
|
||||
6.046910E-01
|
||||
1.724071E-01
|
||||
2.775427E-02
|
||||
0.000000E+00
|
||||
3.452042E-02
|
||||
1.191659E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.679762E-01
|
||||
1.354065E-01
|
||||
5.043842E-02
|
||||
2.544034E-03
|
||||
0.000000E+00
|
||||
1.244277E-01
|
||||
1.548225E-02
|
||||
1.222119E-01
|
||||
1.493575E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.470039E-01
|
||||
2.992133E-01
|
||||
4.313918E-01
|
||||
1.128703E-01
|
||||
1.088037E+00
|
||||
6.007745E-01
|
||||
1.013469E+00
|
||||
5.646900E-01
|
||||
4.738741E-01
|
||||
2.245567E-01
|
||||
6.086518E-02
|
||||
3.704570E-03
|
||||
1.126662E+00
|
||||
4.675322E-01
|
||||
1.008459E+00
|
||||
4.616352E-01
|
||||
1.309592E+00
|
||||
5.665211E-01
|
||||
1.334050E+00
|
||||
5.264819E-01
|
||||
7.324996E-01
|
||||
2.577124E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.227736E-01
|
||||
1.041828E-01
|
||||
9.218244E-01
|
||||
2.000301E-01
|
||||
2.119900E+00
|
||||
1.123846E+00
|
||||
4.366404E-02
|
||||
1.015133E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.309730E-01
|
||||
2.570742E-02
|
||||
1.270911E+00
|
||||
4.617932E-01
|
||||
1.107069E+00
|
||||
4.574496E-01
|
||||
1.269137E-01
|
||||
1.610709E-02
|
||||
2.207099E-01
|
||||
4.871286E-02
|
||||
9.075694E-02
|
||||
8.236821E-03
|
||||
1.046380E-01
|
||||
7.875036E-03
|
||||
2.836364E-01
|
||||
3.508209E-02
|
||||
4.509177E-01
|
||||
7.393615E-02
|
||||
1.077505E+00
|
||||
3.209541E-01
|
||||
1.204982E-02
|
||||
1.451982E-04
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.502937E-01
|
||||
5.035125E-02
|
||||
1.367234E+00
|
||||
5.128884E-01
|
||||
5.563575E-01
|
||||
2.510519E-01
|
||||
3.174809E-01
|
||||
1.007941E-01
|
||||
9.152129E-01
|
||||
2.609325E-01
|
||||
9.040668E-01
|
||||
2.263595E-01
|
||||
7.868812E-01
|
||||
2.436310E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -467,60 +444,22 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
3.390904E-01
|
||||
4.907887E-02
|
||||
6.577001E-01
|
||||
2.346964E-01
|
||||
1.023735E-01
|
||||
8.287220E-03
|
||||
1.499600E-02
|
||||
2.248801E-04
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.395650E-01
|
||||
1.947839E-02
|
||||
1.040555E+00
|
||||
3.043523E-01
|
||||
1.426976E+00
|
||||
6.218295E-01
|
||||
8.342758E-01
|
||||
2.539692E-01
|
||||
3.101170E-01
|
||||
9.617255E-02
|
||||
6.319919E-02
|
||||
3.629541E-03
|
||||
1.292774E-01
|
||||
8.674372E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.056616E-01
|
||||
4.198926E-01
|
||||
7.349640E-02
|
||||
5.401721E-03
|
||||
5.146331E-01
|
||||
1.555789E-01
|
||||
2.464783E-01
|
||||
5.430051E-02
|
||||
7.263842E-02
|
||||
5.276340E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.587357E-01
|
||||
4.992769E-01
|
||||
1.756477E+00
|
||||
7.884472E-01
|
||||
2.541705E-01
|
||||
4.325743E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -528,19 +467,17 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
1.678278E-01
|
||||
2.097037E-02
|
||||
5.312751E-02
|
||||
1.423243E-03
|
||||
3.374418E-01
|
||||
1.138670E-01
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
9.496519E-02
|
||||
4.948061E-03
|
||||
1.596404E-01
|
||||
2.548506E-02
|
||||
2.454011E-02
|
||||
6.022168E-04
|
||||
1.235276E-01
|
||||
1.525907E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
@ -551,8 +488,71 @@ tally 1:
|
|||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
2.422913E-01
|
||||
5.870510E-02
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.208007E-01
|
||||
2.057626E-01
|
||||
1.050464E+00
|
||||
5.524605E-01
|
||||
7.171591E-02
|
||||
5.143172E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
5.214580E-02
|
||||
2.719184E-03
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
0.000000E+00
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
tally 1:
|
||||
4.563929E+02
|
||||
2.091711E+04
|
||||
4.518784E+02
|
||||
2.056386E+04
|
||||
leakage:
|
||||
9.780000E+00
|
||||
9.566400E+00
|
||||
9.750000E+00
|
||||
9.508100E+00
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
9.788797E-02 1.378250E-03
|
||||
9.893460E-02 1.178316E-03
|
||||
|
|
|
|||
1
tests/test_iso_in_lab/inputs_true.dat
Normal file
1
tests/test_iso_in_lab/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
e0409e0660d58857a6a96ff5cb539ccc41c82f0e443e8081ee00bbee7b6c81b0ad43c870950ae37d4a18c329067b09479a27aa171c3a3f5771f53b384496fe61
|
||||
2
tests/test_iso_in_lab/results_true.dat
Normal file
2
tests/test_iso_in_lab/results_true.dat
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
k-combined:
|
||||
9.638450E-01 1.237705E-02
|
||||
26
tests/test_iso_in_lab/test_iso_in_lab.py
Normal file
26
tests/test_iso_in_lab/test_iso_in_lab.py
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
import hashlib
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import PyAPITestHarness
|
||||
import openmc
|
||||
import openmc.mgxs
|
||||
|
||||
|
||||
class IsoInLabTestHarness(PyAPITestHarness):
|
||||
|
||||
def _build_inputs(self):
|
||||
"""Write input XML files with iso-in-lab scattering."""
|
||||
|
||||
self._input_set.build_default_materials_and_geometry()
|
||||
self._input_set.build_default_settings()
|
||||
self._input_set.materials.make_isotropic_in_lab()
|
||||
self._input_set.export()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = IsoInLabTestHarness('statepoint.10.*')
|
||||
harness.main()
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.042388E+00 1.575316E-01
|
||||
9.413559E-01 6.157522E-02
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.831014E-01 2.269849E-02
|
||||
2.496460E-01 1.257055E-02
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
9.922449E-01 1.281824E-02
|
||||
9.790311E-01 9.660522E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.005983E+00 2.248579E-02
|
||||
9.581522E-01 4.261830E-02
|
||||
|
|
|
|||
1
tests/test_mg_basic/inputs_true.dat
Normal file
1
tests/test_mg_basic/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
04b4a5099f0097bbe02983c67dea691d0d0d4ece7fb7c264b9b2c29955baa9e870b6fa999480da08ead1e5a0c078ae33ce1b0a5c8594ad465aedf9bf3933e104
|
||||
2
tests/test_mg_basic/results_true.dat
Normal file
2
tests/test_mg_basic/results_true.dat
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
k-combined:
|
||||
1.045320E+00 5.851680E-02
|
||||
17
tests/test_mg_basic/test_mg_basic.py
Normal file
17
tests/test_mg_basic/test_mg_basic.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness, PyAPITestHarness
|
||||
import openmc
|
||||
|
||||
|
||||
class MGBasicTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
super(MGBasicTestHarness, self)._build_inputs()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = MGBasicTestHarness('statepoint.10.*', False, mg=True)
|
||||
harness.main()
|
||||
1
tests/test_mg_max_order/inputs_true.dat
Normal file
1
tests/test_mg_max_order/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
abe20c626d613e73ccb1a3f8468ad1b9aecca528afa9e8131a411d754eb86b8ab64a6fb1fdc9c0b8b8158ff7c82f548de5912041bf035aa5a2d4532cfe0c9510
|
||||
2
tests/test_mg_max_order/results_true.dat
Normal file
2
tests/test_mg_max_order/results_true.dat
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
k-combined:
|
||||
1.083030E+00 1.855038E-02
|
||||
85
tests/test_mg_max_order/test_mg_max_order.py
Normal file
85
tests/test_mg_max_order/test_mg_max_order.py
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness, PyAPITestHarness
|
||||
from input_set import MGInputSet
|
||||
import openmc
|
||||
|
||||
class MGNuclideInputSet(MGInputSet):
|
||||
def build_default_materials_and_geometry(self):
|
||||
# Define materials needed for 1D/1G slab problem
|
||||
uo2_data = openmc.Macroscopic('uo2_iso', '71c')
|
||||
uo2 = openmc.Material(name='UO2', material_id=1)
|
||||
uo2.set_density('macro', 1.0)
|
||||
uo2.add_macroscopic(uo2_data)
|
||||
|
||||
clad_data = openmc.Macroscopic('clad_iso', '71c')
|
||||
clad = openmc.Material(name='Clad', material_id=2)
|
||||
clad.set_density('macro', 1.0)
|
||||
clad.add_macroscopic(clad_data)
|
||||
|
||||
water_data = openmc.Macroscopic('lwtr_iso', '71c')
|
||||
water = openmc.Material(name='LWTR', material_id=3)
|
||||
water.set_density('macro', 1.0)
|
||||
water.add_macroscopic(water_data)
|
||||
|
||||
# Define the materials file.
|
||||
self.materials.default_xs = '71c'
|
||||
self.materials.add_materials((uo2, clad, water))
|
||||
|
||||
# Define surfaces.
|
||||
|
||||
# Assembly/Problem Boundary
|
||||
left = openmc.XPlane(x0=0.0, surface_id=200,
|
||||
boundary_type='reflective')
|
||||
right = openmc.XPlane(x0=10.0, surface_id=201,
|
||||
boundary_type='reflective')
|
||||
bottom = openmc.YPlane(y0=0.0, surface_id=300,
|
||||
boundary_type='reflective')
|
||||
top = openmc.YPlane(y0=10.0, surface_id=301,
|
||||
boundary_type='reflective')
|
||||
|
||||
down = openmc.ZPlane(z0=0.0, surface_id=0,
|
||||
boundary_type='reflective')
|
||||
fuel_clad_intfc = openmc.ZPlane(z0=2.0, surface_id=1)
|
||||
clad_lwtr_intfc = openmc.ZPlane(z0=2.4, surface_id=2)
|
||||
up = openmc.ZPlane(z0=5.0, surface_id=3,
|
||||
boundary_type='reflective')
|
||||
|
||||
# Define cells
|
||||
c1 = openmc.Cell(cell_id=1)
|
||||
c1.region = +left & -right & +bottom & -top & +down & -fuel_clad_intfc
|
||||
c1.fill = uo2
|
||||
c2 = openmc.Cell(cell_id=2)
|
||||
c2.region = +left & -right & +bottom & -top & +fuel_clad_intfc & -clad_lwtr_intfc
|
||||
c2.fill = clad
|
||||
c3 = openmc.Cell(cell_id=3)
|
||||
c3.region = +left & -right & +bottom & -top & +clad_lwtr_intfc & -up
|
||||
c3.fill = water
|
||||
|
||||
# Define root universe.
|
||||
root = openmc.Universe(universe_id=0, name='root universe')
|
||||
|
||||
root.add_cells((c1,c2,c3))
|
||||
|
||||
# Define the geometry file.
|
||||
geometry = openmc.Geometry()
|
||||
geometry.root_universe = root
|
||||
|
||||
self.geometry.geometry = geometry
|
||||
|
||||
class MGMaxOrderTestHarness(PyAPITestHarness):
|
||||
def __init__(self, statepoint_name, tallies_present, mg=False):
|
||||
PyAPITestHarness.__init__(self, statepoint_name, tallies_present)
|
||||
self._input_set = MGNuclideInputSet()
|
||||
|
||||
def _build_inputs(self):
|
||||
super(MGMaxOrderTestHarness, self)._build_inputs()
|
||||
# Set P1 scattering
|
||||
self._input_set.settings.max_order = 1
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = MGMaxOrderTestHarness('statepoint.10.*', False, mg=True)
|
||||
harness.main()
|
||||
1
tests/test_mg_nuclide/inputs_true.dat
Normal file
1
tests/test_mg_nuclide/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
c9f9e7211bfb2af58130bedfd64592d093b7bfa424953eba433ecf08940595a96b8de7a892f12d1ab465cebd8e5dd784114c1b1299b534ed329df92752c9ed1f
|
||||
2
tests/test_mg_nuclide/results_true.dat
Normal file
2
tests/test_mg_nuclide/results_true.dat
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
k-combined:
|
||||
1.380785E-01 5.556526E-03
|
||||
84
tests/test_mg_nuclide/test_mg_nuclide.py
Normal file
84
tests/test_mg_nuclide/test_mg_nuclide.py
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness, PyAPITestHarness
|
||||
from input_set import MGInputSet
|
||||
import openmc
|
||||
|
||||
class MGNuclideInputSet(MGInputSet):
|
||||
def build_default_materials_and_geometry(self):
|
||||
# Define materials needed for 1D/1G slab problem
|
||||
# This time do using nuclide, not macroscopic
|
||||
uo2 = openmc.Material(name='UO2', material_id=1)
|
||||
uo2.set_density('g/cm3', 1.0)
|
||||
uo2.add_nuclide("uo2_iso", 1.0)
|
||||
|
||||
clad = openmc.Material(name='Clad', material_id=2)
|
||||
clad.set_density('g/cm3', 1.0)
|
||||
clad.add_nuclide("clad_ang_mu", 1.0)
|
||||
|
||||
water_data = openmc.Nuclide('lwtr_iso_mu', '71c')
|
||||
water = openmc.Material(name='LWTR', material_id=3)
|
||||
water.set_density('g/cm3', 1.0)
|
||||
water.add_nuclide("lwtr_iso_mu", 1.0)
|
||||
|
||||
# Define the materials file.
|
||||
self.materials.default_xs = '71c'
|
||||
self.materials.add_materials((uo2, clad, water))
|
||||
|
||||
# Define surfaces.
|
||||
|
||||
# Assembly/Problem Boundary
|
||||
left = openmc.XPlane(x0=0.0, surface_id=200,
|
||||
boundary_type='reflective')
|
||||
right = openmc.XPlane(x0=10.0, surface_id=201,
|
||||
boundary_type='reflective')
|
||||
bottom = openmc.YPlane(y0=0.0, surface_id=300,
|
||||
boundary_type='reflective')
|
||||
top = openmc.YPlane(y0=10.0, surface_id=301,
|
||||
boundary_type='reflective')
|
||||
|
||||
down = openmc.ZPlane(z0=0.0, surface_id=0,
|
||||
boundary_type='reflective')
|
||||
fuel_clad_intfc = openmc.ZPlane(z0=2.0, surface_id=1)
|
||||
clad_lwtr_intfc = openmc.ZPlane(z0=2.4, surface_id=2)
|
||||
up = openmc.ZPlane(z0=5.0, surface_id=3,
|
||||
boundary_type='reflective')
|
||||
|
||||
# Define cells
|
||||
c1 = openmc.Cell(cell_id=1)
|
||||
c1.region = +left & -right & +bottom & -top & +down & -fuel_clad_intfc
|
||||
c1.fill = uo2
|
||||
c2 = openmc.Cell(cell_id=2)
|
||||
c2.region = +left & -right & +bottom & -top & +fuel_clad_intfc & -clad_lwtr_intfc
|
||||
c2.fill = clad
|
||||
c3 = openmc.Cell(cell_id=3)
|
||||
c3.region = +left & -right & +bottom & -top & +clad_lwtr_intfc & -up
|
||||
c3.fill = water
|
||||
|
||||
# Define root universe.
|
||||
root = openmc.Universe(universe_id=0, name='root universe')
|
||||
|
||||
root.add_cells((c1,c2,c3))
|
||||
|
||||
# Define the geometry file.
|
||||
geometry = openmc.Geometry()
|
||||
geometry.root_universe = root
|
||||
|
||||
self.geometry.geometry = geometry
|
||||
|
||||
class MGNuclideTestHarness(PyAPITestHarness):
|
||||
def __init__(self, statepoint_name, tallies_present, mg=False):
|
||||
PyAPITestHarness.__init__(self, statepoint_name, tallies_present)
|
||||
self._input_set = MGNuclideInputSet()
|
||||
|
||||
def _build_inputs(self):
|
||||
super(MGNuclideTestHarness, self)._build_inputs()
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = MGNuclideTestHarness('statepoint.10.*', False, mg=True)
|
||||
harness.main()
|
||||
1
tests/test_mg_tallies/inputs_true.dat
Normal file
1
tests/test_mg_tallies/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
ca8490e0e4549fed727ddc75b6d92cfe5162e11b905218a0afaa3ce2ee0763e2ff38074de27aaa678818624f49c5823650475dfa8f66f502a98fc03145399c0d
|
||||
2906
tests/test_mg_tallies/results_true.dat
Normal file
2906
tests/test_mg_tallies/results_true.dat
Normal file
File diff suppressed because it is too large
Load diff
59
tests/test_mg_tallies/test_mg_tallies.py
Normal file
59
tests/test_mg_tallies/test_mg_tallies.py
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness, PyAPITestHarness
|
||||
import openmc
|
||||
|
||||
|
||||
class MGTalliesTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
# Instantiate a tally mesh
|
||||
mesh = openmc.Mesh(mesh_id=1)
|
||||
mesh.type = 'regular'
|
||||
mesh.dimension = [17, 17, 1]
|
||||
mesh.lower_left = [0.0, 0.0, 0.0]
|
||||
mesh.upper_right = [21.42, 21.42, 100.0]
|
||||
|
||||
# Instantiate some tally filters
|
||||
energy_filter = openmc.Filter(type='energy',
|
||||
bins=[0.0, 20.0])
|
||||
energyout_filter = openmc.Filter(type='energyout',
|
||||
bins=[0.0, 20.0])
|
||||
mesh_filter = openmc.Filter()
|
||||
mesh_filter.mesh = mesh
|
||||
|
||||
mat_filter = openmc.Filter(type='material', bins=[1,2,3])
|
||||
|
||||
tally1 = openmc.Tally(tally_id=1)
|
||||
tally1.add_filter(mesh_filter)
|
||||
tally1.add_score('total')
|
||||
tally1.add_score('absorption')
|
||||
tally1.add_score('flux')
|
||||
tally1.add_score('fission')
|
||||
tally1.add_score('nu-fission')
|
||||
|
||||
tally2 = openmc.Tally(tally_id=2)
|
||||
tally2.add_filter(mat_filter)
|
||||
tally2.add_filter(energy_filter)
|
||||
tally2.add_filter(energyout_filter)
|
||||
tally2.add_score('scatter')
|
||||
tally2.add_score('nu-scatter')
|
||||
|
||||
self._input_set.tallies = openmc.TalliesFile()
|
||||
self._input_set.tallies.add_mesh(mesh)
|
||||
self._input_set.tallies.add_tally(tally1)
|
||||
self._input_set.tallies.add_tally(tally2)
|
||||
|
||||
super(MGTalliesTestHarness, self)._build_inputs()
|
||||
|
||||
def _cleanup(self):
|
||||
super(MGTalliesTestHarness, self)._cleanup()
|
||||
f = os.path.join(os.getcwd(), 'tallies.xml')
|
||||
if os.path.exists(f): os.remove(f)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = MGTalliesTestHarness('statepoint.10.*', True, mg=True)
|
||||
harness.main()
|
||||
|
|
@ -1,49 +1,49 @@
|
|||
material group in nuclide mean std. dev.
|
||||
0 1 1 total 0.419289 0.01638 material group in nuclide mean std. dev.
|
||||
0 1 1 total 0.07774 0.003273 material group in group out nuclide mean std. dev.
|
||||
0 1 1 1 total 0.352665 0.015654 material group out nuclide mean std. dev.
|
||||
0 1 1 total 1 0.119622 material group in nuclide mean std. dev.
|
||||
0 2 1 total 0.247316 0.009562 material group in nuclide mean std. dev.
|
||||
0 2 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 2 1 1 total 0.244838 0.009996 material group out nuclide mean std. dev.
|
||||
0 2 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 3 1 total 0.409938 0.042262 material group in nuclide mean std. dev.
|
||||
0 3 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 3 1 1 total 0.403354 0.041386 material group out nuclide mean std. dev.
|
||||
0 3 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 4 1 total 0.344007 0.05352 material group in nuclide mean std. dev.
|
||||
0 4 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 4 1 1 total 0.340438 0.052067 material group out nuclide mean std. dev.
|
||||
0 4 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 5 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 5 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 5 1 1 total 0 0 material group out nuclide mean std. dev.
|
||||
0 5 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 6 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 6 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 6 1 1 total 0 0 material group out nuclide mean std. dev.
|
||||
0 6 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 7 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 7 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 7 1 1 total 0 0 material group out nuclide mean std. dev.
|
||||
0 7 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 8 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 8 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 8 1 1 total 0 0 material group out nuclide mean std. dev.
|
||||
0 8 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 9 1 total 0.751873 0.559701 material group in nuclide mean std. dev.
|
||||
0 9 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 9 1 1 total 0.695491 0.50757 material group out nuclide mean std. dev.
|
||||
0 9 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 10 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 10 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 10 1 1 total 0 0 material group out nuclide mean std. dev.
|
||||
0 10 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 11 1 total 0.457329 0.403578 material group in nuclide mean std. dev.
|
||||
0 11 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 11 1 1 total 0.446737 0.392775 material group out nuclide mean std. dev.
|
||||
0 11 1 total 0 0 material group in nuclide mean std. dev.
|
||||
0 12 1 total 0.574978 0.38864 material group in nuclide mean std. dev.
|
||||
0 12 1 total 0 0 material group in group out nuclide mean std. dev.
|
||||
0 12 1 1 total 0.559478 0.377512 material group out nuclide mean std. dev.
|
||||
0 12 1 total 0 0
|
||||
0 1 1 total 0.412084 0.02359 material group in nuclide mean std. dev.
|
||||
0 1 1 total 0.076425 0.003691 material group in group out nuclide mean std. dev.
|
||||
0 1 1 1 total 0.345643 0.021487 material group out nuclide mean std. dev.
|
||||
0 1 1 total 1.0 0.055333 material group in nuclide mean std. dev.
|
||||
0 2 1 total 0.241262 0.00841 material group in nuclide mean std. dev.
|
||||
0 2 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 2 1 1 total 0.241262 0.00841 material group out nuclide mean std. dev.
|
||||
0 2 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 3 1 total 0.400028 0.034667 material group in nuclide mean std. dev.
|
||||
0 3 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 3 1 1 total 0.393462 0.033646 material group out nuclide mean std. dev.
|
||||
0 3 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 4 1 total 0.377402 0.072937 material group in nuclide mean std. dev.
|
||||
0 4 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 4 1 1 total 0.371473 0.071226 material group out nuclide mean std. dev.
|
||||
0 4 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 5 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 5 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 5 1 1 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
0 5 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 6 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 6 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 6 1 1 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
0 6 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 7 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 7 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 7 1 1 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
0 7 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 8 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 8 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 8 1 1 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
0 8 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 9 1 total 0.600536 0.748875 material group in nuclide mean std. dev.
|
||||
0 9 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 9 1 1 total 0.600536 0.748875 material group out nuclide mean std. dev.
|
||||
0 9 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 10 1 total 0.235515 0.613974 material group in nuclide mean std. dev.
|
||||
0 10 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 10 1 1 total 0.235515 0.613974 material group out nuclide mean std. dev.
|
||||
0 10 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 11 1 total 0.510145 0.741941 material group in nuclide mean std. dev.
|
||||
0 11 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 11 1 1 total 0.491857 0.715554 material group out nuclide mean std. dev.
|
||||
0 11 1 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
0 12 1 total 0.73836 0.825631 material group in nuclide mean std. dev.
|
||||
0 12 1 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
0 12 1 1 total 0.723265 0.808231 material group out nuclide mean std. dev.
|
||||
0 12 1 total 0.0 0.0
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
sum(distribcell) group in nuclide mean std. dev.
|
||||
0 sum(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... 1 total 0.720213 1.424323 sum(distribcell) group in nuclide mean std. dev.
|
||||
0 sum(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... 1 total 0 0 sum(distribcell) group in group out nuclide mean std. dev.
|
||||
0 sum(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... 1 1 total 0.70466 1.403916 sum(distribcell) group out nuclide mean std. dev.
|
||||
0 sum(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... 1 total 0 0
|
||||
avg(distribcell) group in nuclide mean std. dev.
|
||||
0 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,... 1 total 0.718919 0.520644 avg(distribcell) group in nuclide mean std. dev.
|
||||
0 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,... 1 total 0.0 0.0 avg(distribcell) group in group out nuclide mean std. dev.
|
||||
0 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,... 1 1 total 0.695166 0.510606 avg(distribcell) group out nuclide mean std. dev.
|
||||
0 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,... 1 total 0.0 0.0
|
||||
|
|
@ -1,56 +1,56 @@
|
|||
domain=1 type=transport
|
||||
[ 0.38437891 0.81208747]
|
||||
[ 0.01648997 0.07418959]
|
||||
[ 0.37274472 0.86160691]
|
||||
[ 0.02426918 0.03234902]
|
||||
domain=1 type=nu-fission
|
||||
[ 0.02127008 0.69604034]
|
||||
[ 0.0008939 0.05345764]
|
||||
[ 0.02178897 0.71407658]
|
||||
[ 0.00118187 0.04055185]
|
||||
domain=1 type=nu-scatter matrix
|
||||
[[ 3.49923892e-01 1.73140769e-04]
|
||||
[ 1.94810926e-03 3.79607212e-01]]
|
||||
[[ 0.01664928 0.0001732 ]
|
||||
[ 0.00195193 0.04007819]]
|
||||
[[ 0.3373971 0.00155945]
|
||||
[ 0. 0.42205129]]
|
||||
[[ 0.02303884 0.00051015]
|
||||
[ 0. 0.02161702]]
|
||||
domain=1 type=chi
|
||||
[ 1. 0.]
|
||||
[ 0.11962178 0. ]
|
||||
[ 0.05533329 0. ]
|
||||
domain=2 type=transport
|
||||
[ 0.24504295 0.26645769]
|
||||
[ 0.00882749 0.05220872]
|
||||
[ 0.23725441 0.28593027]
|
||||
[ 0.00818357 0.04879593]
|
||||
domain=2 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=2 type=nu-scatter matrix
|
||||
[[ 0.24365718 0. ]
|
||||
[ 0. 0.25478661]]
|
||||
[[ 0.00908307 0. ]
|
||||
[ 0. 0.05556256]]
|
||||
[[ 0.23725441 0. ]
|
||||
[ 0. 0.28593027]]
|
||||
[[ 0.00818357 0. ]
|
||||
[ 0. 0.04879593]]
|
||||
domain=2 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=3 type=transport
|
||||
[ 0.28227749 1.42731974]
|
||||
[ 0.03724175 0.24712746]
|
||||
[ 0.28690578 1.41815062]
|
||||
[ 0.02740142 0.26530756]
|
||||
domain=3 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=3 type=nu-scatter matrix
|
||||
[[ 0.25396726 0.02727268]
|
||||
[ 0. 1.37652669]]
|
||||
[[ 0.03617307 0.00180698]
|
||||
[ 0. 0.2402569 ]]
|
||||
[[ 0.25993686 0.02618721]
|
||||
[ 0. 1.35952132]]
|
||||
[[ 0.02611466 0.00166461]
|
||||
[ 0. 0.2585046 ]]
|
||||
domain=3 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=4 type=transport
|
||||
[ 0.25572316 1.17976682]
|
||||
[ 0.05191655 0.22938034]
|
||||
[ 0.24244686 1.25395921]
|
||||
[ 0.06103082 0.38836257]
|
||||
domain=4 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=4 type=nu-scatter matrix
|
||||
[[ 0.23297756 0.02228141]
|
||||
[ 0. 1.14680862]]
|
||||
[[ 0.04977114 0.00262525]
|
||||
[ 0. 0.22219839]]
|
||||
[[ 0.2179296 0.023662 ]
|
||||
[ 0. 1.21507398]]
|
||||
[[ 0.0585649 0.00308328]
|
||||
[ 0. 0.3810251 ]]
|
||||
domain=4 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
|
|
@ -111,58 +111,58 @@ domain=8 type=chi
|
|||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=9 type=transport
|
||||
[ 0.50403601 1.68709544]
|
||||
[ 0.37962374 2.53662237]
|
||||
[ 0.60053598 0. ]
|
||||
[ 0.74887543 0. ]
|
||||
domain=9 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=9 type=nu-scatter matrix
|
||||
[[ 0.50403601 0. ]
|
||||
[ 0. 1.41795483]]
|
||||
[[ 0.37962374 0. ]
|
||||
[ 0. 2.15802716]]
|
||||
[[ 0.60053598 0. ]
|
||||
[ 0. 0. ]]
|
||||
[[ 0.74887543 0. ]
|
||||
[ 0. 0. ]]
|
||||
domain=9 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=10 type=transport
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
[ 0.23551495 0. ]
|
||||
[ 0.61397415 0. ]
|
||||
domain=10 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=10 type=nu-scatter matrix
|
||||
[[ 0. 0.]
|
||||
[ 0. 0.]]
|
||||
[[ 0. 0.]
|
||||
[ 0. 0.]]
|
||||
[[ 0.23551495 0. ]
|
||||
[ 0. 0. ]]
|
||||
[[ 0.61397415 0. ]
|
||||
[ 0. 0. ]]
|
||||
domain=10 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=11 type=transport
|
||||
[ 0.30282618 1.00614519]
|
||||
[ 0.40131081 1.09163785]
|
||||
[ 0.18632392 0.94598628]
|
||||
[ 0.63212919 1.59113341]
|
||||
domain=11 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=11 type=nu-scatter matrix
|
||||
[[ 0.27567871 0.02714747]
|
||||
[ 0. 0.95792921]]
|
||||
[[ 0.38567601 0.02000859]
|
||||
[ 0. 1.05195936]]
|
||||
[[ 0.15444875 0.03187517]
|
||||
[ 0. 0.90308451]]
|
||||
[[ 0.59768579 0.0450783 ]
|
||||
[ 0. 1.53214394]]
|
||||
domain=11 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=12 type=transport
|
||||
[ 0.25593293 1.11334475]
|
||||
[ 0.26842571 0.98867569]
|
||||
[ 0.21329208 1.3909745 ]
|
||||
[ 0.27144387 2.13734565]
|
||||
domain=12 type=nu-fission
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
domain=12 type=nu-scatter matrix
|
||||
[[ 0.22631045 0.02962248]
|
||||
[ 0. 1.07168976]]
|
||||
[[ 0.25487194 0.0177599 ]
|
||||
[ 0. 0.95829029]]
|
||||
[[ 0.18605249 0.02723959]
|
||||
[ 0. 1.35711799]]
|
||||
[[ 0.25763254 0.02955488]
|
||||
[ 0. 2.08984614]]
|
||||
domain=12 type=chi
|
||||
[ 0. 0.]
|
||||
[ 0. 0.]
|
||||
|
|
|
|||
|
|
@ -1,121 +1,121 @@
|
|||
material group in nuclide mean std. dev.
|
||||
1 1 1 total 0.384379 0.01649
|
||||
0 1 2 total 0.812087 0.07419 material group in nuclide mean std. dev.
|
||||
1 1 1 total 0.02127 0.000894
|
||||
0 1 2 total 0.69604 0.053458 material group in group out nuclide mean std. dev.
|
||||
3 1 1 1 total 0.349924 0.016649
|
||||
2 1 1 2 total 0.000173 0.000173
|
||||
1 1 2 1 total 0.001948 0.001952
|
||||
0 1 2 2 total 0.379607 0.040078 material group out nuclide mean std. dev.
|
||||
1 1 1 total 1 0.119622
|
||||
0 1 2 total 0 0.000000 material group in nuclide mean std. dev.
|
||||
1 2 1 total 0.245043 0.008827
|
||||
0 2 2 total 0.266458 0.052209 material group in nuclide mean std. dev.
|
||||
1 2 1 total 0 0
|
||||
0 2 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 2 1 1 total 0.243657 0.009083
|
||||
1 1 1 total 0.372745 0.024269
|
||||
0 1 2 total 0.861607 0.032349 material group in nuclide mean std. dev.
|
||||
1 1 1 total 0.021789 0.001182
|
||||
0 1 2 total 0.714077 0.040552 material group in group out nuclide mean std. dev.
|
||||
3 1 1 1 total 0.337397 0.023039
|
||||
2 1 1 2 total 0.001559 0.000510
|
||||
1 1 2 1 total 0.000000 0.000000
|
||||
0 1 2 2 total 0.422051 0.021617 material group out nuclide mean std. dev.
|
||||
1 1 1 total 1.0 0.055333
|
||||
0 1 2 total 0.0 0.000000 material group in nuclide mean std. dev.
|
||||
1 2 1 total 0.237254 0.008184
|
||||
0 2 2 total 0.285930 0.048796 material group in nuclide mean std. dev.
|
||||
1 2 1 total 0.0 0.0
|
||||
0 2 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 2 1 1 total 0.237254 0.008184
|
||||
2 2 1 2 total 0.000000 0.000000
|
||||
1 2 2 1 total 0.000000 0.000000
|
||||
0 2 2 2 total 0.254787 0.055563 material group out nuclide mean std. dev.
|
||||
1 2 1 total 0 0
|
||||
0 2 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 3 1 total 0.282277 0.037242
|
||||
0 3 2 total 1.427320 0.247127 material group in nuclide mean std. dev.
|
||||
1 3 1 total 0 0
|
||||
0 3 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 3 1 1 total 0.253967 0.036173
|
||||
2 3 1 2 total 0.027273 0.001807
|
||||
0 2 2 2 total 0.285930 0.048796 material group out nuclide mean std. dev.
|
||||
1 2 1 total 0.0 0.0
|
||||
0 2 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 3 1 total 0.286906 0.027401
|
||||
0 3 2 total 1.418151 0.265308 material group in nuclide mean std. dev.
|
||||
1 3 1 total 0.0 0.0
|
||||
0 3 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 3 1 1 total 0.259937 0.026115
|
||||
2 3 1 2 total 0.026187 0.001665
|
||||
1 3 2 1 total 0.000000 0.000000
|
||||
0 3 2 2 total 1.376527 0.240257 material group out nuclide mean std. dev.
|
||||
1 3 1 total 0 0
|
||||
0 3 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 4 1 total 0.255723 0.051917
|
||||
0 4 2 total 1.179767 0.229380 material group in nuclide mean std. dev.
|
||||
1 4 1 total 0 0
|
||||
0 4 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 4 1 1 total 0.232978 0.049771
|
||||
2 4 1 2 total 0.022281 0.002625
|
||||
0 3 2 2 total 1.359521 0.258505 material group out nuclide mean std. dev.
|
||||
1 3 1 total 0.0 0.0
|
||||
0 3 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 4 1 total 0.242447 0.061031
|
||||
0 4 2 total 1.253959 0.388363 material group in nuclide mean std. dev.
|
||||
1 4 1 total 0.0 0.0
|
||||
0 4 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 4 1 1 total 0.217930 0.058565
|
||||
2 4 1 2 total 0.023662 0.003083
|
||||
1 4 2 1 total 0.000000 0.000000
|
||||
0 4 2 2 total 1.146809 0.222198 material group out nuclide mean std. dev.
|
||||
1 4 1 total 0 0
|
||||
0 4 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 5 1 total 0 0
|
||||
0 5 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 5 1 total 0 0
|
||||
0 5 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 5 1 1 total 0 0
|
||||
2 5 1 2 total 0 0
|
||||
1 5 2 1 total 0 0
|
||||
0 5 2 2 total 0 0 material group out nuclide mean std. dev.
|
||||
1 5 1 total 0 0
|
||||
0 5 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 6 1 total 0 0
|
||||
0 6 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 6 1 total 0 0
|
||||
0 6 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 6 1 1 total 0 0
|
||||
2 6 1 2 total 0 0
|
||||
1 6 2 1 total 0 0
|
||||
0 6 2 2 total 0 0 material group out nuclide mean std. dev.
|
||||
1 6 1 total 0 0
|
||||
0 6 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 7 1 total 0 0
|
||||
0 7 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 7 1 total 0 0
|
||||
0 7 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 7 1 1 total 0 0
|
||||
2 7 1 2 total 0 0
|
||||
1 7 2 1 total 0 0
|
||||
0 7 2 2 total 0 0 material group out nuclide mean std. dev.
|
||||
1 7 1 total 0 0
|
||||
0 7 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 8 1 total 0 0
|
||||
0 8 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 8 1 total 0 0
|
||||
0 8 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 8 1 1 total 0 0
|
||||
2 8 1 2 total 0 0
|
||||
1 8 2 1 total 0 0
|
||||
0 8 2 2 total 0 0 material group out nuclide mean std. dev.
|
||||
1 8 1 total 0 0
|
||||
0 8 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 9 1 total 0.504036 0.379624
|
||||
0 9 2 total 1.687095 2.536622 material group in nuclide mean std. dev.
|
||||
1 9 1 total 0 0
|
||||
0 9 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 9 1 1 total 0.504036 0.379624
|
||||
0 4 2 2 total 1.215074 0.381025 material group out nuclide mean std. dev.
|
||||
1 4 1 total 0.0 0.0
|
||||
0 4 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 5 1 total 0.0 0.0
|
||||
0 5 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 5 1 total 0.0 0.0
|
||||
0 5 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 5 1 1 total 0.0 0.0
|
||||
2 5 1 2 total 0.0 0.0
|
||||
1 5 2 1 total 0.0 0.0
|
||||
0 5 2 2 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
1 5 1 total 0.0 0.0
|
||||
0 5 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 6 1 total 0.0 0.0
|
||||
0 6 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 6 1 total 0.0 0.0
|
||||
0 6 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 6 1 1 total 0.0 0.0
|
||||
2 6 1 2 total 0.0 0.0
|
||||
1 6 2 1 total 0.0 0.0
|
||||
0 6 2 2 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
1 6 1 total 0.0 0.0
|
||||
0 6 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 7 1 total 0.0 0.0
|
||||
0 7 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 7 1 total 0.0 0.0
|
||||
0 7 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 7 1 1 total 0.0 0.0
|
||||
2 7 1 2 total 0.0 0.0
|
||||
1 7 2 1 total 0.0 0.0
|
||||
0 7 2 2 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
1 7 1 total 0.0 0.0
|
||||
0 7 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 8 1 total 0.0 0.0
|
||||
0 8 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 8 1 total 0.0 0.0
|
||||
0 8 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 8 1 1 total 0.0 0.0
|
||||
2 8 1 2 total 0.0 0.0
|
||||
1 8 2 1 total 0.0 0.0
|
||||
0 8 2 2 total 0.0 0.0 material group out nuclide mean std. dev.
|
||||
1 8 1 total 0.0 0.0
|
||||
0 8 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 9 1 total 0.600536 0.748875
|
||||
0 9 2 total 0.000000 0.000000 material group in nuclide mean std. dev.
|
||||
1 9 1 total 0.0 0.0
|
||||
0 9 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 9 1 1 total 0.600536 0.748875
|
||||
2 9 1 2 total 0.000000 0.000000
|
||||
1 9 2 1 total 0.000000 0.000000
|
||||
0 9 2 2 total 1.417955 2.158027 material group out nuclide mean std. dev.
|
||||
1 9 1 total 0 0
|
||||
0 9 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 10 1 total 0 0
|
||||
0 10 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 10 1 total 0 0
|
||||
0 10 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 10 1 1 total 0 0
|
||||
2 10 1 2 total 0 0
|
||||
1 10 2 1 total 0 0
|
||||
0 10 2 2 total 0 0 material group out nuclide mean std. dev.
|
||||
1 10 1 total 0 0
|
||||
0 10 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 11 1 total 0.302826 0.401311
|
||||
0 11 2 total 1.006145 1.091638 material group in nuclide mean std. dev.
|
||||
1 11 1 total 0 0
|
||||
0 11 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 11 1 1 total 0.275679 0.385676
|
||||
2 11 1 2 total 0.027147 0.020009
|
||||
0 9 2 2 total 0.000000 0.000000 material group out nuclide mean std. dev.
|
||||
1 9 1 total 0.0 0.0
|
||||
0 9 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 10 1 total 0.235515 0.613974
|
||||
0 10 2 total 0.000000 0.000000 material group in nuclide mean std. dev.
|
||||
1 10 1 total 0.0 0.0
|
||||
0 10 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 10 1 1 total 0.235515 0.613974
|
||||
2 10 1 2 total 0.000000 0.000000
|
||||
1 10 2 1 total 0.000000 0.000000
|
||||
0 10 2 2 total 0.000000 0.000000 material group out nuclide mean std. dev.
|
||||
1 10 1 total 0.0 0.0
|
||||
0 10 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 11 1 total 0.186324 0.632129
|
||||
0 11 2 total 0.945986 1.591133 material group in nuclide mean std. dev.
|
||||
1 11 1 total 0.0 0.0
|
||||
0 11 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 11 1 1 total 0.154449 0.597686
|
||||
2 11 1 2 total 0.031875 0.045078
|
||||
1 11 2 1 total 0.000000 0.000000
|
||||
0 11 2 2 total 0.957929 1.051959 material group out nuclide mean std. dev.
|
||||
1 11 1 total 0 0
|
||||
0 11 2 total 0 0 material group in nuclide mean std. dev.
|
||||
1 12 1 total 0.255933 0.268426
|
||||
0 12 2 total 1.113345 0.988676 material group in nuclide mean std. dev.
|
||||
1 12 1 total 0 0
|
||||
0 12 2 total 0 0 material group in group out nuclide mean std. dev.
|
||||
3 12 1 1 total 0.226310 0.254872
|
||||
2 12 1 2 total 0.029622 0.017760
|
||||
0 11 2 2 total 0.903085 1.532144 material group out nuclide mean std. dev.
|
||||
1 11 1 total 0.0 0.0
|
||||
0 11 2 total 0.0 0.0 material group in nuclide mean std. dev.
|
||||
1 12 1 total 0.213292 0.271444
|
||||
0 12 2 total 1.390975 2.137346 material group in nuclide mean std. dev.
|
||||
1 12 1 total 0.0 0.0
|
||||
0 12 2 total 0.0 0.0 material group in group out nuclide mean std. dev.
|
||||
3 12 1 1 total 0.186052 0.257633
|
||||
2 12 1 2 total 0.027240 0.029555
|
||||
1 12 2 1 total 0.000000 0.000000
|
||||
0 12 2 2 total 1.071690 0.958290 material group out nuclide mean std. dev.
|
||||
1 12 1 total 0 0
|
||||
0 12 2 total 0 0
|
||||
0 12 2 2 total 1.357118 2.089846 material group out nuclide mean std. dev.
|
||||
1 12 1 total 0.0 0.0
|
||||
0 12 2 total 0.0 0.0
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,12 +1,12 @@
|
|||
k-combined:
|
||||
1.445285E+00 9.521660E-03
|
||||
1.457760E+00 1.119659E-02
|
||||
Cell
|
||||
ID = 11
|
||||
Name =
|
||||
Material = 2
|
||||
Region = -10000
|
||||
Temperature = [ 500. 0. 700. 800.]
|
||||
Rotation = None
|
||||
Temperature = [ 500. 0. 700. 800.]
|
||||
Translation = None
|
||||
Offset = None
|
||||
Distribcell index= 1
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
|
|
@ -9,7 +8,7 @@ from openmc.stats import Box
|
|||
from openmc.source import Source
|
||||
|
||||
|
||||
class DistribmatTestHarness(PyAPITestHarness):
|
||||
class MultipoleTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
####################
|
||||
# Materials
|
||||
|
|
@ -116,8 +115,15 @@ class DistribmatTestHarness(PyAPITestHarness):
|
|||
|
||||
plots_file.export_to_xml()
|
||||
|
||||
def execute_test(self):
|
||||
if not 'OPENMC_MULTIPOLE_LIBRARY' in os.environ:
|
||||
raise RuntimeError("The 'OPENMC_MULTIPOLE_LIBRARY' environment "
|
||||
"variable must be specified for this test.")
|
||||
else:
|
||||
super(MultipoleTestHarness, self).execute_test()
|
||||
|
||||
def _get_results(self):
|
||||
outstr = super(DistribmatTestHarness, self)._get_results()
|
||||
outstr = super(MultipoleTestHarness, self)._get_results()
|
||||
su = openmc.Summary('summary.h5')
|
||||
outstr += str(su.get_cell_by_id(11))
|
||||
return outstr
|
||||
|
|
@ -126,9 +132,9 @@ class DistribmatTestHarness(PyAPITestHarness):
|
|||
f = os.path.join(os.getcwd(), 'plots.xml')
|
||||
if os.path.exists(f):
|
||||
os.remove(f)
|
||||
super(DistribmatTestHarness, self)._cleanup()
|
||||
super(MultipoleTestHarness, self)._cleanup()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = DistribmatTestHarness('statepoint.5.*')
|
||||
harness = MultipoleTestHarness('statepoint.5.*')
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.013112E+00 2.551515E-02
|
||||
1.034427E+00 1.583807E-02
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
current batch:
|
||||
9.000000E+00
|
||||
1.000000E+01
|
||||
current gen:
|
||||
1.000000E+00
|
||||
particle id:
|
||||
5.550000E+02
|
||||
1.030000E+03
|
||||
run mode:
|
||||
k-eigenvalue
|
||||
particle weight:
|
||||
1.000000E+00
|
||||
particle energy:
|
||||
2.831611E-01
|
||||
3.158576E+00
|
||||
particle xyz:
|
||||
4.973847E+01 6.971699E+00 -5.201827E+01
|
||||
5.846530E+01 -3.717881E+01 -3.787515E+00
|
||||
particle uvw:
|
||||
6.945105E-01 6.295355E-01 -3.483393E-01
|
||||
6.197114E-01 -2.450461E-01 -7.455939E-01
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ from testing_harness import ParticleRestartTestHarness
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = ParticleRestartTestHarness('particle_9_555.*')
|
||||
harness = ParticleRestartTestHarness('particle_10_1030.*')
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
9.706301E-01 4.351374E-02
|
||||
9.570770E-01 2.513234E-02
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.276127E+00 4.678320E-03
|
||||
2.271202E+00 3.876146E-03
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<!-- Sphere with radius 10 -->
|
||||
<surface id="1" type="sphere" coeffs="0 0 0 10" boundary="vacuum"/>
|
||||
<cell id="1" material="1" region="-1" />
|
||||
|
||||
</geometry>
|
||||
1
tests/test_resonance_scattering/inputs_true.dat
Normal file
1
tests/test_resonance_scattering/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
ece83bb075ed8144af89ce7cebf1577dcb2489d2e9ce4afbe61a3e4398837e7a9aaa2ae0cea0a6542f51ca5e0d119b570c675ed1dca0d74237cd5fdce0b606a3
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<materials>
|
||||
|
||||
<material id="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U-238" xs="71c" ao="1.0" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
6.842112E-02 8.480934E-04
|
||||
1.440556E+00 6.383274E-02
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<settings>
|
||||
|
||||
<resonance_scattering>
|
||||
<scatterer>
|
||||
<nuclide>U-238</nuclide>
|
||||
<method>cxs</method>
|
||||
<xs_label>92238.71c</xs_label>
|
||||
<xs_label_0K>92238.71c</xs_label_0K>
|
||||
<E_min>5.0e-6</E_min>
|
||||
<E_max>40.0e-6</E_max>
|
||||
</scatterer>
|
||||
</resonance_scattering>
|
||||
|
||||
<eigenvalue>
|
||||
<batches>10</batches>
|
||||
<inactive>5</inactive>
|
||||
<particles>1000</particles>
|
||||
</eigenvalue>
|
||||
|
||||
<source>
|
||||
<space type="box">
|
||||
<parameters>-4 -4 -4 4 4 4</parameters>
|
||||
</space>
|
||||
</source>
|
||||
|
||||
</settings>
|
||||
|
|
@ -3,9 +3,81 @@
|
|||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import TestHarness
|
||||
from testing_harness import PyAPITestHarness
|
||||
import openmc
|
||||
|
||||
|
||||
class ResonanceScatteringTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
# Materials
|
||||
mat = openmc.Material(material_id=1)
|
||||
mat.set_density('g/cc', 1.0)
|
||||
mat.add_nuclide('U-238', 1.0)
|
||||
mat.add_nuclide('U-235', 0.02)
|
||||
mat.add_nuclide('Pu-239', 0.02)
|
||||
mat.add_nuclide('H-1', 20.0)
|
||||
|
||||
mats_file = openmc.MaterialsFile()
|
||||
mats_file.default_xs = '71c'
|
||||
mats_file.add_material(mat)
|
||||
mats_file.export_to_xml()
|
||||
|
||||
# Geometry
|
||||
dumb_surface = openmc.XPlane(x0=100)
|
||||
dumb_surface.boundary_type = 'reflective'
|
||||
|
||||
c1 = openmc.Cell(cell_id=1)
|
||||
c1.fill = mat
|
||||
c1.region = -dumb_surface
|
||||
|
||||
root_univ = openmc.Universe(universe_id=0)
|
||||
root_univ.add_cell(c1)
|
||||
|
||||
geometry = openmc.Geometry()
|
||||
geometry.root_universe = root_univ
|
||||
geo_file = openmc.GeometryFile()
|
||||
geo_file.geometry = geometry
|
||||
geo_file.export_to_xml()
|
||||
|
||||
# Settings
|
||||
nuclide = openmc.Nuclide('U-238', '71c')
|
||||
nuclide.zaid = 92238
|
||||
res_scatt_dbrc = openmc.ResonanceScattering()
|
||||
res_scatt_dbrc.nuclide = nuclide
|
||||
res_scatt_dbrc.nuclide_0K = nuclide # This is a bad idea! Just for tests
|
||||
res_scatt_dbrc.method = 'DBRC'
|
||||
res_scatt_dbrc.E_min = 1e-6
|
||||
res_scatt_dbrc.E_max = 210e-6
|
||||
|
||||
nuclide = openmc.Nuclide('U-235', '71c')
|
||||
nuclide.zaid = 92235
|
||||
res_scatt_wcm = openmc.ResonanceScattering()
|
||||
res_scatt_wcm.nuclide = nuclide
|
||||
res_scatt_wcm.nuclide_0K = nuclide
|
||||
res_scatt_wcm.method = 'WCM'
|
||||
res_scatt_wcm.E_min = 1e-6
|
||||
res_scatt_wcm.E_max = 210e-6
|
||||
|
||||
nuclide = openmc.Nuclide('Pu-239', '71c')
|
||||
nuclide.zaid = 94239
|
||||
res_scatt_ares = openmc.ResonanceScattering()
|
||||
res_scatt_ares.nuclide = nuclide
|
||||
res_scatt_ares.nuclide_0K = nuclide
|
||||
res_scatt_ares.method = 'ARES'
|
||||
res_scatt_ares.E_min = 1e-6
|
||||
res_scatt_ares.E_max = 210e-6
|
||||
|
||||
sets_file = openmc.SettingsFile()
|
||||
sets_file.batches = 10
|
||||
sets_file.inactive = 5
|
||||
sets_file.particles = 1000
|
||||
sets_file.source = openmc.source.Source(
|
||||
space=openmc.stats.Box([-4, -4, -4], [4, 4, 4]))
|
||||
sets_file.resonance_scattering = [res_scatt_dbrc, res_scatt_wcm,
|
||||
res_scatt_ares]
|
||||
sets_file.export_to_xml()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = TestHarness('statepoint.10.*')
|
||||
harness = ResonanceScatteringTestHarness('statepoint.10.*')
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
8.350634E-01 6.010639E-02
|
||||
8.331430E-01 3.074913E-03
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1e6945632c55491d4584f4976cc6f5c7340874703cfaf739dd956b7124b4260955efb5b6ba041b32536f9a74572d071e0293dced55a41ea305223f698b734c2a
|
||||
a9310752363eb059ff40f16ac9716b41ccab6ec6607d29f498069318745e485d18d784264304cc2586865bd58cef7587203cc22a1d485c58ddd63c14c0defdb9
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.951164E-01 2.504580E-03
|
||||
3.131925E-01 7.639726E-03
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
5c2fdde85affcd44c1b02c07c300acb8e5c189c1adbf7aa079e37a68e8b8313678fc292bd7f6e0d0957f723e05b8146bd165cf3315dde5f6b2f88ebc954cd65e
|
||||
526c91551d9a80dc01216e5cb04162253f12ec684cc2b4912ca18cfc510f1ea2e5303029f1c1607882082b0c2c8a47f25dd5be14678f449a1579e3601d1bdec5
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.014392E-01 7.185055E-03
|
||||
3.026614E-01 3.952004E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.962911E-01 4.073420E-03
|
||||
2.939526E-01 6.311736E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.051173E-01 6.930168E-04
|
||||
3.003258E-01 3.388059E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -10,6 +10,11 @@ from openmc.executor import Executor
|
|||
|
||||
|
||||
class StatepointRestartTestHarness(TestHarness):
|
||||
def __init__(self, final_sp, restart_sp, tallies_present=False):
|
||||
super(StatepointRestartTestHarness, self).__init__(final_sp,
|
||||
tallies_present)
|
||||
self._restart_sp = restart_sp
|
||||
|
||||
def execute_test(self):
|
||||
"""Run OpenMC with the appropriate arguments and check the outputs."""
|
||||
try:
|
||||
|
|
@ -40,7 +45,9 @@ class StatepointRestartTestHarness(TestHarness):
|
|||
|
||||
def _run_openmc_restart(self):
|
||||
# Get the name of the statepoint file.
|
||||
statepoint = glob.glob(os.path.join(os.getcwd(), self._sp_name))
|
||||
statepoint = glob.glob(os.path.join(os.getcwd(), self._restart_sp))
|
||||
assert len(statepoint) == 1
|
||||
statepoint = statepoint[0]
|
||||
|
||||
# Run OpenMC
|
||||
executor = Executor()
|
||||
|
|
@ -52,11 +59,13 @@ class StatepointRestartTestHarness(TestHarness):
|
|||
mpi_exec=self._opts.mpi_exec)
|
||||
|
||||
else:
|
||||
returncode = executor.run_simulation(openmc_exec=self._opts.exe)
|
||||
returncode = executor.run_simulation(openmc_exec=self._opts.exe,
|
||||
restart_file=statepoint)
|
||||
|
||||
assert returncode == 0, 'OpenMC did not exit successfully.'
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = StatepointRestartTestHarness('statepoint.07.*', True)
|
||||
harness = StatepointRestartTestHarness('statepoint.10.h5',
|
||||
'statepoint.07.h5', True)
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
k-combined:
|
||||
9.997733E-01 2.995572E-02
|
||||
9.686215E-01 1.511499E-02
|
||||
tally 1:
|
||||
4.354055E+01
|
||||
3.793645E+02
|
||||
1.808636E+01
|
||||
6.546005E+01
|
||||
2.234465E+00
|
||||
9.989832E-01
|
||||
1.937431E+00
|
||||
7.510380E-01
|
||||
5.021671E+00
|
||||
5.045425E+00
|
||||
3.506791E-02
|
||||
2.460654E-04
|
||||
3.752351E+02
|
||||
2.817188E+04
|
||||
4.243782E+01
|
||||
3.604528E+02
|
||||
1.770205E+01
|
||||
6.273029E+01
|
||||
2.176094E+00
|
||||
9.477949E-01
|
||||
1.881775E+00
|
||||
7.087350E-01
|
||||
4.868971E+00
|
||||
4.744828E+00
|
||||
3.400887E-02
|
||||
2.314715E-04
|
||||
3.644408E+02
|
||||
2.658287E+04
|
||||
tally 2:
|
||||
1.808636E+01
|
||||
6.546005E+01
|
||||
1.770205E+01
|
||||
6.273029E+01
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
5be9b80ecc189d4ee3a6a228d97b0c76b6b47e5204a86ecf03b8faa65c499f6861ffd85c153084bafd0835d10dfacc14f28802901ce966c8a803d60d0c2f42e5
|
||||
9f14aaa1694489032b3ce193ad29ecf6ac8976c88c2dd6b26d4c30ae88348e249a9b702b1d39c22204350b8f3bd689800c1b6a6003f19c7bdaf64084a209a2cc
|
||||
|
|
@ -23,19 +23,19 @@ class TalliesTestHarness(PyAPITestHarness):
|
|||
azimuthal_bins = (-3.1416, -1.8850, -0.6283, 0.6283, 1.8850, 3.1416)
|
||||
azimuthal_filter1 = Filter(type='azimuthal', bins=azimuthal_bins)
|
||||
azimuthal_tally1 = Tally()
|
||||
azimuthal_tally1.add_filter(azimuthal_filter1)
|
||||
azimuthal_tally1.add_score('flux')
|
||||
azimuthal_tally1.filters = [azimuthal_filter1]
|
||||
azimuthal_tally1.scores = ['flux']
|
||||
azimuthal_tally1.estimator = 'tracklength'
|
||||
|
||||
azimuthal_tally2 = Tally()
|
||||
azimuthal_tally2.add_filter(azimuthal_filter1)
|
||||
azimuthal_tally2.add_score('flux')
|
||||
azimuthal_tally2.filters = [azimuthal_filter1]
|
||||
azimuthal_tally2.scores = ['flux']
|
||||
azimuthal_tally2.estimator = 'analog'
|
||||
|
||||
azimuthal_filter2 = Filter(type='azimuthal', bins=(5,))
|
||||
azimuthal_tally3 = Tally()
|
||||
azimuthal_tally3.add_filter(azimuthal_filter2)
|
||||
azimuthal_tally3.add_score('flux')
|
||||
azimuthal_tally3.filters = [azimuthal_filter2]
|
||||
azimuthal_tally3.scores = ['flux']
|
||||
azimuthal_tally3.estimator = 'tracklength'
|
||||
|
||||
mesh_2x2 = Mesh(mesh_id=1)
|
||||
|
|
@ -44,154 +44,129 @@ class TalliesTestHarness(PyAPITestHarness):
|
|||
mesh_2x2.dimension = [2, 2]
|
||||
mesh_filter = Filter(type='mesh', bins=(1,))
|
||||
azimuthal_tally4 = Tally()
|
||||
azimuthal_tally4.add_filter(azimuthal_filter2)
|
||||
azimuthal_tally4.add_filter(mesh_filter)
|
||||
azimuthal_tally4.add_score('flux')
|
||||
azimuthal_tally4.filters = [azimuthal_filter2, mesh_filter]
|
||||
azimuthal_tally4.scores = ['flux']
|
||||
azimuthal_tally4.estimator = 'tracklength'
|
||||
|
||||
cellborn_tally = Tally()
|
||||
cellborn_tally.add_filter(Filter(type='cellborn', bins=(10, 21, 22, 23)))
|
||||
cellborn_tally.add_score('total')
|
||||
cellborn_tally.filters = [Filter(type='cellborn', bins=(10, 21, 22, 23))]
|
||||
cellborn_tally.scores = ['total']
|
||||
|
||||
dg_tally = Tally()
|
||||
dg_tally.add_filter(Filter(type='delayedgroup', bins=(1, 2, 3, 4, 5, 6)))
|
||||
dg_tally.add_score('delayed-nu-fission')
|
||||
dg_tally.filters = [Filter(type='delayedgroup', bins=(1, 2, 3, 4, 5, 6))]
|
||||
dg_tally.scores = ['delayed-nu-fission']
|
||||
|
||||
four_groups = (0.0, 0.253e-6, 1.0e-3, 1.0, 20.0)
|
||||
energy_filter = Filter(type='energy', bins=four_groups)
|
||||
energy_tally = Tally()
|
||||
energy_tally.add_filter(energy_filter)
|
||||
energy_tally.add_score('total')
|
||||
energy_tally.filters = [energy_filter]
|
||||
energy_tally.scores = ['total']
|
||||
|
||||
energyout_filter = Filter(type='energyout', bins=four_groups)
|
||||
energyout_tally = Tally()
|
||||
energyout_tally.add_filter(energyout_filter)
|
||||
energyout_tally.add_score('scatter')
|
||||
energyout_tally.filters = [energyout_filter]
|
||||
energyout_tally.scores = ['scatter']
|
||||
|
||||
transfer_tally = Tally()
|
||||
transfer_tally.add_filter(energy_filter)
|
||||
transfer_tally.add_filter(energyout_filter)
|
||||
transfer_tally.add_score('scatter')
|
||||
transfer_tally.add_score('nu-fission')
|
||||
transfer_tally.filters = [energy_filter, energyout_filter]
|
||||
transfer_tally.scores = ['scatter', 'nu-fission']
|
||||
|
||||
material_tally = Tally()
|
||||
material_tally.add_filter(Filter(type='material', bins=(1, 2, 3, 4)))
|
||||
material_tally.add_score('total')
|
||||
material_tally.filters = [Filter(type='material', bins=(1, 2, 3, 4))]
|
||||
material_tally.scores = ['total']
|
||||
|
||||
mu_tally1 = Tally()
|
||||
mu_tally1.add_filter(Filter(type='mu', bins=(-1.0, -0.5, 0.0, 0.5, 1.0)))
|
||||
mu_tally1.add_score('scatter')
|
||||
mu_tally1.add_score('nu-scatter')
|
||||
mu_tally1.filters = [Filter(type='mu', bins=(-1.0, -0.5, 0.0, 0.5, 1.0))]
|
||||
mu_tally1.scores = ['scatter', 'nu-scatter']
|
||||
|
||||
mu_filter = Filter(type='mu', bins=(5,))
|
||||
mu_tally2 = Tally()
|
||||
mu_tally2.add_filter(mu_filter)
|
||||
mu_tally2.add_score('scatter')
|
||||
mu_tally2.add_score('nu-scatter')
|
||||
mu_tally2.filters = [mu_filter]
|
||||
mu_tally2.scores = ['scatter', 'nu-scatter']
|
||||
|
||||
mu_tally3 = Tally()
|
||||
mu_tally3.add_filter(mu_filter)
|
||||
mu_tally3.add_filter(mesh_filter)
|
||||
mu_tally3.add_score('scatter')
|
||||
mu_tally3.add_score('nu-scatter')
|
||||
mu_tally3.filters = [mu_filter, mesh_filter]
|
||||
mu_tally3.scores = ['scatter', 'nu-scatter']
|
||||
|
||||
polar_bins = (0.0, 0.6283, 1.2566, 1.8850, 2.5132, 3.1416)
|
||||
polar_filter = Filter(type='polar', bins=polar_bins)
|
||||
polar_tally1 = Tally()
|
||||
polar_tally1.add_filter(polar_filter)
|
||||
polar_tally1.add_score('flux')
|
||||
polar_tally1.filters = [polar_filter]
|
||||
polar_tally1.scores = ['flux']
|
||||
polar_tally1.estimator = 'tracklength'
|
||||
|
||||
polar_tally2 = Tally()
|
||||
polar_tally2.add_filter(polar_filter)
|
||||
polar_tally2.add_score('flux')
|
||||
polar_tally2.filters = [polar_filter]
|
||||
polar_tally2.scores = ['flux']
|
||||
polar_tally2.estimator = 'analog'
|
||||
|
||||
polar_filter2 = Filter(type='polar', bins=(5,))
|
||||
polar_tally3 = Tally()
|
||||
polar_tally3.add_filter(polar_filter2)
|
||||
polar_tally3.add_score('flux')
|
||||
polar_tally3.filters = [polar_filter2]
|
||||
polar_tally3.scores = ['flux']
|
||||
polar_tally3.estimator = 'tracklength'
|
||||
|
||||
polar_tally4 = Tally()
|
||||
polar_tally4.add_filter(polar_filter2)
|
||||
polar_tally4.add_filter(mesh_filter)
|
||||
polar_tally4.add_score('flux')
|
||||
polar_tally4.filters = [polar_filter2, mesh_filter]
|
||||
polar_tally4.scores = ['flux']
|
||||
polar_tally4.estimator = 'tracklength'
|
||||
|
||||
universe_tally = Tally()
|
||||
universe_tally.add_filter(Filter(type='universe', bins=(1, 2, 3, 4)))
|
||||
universe_tally.add_score('total')
|
||||
universe_tally.filters = [Filter(type='universe', bins=(1, 2, 3, 4))]
|
||||
universe_tally.scores = ['total']
|
||||
|
||||
cell_filter = Filter(type='cell', bins=(10, 21, 22, 23))
|
||||
score_tallies = [Tally(), Tally(), Tally()]
|
||||
for t in score_tallies:
|
||||
t.add_filter(cell_filter)
|
||||
t.add_score('absorption')
|
||||
t.add_score('delayed-nu-fission')
|
||||
t.add_score('events')
|
||||
t.add_score('fission')
|
||||
t.add_score('inverse-velocity')
|
||||
t.add_score('kappa-fission')
|
||||
t.add_score('(n,2n)')
|
||||
t.add_score('(n,n1)')
|
||||
t.add_score('(n,gamma)')
|
||||
t.add_score('nu-fission')
|
||||
t.add_score('scatter')
|
||||
t.add_score('elastic')
|
||||
t.add_score('total')
|
||||
t.filters = [cell_filter]
|
||||
t.scores = ['absorption', 'delayed-nu-fission', 'events', 'fission',
|
||||
'inverse-velocity', 'kappa-fission', '(n,2n)', '(n,n1)',
|
||||
'(n,gamma)', 'nu-fission', 'scatter', 'elastic', 'total']
|
||||
score_tallies[0].estimator = 'tracklength'
|
||||
score_tallies[1].estimator = 'analog'
|
||||
score_tallies[2].estimator = 'collision'
|
||||
|
||||
cell_filter2 = Filter(type='cell', bins=(21, 22, 23, 27, 28, 29))
|
||||
flux_tallies = [Tally() for i in range(4)]
|
||||
[t.add_filter(cell_filter2) for t in flux_tallies]
|
||||
flux_tallies[0].add_score('flux')
|
||||
[t.add_score('flux-y5') for t in flux_tallies[1:]]
|
||||
for t in flux_tallies:
|
||||
t.filters = [cell_filter2]
|
||||
flux_tallies[0].scores = ['flux']
|
||||
for t in flux_tallies[1:]:
|
||||
t.scores = ['flux-y5']
|
||||
flux_tallies[1].estimator = 'tracklength'
|
||||
flux_tallies[2].estimator = 'analog'
|
||||
flux_tallies[3].estimator = 'collision'
|
||||
|
||||
scatter_tally1 = Tally()
|
||||
scatter_tally1.add_filter(cell_filter)
|
||||
scatter_tally1.add_score('scatter')
|
||||
scatter_tally1.add_score('scatter-1')
|
||||
scatter_tally1.add_score('scatter-2')
|
||||
scatter_tally1.add_score('scatter-3')
|
||||
scatter_tally1.add_score('scatter-4')
|
||||
scatter_tally1.add_score('nu-scatter')
|
||||
scatter_tally1.add_score('nu-scatter-1')
|
||||
scatter_tally1.add_score('nu-scatter-2')
|
||||
scatter_tally1.add_score('nu-scatter-3')
|
||||
scatter_tally1.add_score('nu-scatter-4')
|
||||
scatter_tally1.filters = [cell_filter]
|
||||
scatter_tally1.scores = ['scatter', 'scatter-1', 'scatter-2', 'scatter-3',
|
||||
'scatter-4', 'nu-scatter', 'nu-scatter-1',
|
||||
'nu-scatter-2', 'nu-scatter-3', 'nu-scatter-4']
|
||||
|
||||
scatter_tally2 = Tally()
|
||||
scatter_tally2.add_filter(cell_filter)
|
||||
scatter_tally2.add_score('scatter-p4')
|
||||
scatter_tally2.add_score('scatter-y4')
|
||||
scatter_tally2.add_score('nu-scatter-p4')
|
||||
scatter_tally2.add_score('nu-scatter-y3')
|
||||
scatter_tally2.filters = [cell_filter]
|
||||
scatter_tally2.scores = ['scatter-p4', 'scatter-y4', 'nu-scatter-p4',
|
||||
'nu-scatter-y3']
|
||||
|
||||
total_tallies = [Tally() for i in range(4)]
|
||||
[t.add_filter(cell_filter) for t in total_tallies]
|
||||
total_tallies[0].add_score('total')
|
||||
[t.add_score('total-y4') for t in total_tallies[1:]]
|
||||
[t.add_nuclide('U-235') for t in total_tallies[1:]]
|
||||
[t.add_nuclide('total') for t in total_tallies[1:]]
|
||||
for t in total_tallies:
|
||||
t.filters = [cell_filter]
|
||||
total_tallies[0].scores = ['total']
|
||||
for t in total_tallies[1:]:
|
||||
t.scores = ['total-y4']
|
||||
t.nuclides = ['U-235', 'total']
|
||||
total_tallies[1].estimator = 'tracklength'
|
||||
total_tallies[2].estimator = 'analog'
|
||||
total_tallies[3].estimator = 'collision'
|
||||
|
||||
questionable_tally = Tally()
|
||||
questionable_tally.add_score('transport')
|
||||
questionable_tally.add_score('n1n')
|
||||
questionable_tally.scores = ['transport', 'n1n']
|
||||
|
||||
all_nuclide_tallies = [Tally(), Tally()]
|
||||
for t in all_nuclide_tallies:
|
||||
t.add_filter(cell_filter)
|
||||
t.add_nuclide('all')
|
||||
t.add_score('total')
|
||||
t.filters = [cell_filter]
|
||||
t.nuclides = ['all']
|
||||
t.scores = ['total']
|
||||
all_nuclide_tallies[0].estimator = 'tracklength'
|
||||
all_nuclide_tallies[0].estimator = 'collision'
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
ba8bfe764fcc0484a4fdab8fdc4ff8ad0e4a98b1ff33e8687899c8cc6bf80cb28b3a59aeaec84bd74681b8b5f19f714292ccaa9c9d4ba852b2cc29872f612e10
|
||||
840d2648f9ba782926c71baa84e5a2ad31331e156740a3d1e9d86af8f1f0d301ef8c0f69474975d365dbcf8d229a68c62d3e60286d18045e5254373f4e1010bf
|
||||
|
|
@ -30,13 +30,9 @@ class TallyAggregationTestHarness(PyAPITestHarness):
|
|||
|
||||
# Initialized the tallies
|
||||
tally = openmc.Tally(name='distribcell tally')
|
||||
tally.add_filter(energy_filter)
|
||||
tally.add_filter(distrib_filter)
|
||||
tally.add_score('nu-fission')
|
||||
tally.add_score('total')
|
||||
tally.add_nuclide(u235)
|
||||
tally.add_nuclide(u238)
|
||||
tally.add_nuclide(pu239)
|
||||
tally.filters = [energy_filter, distrib_filter]
|
||||
tally.scores = ['nu-fission', 'total']
|
||||
tally.nuclides = [u235, u238, pu239]
|
||||
tallies_file.add_tally(tally)
|
||||
|
||||
# Export tallies to file
|
||||
|
|
|
|||
|
|
@ -1,134 +1,134 @@
|
|||
[[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
...,
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]][[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]][[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 8.90240785e-05 8.31464209e-11 4.41507090e-05 4.12357364e-11]
|
||||
[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 4.69276830e-05 4.38293656e-11 2.35903380e-05 2.20328275e-11]
|
||||
[ 3.84607356e-05 3.15690405e-05 1.93340411e-05 1.58696166e-05]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
...,
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]][[[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]][[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 7.29618709e-05 5.98879928e-05 3.61847984e-05 2.97009235e-05]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
...,
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00]]][[[ 0.00000000e+00 4.41507090e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 2.35903380e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 1.93340411e-05 0.00000000e+00]]
|
||||
[[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]
|
||||
[ 0. 0. 0. 0.]]][[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 4.41507090e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 2.35903380e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 1.93340411e-05 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 4.41507090e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 2.35903380e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 1.93340411e-05 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
...,
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]][[[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]][[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 3.61847984e-05 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
...,
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]
|
||||
|
||||
[[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]
|
||||
[ 0.00000000e+00 0.00000000e+00 0.00000000e+00]]]
|
||||
[[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]
|
||||
[ 0. 0. 0.]]]
|
||||
|
|
@ -40,22 +40,15 @@ class TallyArithmeticTestHarness(PyAPITestHarness):
|
|||
|
||||
# Initialized the tallies
|
||||
tally = openmc.Tally(name='tally 1')
|
||||
tally.add_filter(material_filter)
|
||||
tally.add_filter(energy_filter)
|
||||
tally.add_filter(distrib_filter)
|
||||
tally.add_score('nu-fission')
|
||||
tally.add_score('total')
|
||||
tally.add_nuclide(u235)
|
||||
tally.add_nuclide(pu239)
|
||||
tally.filters = [material_filter, energy_filter, distrib_filter]
|
||||
tally.scores = ['nu-fission', 'total']
|
||||
tally.nuclides = [u235, pu239]
|
||||
tallies_file.add_tally(tally)
|
||||
|
||||
tally = openmc.Tally(name='tally 2')
|
||||
tally.add_filter(energy_filter)
|
||||
tally.add_filter(mesh_filter)
|
||||
tally.add_score('total')
|
||||
tally.add_score('fission')
|
||||
tally.add_nuclide(u238)
|
||||
tally.add_nuclide(u235)
|
||||
tally.filters = [energy_filter, mesh_filter]
|
||||
tally.scores = ['total', 'fission']
|
||||
tally.nuclides = [u238, u235]
|
||||
tallies_file.add_tally(tally)
|
||||
tallies_file.add_mesh(mesh)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
k-combined:
|
||||
1.005983E+00 2.248579E-02
|
||||
9.581522E-01 4.261830E-02
|
||||
tally 1:
|
||||
1.423676E+01
|
||||
4.330937E+01
|
||||
1.529084E+01
|
||||
4.769011E+01
|
||||
tally 2:
|
||||
2.914798E+00
|
||||
1.831649E+00
|
||||
3.198905E+00
|
||||
2.114129E+00
|
||||
tally 3:
|
||||
4.088282E+01
|
||||
3.662539E+02
|
||||
4.510603E+01
|
||||
4.183089E+02
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
k-combined:
|
||||
9.851180E-01 1.587642E-02
|
||||
9.752414E-01 4.425137E-02
|
||||
tally 1:
|
||||
7.516940E+00
|
||||
1.149356E+01
|
||||
1.700884E+00
|
||||
5.835345E-01
|
||||
1.635327E+00
|
||||
5.385674E-01
|
||||
5.816056E+00
|
||||
6.901370E+00
|
||||
7.516940E+00
|
||||
1.149356E+01
|
||||
1.700884E+00
|
||||
5.835345E-01
|
||||
1.635327E+00
|
||||
5.385674E-01
|
||||
5.816056E+00
|
||||
6.901370E+00
|
||||
6.903183E+00
|
||||
9.661095E+00
|
||||
1.569337E+00
|
||||
4.971849E-01
|
||||
1.521894E+00
|
||||
4.673221E-01
|
||||
5.333846E+00
|
||||
5.778631E+00
|
||||
6.903183E+00
|
||||
9.661095E+00
|
||||
1.569337E+00
|
||||
4.971849E-01
|
||||
1.521894E+00
|
||||
4.673221E-01
|
||||
5.333846E+00
|
||||
5.778631E+00
|
||||
tally 2:
|
||||
7.516940E+00
|
||||
1.149356E+01
|
||||
1.700884E+00
|
||||
5.835345E-01
|
||||
1.635327E+00
|
||||
5.385674E-01
|
||||
5.816056E+00
|
||||
6.901370E+00
|
||||
6.903183E+00
|
||||
9.661095E+00
|
||||
1.569337E+00
|
||||
4.971849E-01
|
||||
1.521894E+00
|
||||
4.673221E-01
|
||||
5.333846E+00
|
||||
5.778631E+00
|
||||
|
|
|
|||
1
tests/test_tally_slice_merge/inputs_true.dat
Normal file
1
tests/test_tally_slice_merge/inputs_true.dat
Normal file
|
|
@ -0,0 +1 @@
|
|||
8d1ab9e4add51b99045e990ac9c3dad9447e9720d811bc430d4bfdd7c2c035424bcb7750e4a4d0ec0460ea1ef4be46ac58372ed01d55f5d8cfeebbce75559066
|
||||
49
tests/test_tally_slice_merge/results_true.dat
Normal file
49
tests/test_tally_slice_merge/results_true.dat
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 21 U-235 fission 1.08e-01 7.94e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 21 U-235 nu-fission 2.64e-01 1.94e-02 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 21 U-238 fission 1.51e-07 1.00e-08 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 21 U-238 nu-fission 3.76e-07 2.50e-08 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 21 U-235 fission 3.12e-02 2.56e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 21 U-235 nu-fission 7.65e-02 6.24e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 21 U-238 fission 2.00e-02 1.30e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 21 U-238 nu-fission 5.56e-02 3.78e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 27 U-235 fission 4.43e-02 7.21e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 27 U-235 nu-fission 1.08e-01 1.76e-02 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 27 U-238 fission 6.14e-08 9.64e-09 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 27 U-238 nu-fission 1.53e-07 2.40e-08 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 27 U-235 fission 1.39e-02 1.06e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 27 U-235 nu-fission 3.40e-02 2.61e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 27 U-238 fission 9.72e-03 1.21e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 6.25e-07 2.00e+01 27 U-238 nu-fission 2.71e-02 3.80e-03 energy low [MeV] energy high [MeV] cell nuclide score mean std. dev.
|
||||
0 0.00e+00 6.25e-07 21 U-235 fission 1.08e-01 7.94e-03
|
||||
1 0.00e+00 6.25e-07 21 U-235 nu-fission 2.64e-01 1.94e-02
|
||||
2 0.00e+00 6.25e-07 21 U-238 fission 1.51e-07 1.00e-08
|
||||
3 0.00e+00 6.25e-07 21 U-238 nu-fission 3.76e-07 2.50e-08
|
||||
4 0.00e+00 6.25e-07 27 U-235 fission 4.43e-02 7.21e-03
|
||||
5 0.00e+00 6.25e-07 27 U-235 nu-fission 1.08e-01 1.76e-02
|
||||
6 0.00e+00 6.25e-07 27 U-238 fission 6.14e-08 9.64e-09
|
||||
7 0.00e+00 6.25e-07 27 U-238 nu-fission 1.53e-07 2.40e-08
|
||||
8 6.25e-07 2.00e+01 21 U-235 fission 3.12e-02 2.56e-03
|
||||
9 6.25e-07 2.00e+01 21 U-235 nu-fission 7.65e-02 6.24e-03
|
||||
10 6.25e-07 2.00e+01 21 U-238 fission 2.00e-02 1.30e-03
|
||||
11 6.25e-07 2.00e+01 21 U-238 nu-fission 5.56e-02 3.78e-03
|
||||
12 6.25e-07 2.00e+01 27 U-235 fission 1.39e-02 1.06e-03
|
||||
13 6.25e-07 2.00e+01 27 U-235 nu-fission 3.40e-02 2.61e-03
|
||||
14 6.25e-07 2.00e+01 27 U-238 fission 9.72e-03 1.21e-03
|
||||
15 6.25e-07 2.00e+01 27 U-238 nu-fission 2.71e-02 3.80e-03 sum(distribcell) energy low [MeV] energy high [MeV] nuclide score mean std. dev.
|
||||
0 (0, 100, 2000, 30000) 0.00e+00 6.25e-07 U-235 fission 0.00e+00 0.00e+00
|
||||
1 (0, 100, 2000, 30000) 0.00e+00 6.25e-07 U-235 nu-fission 0.00e+00 0.00e+00
|
||||
2 (0, 100, 2000, 30000) 0.00e+00 6.25e-07 U-238 fission 0.00e+00 0.00e+00
|
||||
3 (0, 100, 2000, 30000) 0.00e+00 6.25e-07 U-238 nu-fission 0.00e+00 0.00e+00
|
||||
4 (0, 100, 2000, 30000) 6.25e-07 2.00e+01 U-235 fission 0.00e+00 0.00e+00
|
||||
5 (0, 100, 2000, 30000) 6.25e-07 2.00e+01 U-235 nu-fission 0.00e+00 0.00e+00
|
||||
6 (0, 100, 2000, 30000) 6.25e-07 2.00e+01 U-238 fission 0.00e+00 0.00e+00
|
||||
7 (0, 100, 2000, 30000) 6.25e-07 2.00e+01 U-238 nu-fission 0.00e+00 0.00e+00
|
||||
8 (500, 5000, 50000) 0.00e+00 6.25e-07 U-235 fission 0.00e+00 0.00e+00
|
||||
9 (500, 5000, 50000) 0.00e+00 6.25e-07 U-235 nu-fission 0.00e+00 0.00e+00
|
||||
10 (500, 5000, 50000) 0.00e+00 6.25e-07 U-238 fission 0.00e+00 0.00e+00
|
||||
11 (500, 5000, 50000) 0.00e+00 6.25e-07 U-238 nu-fission 0.00e+00 0.00e+00
|
||||
12 (500, 5000, 50000) 6.25e-07 2.00e+01 U-235 fission 0.00e+00 0.00e+00
|
||||
13 (500, 5000, 50000) 6.25e-07 2.00e+01 U-235 nu-fission 0.00e+00 0.00e+00
|
||||
14 (500, 5000, 50000) 6.25e-07 2.00e+01 U-238 fission 0.00e+00 0.00e+00
|
||||
15 (500, 5000, 50000) 6.25e-07 2.00e+01 U-238 nu-fission 0.00e+00 0.00e+00
|
||||
165
tests/test_tally_slice_merge/test_tally_slice_merge.py
Normal file
165
tests/test_tally_slice_merge/test_tally_slice_merge.py
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
import hashlib
|
||||
import itertools
|
||||
sys.path.insert(0, os.pardir)
|
||||
from testing_harness import PyAPITestHarness
|
||||
import openmc
|
||||
|
||||
|
||||
class TallySliceMergeTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
|
||||
# The summary.h5 file needs to be created to read in the tallies
|
||||
self._input_set.settings.output = {'summary': True}
|
||||
|
||||
# Initialize the tallies file
|
||||
tallies_file = openmc.TalliesFile()
|
||||
|
||||
# Define nuclides and scores to add to both tallies
|
||||
self.nuclides = ['U-235', 'U-238']
|
||||
self.scores = ['fission', 'nu-fission']
|
||||
|
||||
# Define filters for energy and spatial domain
|
||||
|
||||
low_energy = openmc.Filter(type='energy', bins=[0., 0.625e-6])
|
||||
high_energy = openmc.Filter(type='energy', bins=[0.625e-6, 20.])
|
||||
merged_energies = low_energy.merge(high_energy)
|
||||
|
||||
cell_21 = openmc.Filter(type='cell', bins=[21])
|
||||
cell_27 = openmc.Filter(type='cell', bins=[27])
|
||||
distribcell_filter = openmc.Filter(type='distribcell', bins=[21])
|
||||
|
||||
self.cell_filters = [cell_21, cell_27]
|
||||
self.energy_filters = [low_energy, high_energy]
|
||||
|
||||
# Initialize cell tallies with filters, nuclides and scores
|
||||
tallies = []
|
||||
for cell_filter in self.energy_filters:
|
||||
for energy_filter in self.cell_filters:
|
||||
for nuclide in self.nuclides:
|
||||
for score in self.scores:
|
||||
tally = openmc.Tally()
|
||||
tally.estimator = 'tracklength'
|
||||
tally.add_score(score)
|
||||
tally.add_nuclide(nuclide)
|
||||
tally.add_filter(cell_filter)
|
||||
tally.add_filter(energy_filter)
|
||||
tallies.append(tally)
|
||||
|
||||
# Merge all cell tallies together
|
||||
while len(tallies) != 1:
|
||||
halfway = int(len(tallies) / 2)
|
||||
zip_split = zip(tallies[:halfway], tallies[halfway:])
|
||||
tallies = list(map(lambda xy: xy[0].merge(xy[1]), zip_split))
|
||||
|
||||
# Specify a name for the tally
|
||||
tallies[0].name = 'cell tally'
|
||||
|
||||
# Initialize a distribcell tally
|
||||
distribcell_tally = openmc.Tally(name='distribcell tally')
|
||||
distribcell_tally.estimator = 'tracklength'
|
||||
distribcell_tally.add_filter(distribcell_filter)
|
||||
distribcell_tally.add_filter(merged_energies)
|
||||
for score in self.scores:
|
||||
distribcell_tally.add_score(score)
|
||||
for nuclide in self.nuclides:
|
||||
distribcell_tally.add_nuclide(nuclide)
|
||||
|
||||
# Add tallies to a TalliesFile
|
||||
tallies_file = openmc.TalliesFile()
|
||||
tallies_file.add_tally(tallies[0])
|
||||
tallies_file.add_tally(distribcell_tally)
|
||||
|
||||
# Export tallies to file
|
||||
self._input_set.tallies = tallies_file
|
||||
super(TallySliceMergeTestHarness, self)._build_inputs()
|
||||
|
||||
def _get_results(self, hash_output=False):
|
||||
"""Digest info in the statepoint and return as a string."""
|
||||
|
||||
# Read the statepoint file.
|
||||
statepoint = glob.glob(os.path.join(os.getcwd(), self._sp_name))[0]
|
||||
sp = openmc.StatePoint(statepoint)
|
||||
|
||||
# Read the summary file.
|
||||
summary = glob.glob(os.path.join(os.getcwd(), 'summary.h5'))[0]
|
||||
su = openmc.Summary(summary)
|
||||
sp.link_with_summary(su)
|
||||
|
||||
# Extract the cell tally
|
||||
tallies = [sp.get_tally(name='cell tally')]
|
||||
|
||||
# Slice the tallies by cell filter bins
|
||||
cell_filter_prod = itertools.product(tallies, self.cell_filters)
|
||||
tallies = map(lambda tf: tf[0].get_slice(filters=[tf[1].type],
|
||||
filter_bins=[tf[1].get_bin(0)]), cell_filter_prod)
|
||||
|
||||
# Slice the tallies by energy filter bins
|
||||
energy_filter_prod = itertools.product(tallies, self.energy_filters)
|
||||
tallies = map(lambda tf: tf[0].get_slice(filters=[tf[1].type],
|
||||
filter_bins=[(tf[1].get_bin(0),)]), energy_filter_prod)
|
||||
|
||||
# Slice the tallies by nuclide
|
||||
nuclide_prod = itertools.product(tallies, self.nuclides)
|
||||
tallies = map(lambda tn: tn[0].get_slice(nuclides=[tn[1]]), nuclide_prod)
|
||||
|
||||
# Slice the tallies by score
|
||||
score_prod = itertools.product(tallies, self.scores)
|
||||
tallies = map(lambda ts: ts[0].get_slice(scores=[ts[1]]), score_prod)
|
||||
tallies = list(tallies)
|
||||
|
||||
# Initialize an output string
|
||||
outstr = ''
|
||||
|
||||
# Append sliced Tally Pandas DataFrames to output string
|
||||
for tally in tallies:
|
||||
df = tally.get_pandas_dataframe()
|
||||
outstr += df.to_string()
|
||||
|
||||
# Merge all tallies together
|
||||
while len(tallies) != 1:
|
||||
halfway = int(len(tallies) / 2)
|
||||
zip_split = zip(tallies[:halfway], tallies[halfway:])
|
||||
tallies = list(map(lambda xy: xy[0].merge(xy[1]), zip_split))
|
||||
|
||||
# Append merged Tally Pandas DataFrame to output string
|
||||
df = tallies[0].get_pandas_dataframe()
|
||||
outstr += df.to_string()
|
||||
|
||||
# Extract the distribcell tally
|
||||
distribcell_tally = sp.get_tally(name='distribcell tally')
|
||||
|
||||
# Sum up a few subdomains from the distribcell tally
|
||||
sum1 = distribcell_tally.summation(filter_type='distribcell',
|
||||
filter_bins=[0,100,2000,30000])
|
||||
# Sum up a few subdomains from the distribcell tally
|
||||
sum2 = distribcell_tally.summation(filter_type='distribcell',
|
||||
filter_bins=[500,5000,50000])
|
||||
|
||||
# Merge the distribcell tally slices
|
||||
merge_tally = sum1.merge(sum2)
|
||||
|
||||
# Append merged Tally Pandas DataFrame to output string
|
||||
df = merge_tally.get_pandas_dataframe()
|
||||
outstr += df.to_string()
|
||||
|
||||
# Hash the results if necessary
|
||||
if hash_output:
|
||||
sha512 = hashlib.sha512()
|
||||
sha512.update(outstr.encode('utf-8'))
|
||||
outstr = sha512.hexdigest()
|
||||
|
||||
return outstr
|
||||
|
||||
def _cleanup(self):
|
||||
super(TallySliceMergeTestHarness, self)._cleanup()
|
||||
f = os.path.join(os.getcwd(), 'tallies.xml')
|
||||
if os.path.exists(f): os.remove(f)
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = TallySliceMergeTestHarness('statepoint.10.h5', True)
|
||||
harness.main()
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
k-combined:
|
||||
9.875001E-01 3.961945E-03
|
||||
9.722624E-01 1.010453E-02
|
||||
tally 1:
|
||||
2.128147E+01
|
||||
3.021699E+01
|
||||
4.842434E+00
|
||||
1.563989E+00
|
||||
4.695086E+00
|
||||
1.470132E+00
|
||||
1.643904E+01
|
||||
1.803258E+01
|
||||
2.128147E+01
|
||||
3.021699E+01
|
||||
4.842434E+00
|
||||
1.563989E+00
|
||||
4.695086E+00
|
||||
1.470132E+00
|
||||
1.643904E+01
|
||||
1.803258E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
tally 2:
|
||||
2.128147E+01
|
||||
3.021699E+01
|
||||
4.842434E+00
|
||||
1.563989E+00
|
||||
4.695086E+00
|
||||
1.470132E+00
|
||||
1.643904E+01
|
||||
1.803258E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ from testing_harness import TestHarness
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = TestHarness('statepoint.20.*', True)
|
||||
harness = TestHarness('statepoint.15.*', True)
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
k-combined:
|
||||
9.853099E-01 3.825057E-03
|
||||
9.722624E-01 1.010453E-02
|
||||
tally 1:
|
||||
2.409492E+01
|
||||
3.417475E+01
|
||||
5.477076E+00
|
||||
1.765385E+00
|
||||
5.309347E+00
|
||||
1.658803E+00
|
||||
1.861784E+01
|
||||
2.040621E+01
|
||||
2.409492E+01
|
||||
3.417475E+01
|
||||
5.477076E+00
|
||||
1.765385E+00
|
||||
5.309347E+00
|
||||
1.658803E+00
|
||||
1.861784E+01
|
||||
2.040621E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
tally 2:
|
||||
2.409492E+01
|
||||
3.417475E+01
|
||||
5.477076E+00
|
||||
1.765385E+00
|
||||
5.309347E+00
|
||||
1.658803E+00
|
||||
1.861784E+01
|
||||
2.040621E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ from testing_harness import TestHarness
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
harness = TestHarness('statepoint.22.*', True)
|
||||
harness = TestHarness('statepoint.15.*', True)
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
k-combined:
|
||||
9.906276E-01 1.800527E-03
|
||||
9.733783E-01 1.678094E-02
|
||||
tally 1:
|
||||
7.043320E+00
|
||||
9.922203E+00
|
||||
1.610208E+00
|
||||
5.185662E-01
|
||||
1.564118E+00
|
||||
4.893096E-01
|
||||
5.433111E+00
|
||||
5.904259E+00
|
||||
7.043320E+00
|
||||
9.922203E+00
|
||||
1.610208E+00
|
||||
5.185662E-01
|
||||
1.564118E+00
|
||||
4.893096E-01
|
||||
5.433111E+00
|
||||
5.904259E+00
|
||||
6.901811E+00
|
||||
9.536643E+00
|
||||
1.572259E+00
|
||||
4.947922E-01
|
||||
1.527087E+00
|
||||
4.667459E-01
|
||||
5.329553E+00
|
||||
5.686973E+00
|
||||
6.901811E+00
|
||||
9.536643E+00
|
||||
1.572259E+00
|
||||
4.947922E-01
|
||||
1.527087E+00
|
||||
4.667459E-01
|
||||
5.329553E+00
|
||||
5.686973E+00
|
||||
tally 2:
|
||||
7.043320E+00
|
||||
9.922203E+00
|
||||
1.610208E+00
|
||||
5.185662E-01
|
||||
1.564118E+00
|
||||
4.893096E-01
|
||||
5.433111E+00
|
||||
5.904259E+00
|
||||
6.901811E+00
|
||||
9.536643E+00
|
||||
1.572259E+00
|
||||
4.947922E-01
|
||||
1.527087E+00
|
||||
4.667459E-01
|
||||
5.329553E+00
|
||||
5.686973E+00
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
k-combined:
|
||||
9.875396E-01 4.095985E-03
|
||||
9.722624E-01 1.010453E-02
|
||||
tally 1:
|
||||
1.415943E+01
|
||||
2.006888E+01
|
||||
3.225529E+00
|
||||
1.040975E+00
|
||||
3.128858E+00
|
||||
9.794019E-01
|
||||
1.093390E+01
|
||||
1.196901E+01
|
||||
1.415943E+01
|
||||
2.006888E+01
|
||||
3.225529E+00
|
||||
1.040975E+00
|
||||
3.128858E+00
|
||||
9.794019E-01
|
||||
1.093390E+01
|
||||
1.196901E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
tally 2:
|
||||
1.415943E+01
|
||||
2.006888E+01
|
||||
3.225529E+00
|
||||
1.040975E+00
|
||||
3.128858E+00
|
||||
9.794019E-01
|
||||
1.093390E+01
|
||||
1.196901E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989777E-01
|
||||
3.063616E+00
|
||||
9.391667E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.546115E-01 2.982307E-03
|
||||
3.634132E-01 6.507584E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.155788E-01 7.559348E-03
|
||||
3.330789E-01 2.216495E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
3.021779E-01 3.813358E-03
|
||||
2.943619E-01 3.309635E-03
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.045350E+00 2.750547E-02
|
||||
1.062505E+00 2.674375E-02
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue