mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
update old tests to use new model.xml
This commit is contained in:
parent
7200d42644
commit
04806858ca
66 changed files with 1241 additions and 1787 deletions
76
tests/regression_tests/plot/model.xml
Normal file
76
tests/regression_tests/plot/model.xml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<model>
|
||||
<materials>
|
||||
<material depletable="true" id="1">
|
||||
<density units="g/cc" value="4.5" />
|
||||
<nuclide ao="1.0" name="U235" />
|
||||
</material>
|
||||
<material depletable="true" id="2">
|
||||
<density units="g/cc" value="4.5" />
|
||||
<nuclide ao="1.0" name="U235" />
|
||||
</material>
|
||||
<material depletable="true" id="3">
|
||||
<density units="g/cc" value="4.5" />
|
||||
<nuclide ao="1.0" name="U235" />
|
||||
</material>
|
||||
</materials>
|
||||
<geometry>
|
||||
<cell id="1" material="1" region="-1 -4" universe="0" />
|
||||
<cell id="2" material="3" region="1 -2 -4" universe="0" />
|
||||
<cell id="3" material="2" region="2 -3 -4" universe="0" />
|
||||
<surface coeffs="0.0 0.0 2.0" id="1" type="z-cylinder" />
|
||||
<surface coeffs="0.0 0.0 5.0" id="2" type="z-cylinder" />
|
||||
<surface boundary="vacuum" coeffs="0.0 0.0 10.0" id="3" type="z-cylinder" />
|
||||
<surface boundary="vacuum" coeffs="5.0" id="4" type="y-plane" />
|
||||
</geometry>
|
||||
<settings>
|
||||
<run_mode>plot</run_mode>
|
||||
<entropy_mesh>1</entropy_mesh>
|
||||
<mesh id="1">
|
||||
<dimension>5 4 3</dimension>
|
||||
<lower_left>-10.0 -10.0 -10.0</lower_left>
|
||||
<upper_right>10.0 10.0 10.0</upper_right>
|
||||
</mesh>
|
||||
</settings>
|
||||
<tallies>
|
||||
<mesh id="2" type="rectilinear">
|
||||
<x_grid>-10.0 10.0</x_grid>
|
||||
<y_grid>-10.0 10.0</y_grid>
|
||||
<z_grid>-10.0 0.0 5.0 7.5 8.75 10.0</z_grid>
|
||||
</mesh>
|
||||
<filter id="1" type="mesh">
|
||||
<bins>2</bins>
|
||||
</filter>
|
||||
<tally id="1">
|
||||
<filters>1</filters>
|
||||
<scores>total</scores>
|
||||
</tally>
|
||||
</tallies>
|
||||
<plots>
|
||||
<plot basis="xy" color_by="cell" id="1" type="slice">
|
||||
<origin>0.0 0.0 0.0</origin>
|
||||
<width>25.0 25.0</width>
|
||||
<pixels>200 200</pixels>
|
||||
<color id="1" rgb="255 0 0" />
|
||||
<meshlines linewidth="0" meshtype="entropy" />
|
||||
</plot>
|
||||
<plot basis="xz" color_by="cell" id="2" type="slice">
|
||||
<origin>0.0 0.0 0.0</origin>
|
||||
<width>25.0 25.0</width>
|
||||
<pixels>200 200</pixels>
|
||||
<mask background="255 255 255" components="1 3" />
|
||||
<meshlines id="2" linewidth="0" meshtype="tally" />
|
||||
</plot>
|
||||
<plot basis="yz" color_by="material" id="3" type="slice">
|
||||
<origin>0.0 0.0 0.0</origin>
|
||||
<width>25.0 25.0</width>
|
||||
<pixels>200 200</pixels>
|
||||
<background>0 0 0</background>
|
||||
</plot>
|
||||
<plot color_by="cell" id="4" type="voxel">
|
||||
<origin>0.0 0.0 0.0</origin>
|
||||
<width>20.0 20.0 10.0</width>
|
||||
<pixels>100 100 10</pixels>
|
||||
</plot>
|
||||
</plots>
|
||||
</model>
|
||||
Loading…
Add table
Add a link
Reference in a new issue