mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
add regression test for white boundary condition
This commit is contained in:
parent
c377231d8d
commit
37df7e6a3c
4 changed files with 30 additions and 0 deletions
0
tests/regression_tests/white_plane/__init__.py
Normal file
0
tests/regression_tests/white_plane/__init__.py
Normal file
9
tests/regression_tests/white_plane/materials.xml
Normal file
9
tests/regression_tests/white_plane/materials.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<materials>
|
||||
|
||||
<material id="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
15
tests/regression_tests/white_plane/settings.xml
Normal file
15
tests/regression_tests/white_plane/settings.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0"?>
|
||||
<settings>
|
||||
|
||||
<run_mode>eigenvalue</run_mode>
|
||||
<batches>10</batches>
|
||||
<inactive>5</inactive>
|
||||
<particles>1000</particles>
|
||||
|
||||
<source>
|
||||
<space type="box">
|
||||
<parameters>-4 -4 -4 4 4 4</parameters>
|
||||
</space>
|
||||
</source>
|
||||
|
||||
</settings>
|
||||
6
tests/regression_tests/white_plane/test.py
Normal file
6
tests/regression_tests/white_plane/test.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from tests.testing_harness import TestHarness
|
||||
|
||||
|
||||
def test_white_plane():
|
||||
harness = TestHarness('statepoint.10.h5')
|
||||
harness.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue