mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Update test results for Ubuntu 16.04
This commit is contained in:
parent
8231751b88
commit
d1e051c857
9 changed files with 20 additions and 19 deletions
|
|
@ -86,7 +86,7 @@ Elastic Scattering
|
|||
------------------
|
||||
|
||||
Note that the multi-group mode makes no distinction between elastic or
|
||||
inelastic scattering reactions. The spceific multi-group scattering
|
||||
inelastic scattering reactions. The specific multi-group scattering
|
||||
implementation is discussed in the :ref:`multi-group-scatter` section.
|
||||
|
||||
Elastic scattering refers to the process by which a neutron scatters off a
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
k-combined:
|
||||
1.029540E+00 1.765356E-02
|
||||
1.029540E+00 1.765357E-02
|
||||
tally 1:
|
||||
1.144958E+02
|
||||
1.311468E+03
|
||||
|
|
@ -93,7 +93,7 @@ tally 3:
|
|||
0.000000E+00
|
||||
6.939496E+01
|
||||
3.014077E+02
|
||||
6.294738E-01
|
||||
6.294737E-01
|
||||
2.532146E-02
|
||||
4.991526E+01
|
||||
1.566280E+02
|
||||
|
|
@ -129,7 +129,7 @@ tally 3:
|
|||
0.000000E+00
|
||||
6.885265E+01
|
||||
2.965191E+02
|
||||
6.537576E-01
|
||||
6.537575E-01
|
||||
2.783733E-02
|
||||
4.958341E+01
|
||||
1.546656E+02
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<nuclide ao="0.0049817" name="U235" />
|
||||
</material>
|
||||
<material id="14">
|
||||
<density units="atom/b-cm" value="0.087742" />
|
||||
<density units="atom/b-cm" value="0.017742" />
|
||||
<nuclide ao="1.0" name="C0" />
|
||||
<sab name="c_Graphite" />
|
||||
</material>
|
||||
|
|
@ -67,8 +67,8 @@
|
|||
<settings>
|
||||
<run_mode>eigenvalue</run_mode>
|
||||
<particles>1000</particles>
|
||||
<batches>10</batches>
|
||||
<inactive>5</inactive>
|
||||
<batches>5</batches>
|
||||
<inactive>2</inactive>
|
||||
<source strength="1.0">
|
||||
<space type="box">
|
||||
<parameters>-0.9899494936611666 -0.9899494936611666 0.0 0.9899494936611666 0.9899494936611666 10.0</parameters>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.744283E+00 1.734930E-03
|
||||
1.910374E+00 2.685991E-02
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import numpy as np
|
||||
from math import sqrt
|
||||
|
||||
import openmc
|
||||
|
||||
from tests.testing_harness import PyAPITestHarness
|
||||
|
|
@ -13,7 +14,7 @@ class HexLatticeCoincidentTestHarness(PyAPITestHarness):
|
|||
materials.append(fuel_mat)
|
||||
|
||||
matrix = openmc.Material()
|
||||
matrix.set_density('atom/b-cm', 8.7742E-02)
|
||||
matrix.set_density('atom/b-cm', 1.7742E-02)
|
||||
matrix.add_element('C', 1.0, 'ao')
|
||||
matrix.add_s_alpha_beta('c_Graphite')
|
||||
materials.append(matrix)
|
||||
|
|
@ -94,7 +95,7 @@ class HexLatticeCoincidentTestHarness(PyAPITestHarness):
|
|||
coolant_univ.add_cells(coolant_channel)
|
||||
|
||||
half_width = assembly_pitch # cm
|
||||
edge_length = (2./np.sqrt(3.0)) * half_width
|
||||
edge_length = (2./sqrt(3.0)) * half_width
|
||||
|
||||
inf_mat = openmc.Cell()
|
||||
inf_mat.fill = matrix
|
||||
|
|
@ -132,19 +133,19 @@ class HexLatticeCoincidentTestHarness(PyAPITestHarness):
|
|||
settings.run_mode = 'eigenvalue'
|
||||
|
||||
source = openmc.Source()
|
||||
corner_dist = np.sqrt(2) * pin_rad
|
||||
corner_dist = sqrt(2) * pin_rad
|
||||
ll = [-corner_dist, -corner_dist, 0.0]
|
||||
ur = [corner_dist, corner_dist, 10.0]
|
||||
source.space = openmc.stats.Box(ll, ur)
|
||||
source.strength = 1.0
|
||||
settings.source = source
|
||||
settings.output = {'summary' : False}
|
||||
settings.batches = 10
|
||||
settings.inactive = 5
|
||||
settings.batches = 5
|
||||
settings.inactive = 2
|
||||
settings.particles = 1000
|
||||
settings.seed = 22
|
||||
settings.export_to_xml()
|
||||
|
||||
def test_lattice_hex_coincident_surf():
|
||||
harness = HexLatticeCoincidentTestHarness('statepoint.10.h5')
|
||||
harness = HexLatticeCoincidentTestHarness('statepoint.5.h5')
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<settings>
|
||||
<run_mode>eigenvalue</run_mode>
|
||||
<particles>1000</particles>
|
||||
<particles>400</particles>
|
||||
<batches>5</batches>
|
||||
<inactive>0</inactive>
|
||||
<source strength="1.0">
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
8.757212E-01 5.686265E-02
|
||||
8.474822E-01 1.767966E-02
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ def make_model():
|
|||
# Settings
|
||||
model.settings.batches = 5
|
||||
model.settings.inactive = 0
|
||||
model.settings.particles = 1000
|
||||
model.settings.particles = 400
|
||||
model.settings.source = openmc.Source(space=openmc.stats.Box(
|
||||
[-4, -4, -4], [4, 4, 4]))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
1.701412E+00 3.180877E-02
|
||||
1.701412E+00 3.180881E-02
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue