mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
adding back files to be reviewed
This commit is contained in:
parent
ae28233110
commit
bc09d1ef55
1244 changed files with 301904 additions and 0 deletions
10
tests/regression_tests/trigger_batch_interval/geometry.xml
Normal file
10
tests/regression_tests/trigger_batch_interval/geometry.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<surface id="1" type="sphere" coeffs="0. 0. 0. 1.4" />
|
||||
<surface id="2" type="sphere" coeffs="0. 0. 0. 5.35" boundary="vacuum" />
|
||||
|
||||
<cell id="1" material="void" region="-1" /> <!-- cavity -->
|
||||
<cell id="2" material="1" region=" 1 -2" /> <!-- Pu Core -->
|
||||
|
||||
</geometry>
|
||||
11
tests/regression_tests/trigger_batch_interval/materials.xml
Normal file
11
tests/regression_tests/trigger_batch_interval/materials.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<materials>
|
||||
|
||||
<!-- Plutonium -->
|
||||
<material id="1">
|
||||
<density value="18.4757" units="g/cm3" />
|
||||
<nuclide name="Pu239" ao="1.0" />
|
||||
</material>
|
||||
|
||||
|
||||
</materials>
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
k-combined:
|
||||
9.722624E-01 1.010455E-02
|
||||
tally 1:
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989775E-01
|
||||
3.063616E+00
|
||||
9.391665E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989775E-01
|
||||
3.063616E+00
|
||||
9.391665E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
tally 2:
|
||||
1.392936E+01
|
||||
1.941888E+01
|
||||
3.159556E+00
|
||||
9.989775E-01
|
||||
3.063616E+00
|
||||
9.391665E-01
|
||||
1.076980E+01
|
||||
1.160931E+01
|
||||
25
tests/regression_tests/trigger_batch_interval/settings.xml
Normal file
25
tests/regression_tests/trigger_batch_interval/settings.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<settings>
|
||||
<run_mode>eigenvalue</run_mode>
|
||||
<batches>15</batches>
|
||||
<inactive>5</inactive>
|
||||
<particles>1000</particles>
|
||||
<keff_trigger>
|
||||
<type>std_dev</type>
|
||||
<threshold>0.004</threshold>
|
||||
</keff_trigger>
|
||||
|
||||
<trigger>
|
||||
<active>true</active>
|
||||
<max_batches>30</max_batches>
|
||||
<batch_interval>1</batch_interval>
|
||||
</trigger>
|
||||
|
||||
<source>
|
||||
<space>
|
||||
<type>point</type>
|
||||
<parameters>0.0 0.0 0.0</parameters>
|
||||
</space>
|
||||
</source>
|
||||
|
||||
</settings>
|
||||
14
tests/regression_tests/trigger_batch_interval/tallies.xml
Normal file
14
tests/regression_tests/trigger_batch_interval/tallies.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<tallies>
|
||||
|
||||
<tally id="1">
|
||||
<nuclides>all</nuclides>
|
||||
<scores>total absorption fission scatter</scores>
|
||||
</tally>
|
||||
|
||||
<tally id="2">
|
||||
<nuclides>Pu239</nuclides>
|
||||
<scores>total absorption fission scatter</scores>
|
||||
</tally>
|
||||
|
||||
</tallies>
|
||||
6
tests/regression_tests/trigger_batch_interval/test.py
Normal file
6
tests/regression_tests/trigger_batch_interval/test.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from tests.testing_harness import TestHarness
|
||||
|
||||
|
||||
def test_trigger_batch_interval():
|
||||
harness = TestHarness('statepoint.15.h5')
|
||||
harness.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue