mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Updating PyAPITestHarness to allow inputs_true file to be specified.
This commit is contained in:
parent
7bb93041d3
commit
72e85dd4fa
11 changed files with 26750 additions and 11 deletions
92
tests/regression_tests/unstructured_mesh/inputs_true5.dat
Normal file
92
tests/regression_tests/unstructured_mesh/inputs_true5.dat
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<geometry>
|
||||
<cell id="40" material="28" name="fuel" region="108 -109 110 -111 112 -113" universe="14" />
|
||||
<cell id="41" material="29" name="clad" region="(-108 | 109 | -110 | 111 | -112 | 113) (114 -115 116 -117 118 -119)" universe="14" />
|
||||
<cell id="42" material="30" name="water" region="(-114 | 115 | -116 | 117 | -118 | 119) (120 -121 122 -123 124 -125)" universe="14" />
|
||||
<surface coeffs="-5.0" id="108" name="minimum x" type="x-plane" />
|
||||
<surface coeffs="5.0" id="109" name="maximum x" type="x-plane" />
|
||||
<surface coeffs="-5.0" id="110" name="minimum y" type="y-plane" />
|
||||
<surface coeffs="5.0" id="111" name="maximum y" type="y-plane" />
|
||||
<surface coeffs="-5.0" id="112" name="minimum z" type="z-plane" />
|
||||
<surface coeffs="5.0" id="113" name="maximum z" type="z-plane" />
|
||||
<surface coeffs="-6.0" id="114" name="minimum x" type="x-plane" />
|
||||
<surface coeffs="6.0" id="115" name="maximum x" type="x-plane" />
|
||||
<surface coeffs="-6.0" id="116" name="minimum y" type="y-plane" />
|
||||
<surface coeffs="6.0" id="117" name="maximum y" type="y-plane" />
|
||||
<surface coeffs="-6.0" id="118" name="minimum z" type="z-plane" />
|
||||
<surface coeffs="6.0" id="119" name="maximum z" type="z-plane" />
|
||||
<surface boundary="vacuum" coeffs="-15" id="120" name="minimum x" type="x-plane" />
|
||||
<surface boundary="vacuum" coeffs="15" id="121" name="maximum x" type="x-plane" />
|
||||
<surface boundary="vacuum" coeffs="-15" id="122" name="minimum y" type="y-plane" />
|
||||
<surface boundary="vacuum" coeffs="15" id="123" name="maximum y" type="y-plane" />
|
||||
<surface boundary="vacuum" coeffs="-15" id="124" name="minimum z" type="z-plane" />
|
||||
<surface boundary="vacuum" coeffs="15" id="125" name="maximum z" type="z-plane" />
|
||||
</geometry>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<materials>
|
||||
<material depletable="true" id="28" name="fuel">
|
||||
<density units="g/cc" value="4.5" />
|
||||
<nuclide ao="1.0" name="U235" />
|
||||
</material>
|
||||
<material id="29" name="zircaloy">
|
||||
<density units="g/cc" value="5.77" />
|
||||
<nuclide ao="0.5145" name="Zr90" />
|
||||
<nuclide ao="0.1122" name="Zr91" />
|
||||
<nuclide ao="0.1715" name="Zr92" />
|
||||
<nuclide ao="0.1738" name="Zr94" />
|
||||
<nuclide ao="0.028" name="Zr96" />
|
||||
</material>
|
||||
<material id="30" name="water">
|
||||
<density units="atom/b-cm" value="0.07416" />
|
||||
<nuclide ao="2.0" name="H1" />
|
||||
<nuclide ao="1.0" name="O16" />
|
||||
</material>
|
||||
</materials>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<settings>
|
||||
<run_mode>fixed source</run_mode>
|
||||
<particles>100</particles>
|
||||
<batches>10</batches>
|
||||
<source strength="1.0">
|
||||
<space origin="0.0 0.0 0.0" type="spherical">
|
||||
<r parameters="0.0 0.0" type="uniform" />
|
||||
<theta type="discrete">
|
||||
<parameters>0.0 1.0</parameters>
|
||||
</theta>
|
||||
<phi type="discrete">
|
||||
<parameters>0.0 1.0</parameters>
|
||||
</phi>
|
||||
</space>
|
||||
<angle reference_uvw="-1.0 0.0 0.0" type="monodirectional" />
|
||||
<energy type="discrete">
|
||||
<parameters>15000000.0 1.0</parameters>
|
||||
</energy>
|
||||
</source>
|
||||
</settings>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<tallies>
|
||||
<mesh id="11">
|
||||
<dimension>10 10 10</dimension>
|
||||
<lower_left>-10.0 -10.0 -10.0</lower_left>
|
||||
<upper_right>10.0 10.0 10.0</upper_right>
|
||||
</mesh>
|
||||
<mesh id="12" type="unstructured">
|
||||
<mesh_file>test_mesh_tets.h5m</mesh_file>
|
||||
</mesh>
|
||||
<filter id="11" type="mesh">
|
||||
<bins>11</bins>
|
||||
</filter>
|
||||
<filter id="12" type="mesh">
|
||||
<bins>12</bins>
|
||||
</filter>
|
||||
<tally id="11" name="regular mesh tally">
|
||||
<filters>11</filters>
|
||||
<scores>flux</scores>
|
||||
<estimator>tracklength</estimator>
|
||||
</tally>
|
||||
<tally id="12" name="unstructured mesh tally">
|
||||
<filters>12</filters>
|
||||
<scores>flux</scores>
|
||||
<estimator>tracklength</estimator>
|
||||
</tally>
|
||||
</tallies>
|
||||
Loading…
Add table
Add a link
Reference in a new issue