mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -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
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<surface id="1" type="z-cylinder" coeffs="0 0 2" />
|
||||
<surface id="2" type="z-cylinder" coeffs="0 0 5" />
|
||||
<surface id="3" type="z-cylinder" coeffs="0 0 10" boundary="vacuum" />
|
||||
<surface id="4" type="y-plane" coeffs="5" boundary="vacuum" />
|
||||
|
||||
<cell id="1" material="1" region=" -1 -4" />
|
||||
<cell id="2" material="3" region="1 -2 -4" />
|
||||
<cell id="3" material="2" region="2 -3 -4" />
|
||||
|
||||
</geometry>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<materials>
|
||||
|
||||
<material id="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
<material id="2">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
<material id="3">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
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>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<plots>
|
||||
|
||||
<plot id="1" basis="xy">
|
||||
<origin>0. 0. 0.</origin>
|
||||
<width>25 25</width>
|
||||
<pixels>200 200</pixels>
|
||||
<color id="1" rgb="255 0 0" /> <!-- Red -->
|
||||
<meshlines meshtype="entropy" linewidth="0" />
|
||||
</plot>
|
||||
|
||||
<plot id="2" basis="xz">
|
||||
<origin>0. 0. 0.</origin>
|
||||
<width>25 25</width>
|
||||
<pixels>200 200</pixels>
|
||||
<mask components="1 3" background="255 255 255" />
|
||||
<meshlines meshtype="tally" id="2" linewidth="0" />
|
||||
</plot>
|
||||
|
||||
<plot id="3" basis="yz" color_by="material">
|
||||
<origin>0. 0. 0.</origin>
|
||||
<width>25 25</width>
|
||||
<pixels>200 200</pixels>
|
||||
<background>0 0 0</background>
|
||||
</plot>
|
||||
|
||||
<plot id="4" type="voxel">
|
||||
<pixels>100 100 10</pixels>
|
||||
<origin>0. 0. 0.</origin>
|
||||
<width>20 20 10</width>
|
||||
</plot>
|
||||
|
||||
</plots>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<settings>
|
||||
|
||||
<run_mode>plot</run_mode>
|
||||
|
||||
<mesh id="1">
|
||||
<dimension>5 4 3</dimension>
|
||||
<lower_left>-10 -10 -10</lower_left>
|
||||
<upper_right>10 10 10</upper_right>
|
||||
</mesh>
|
||||
<entropy_mesh>1</entropy_mesh>
|
||||
|
||||
</settings>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<tallies>
|
||||
|
||||
<mesh id="2" type="rectilinear">
|
||||
<x_grid>-10 10</x_grid>
|
||||
<y_grid>-10 10</y_grid>
|
||||
<z_grid>-10 0 5 7.5 8.75 10</z_grid>
|
||||
</mesh>
|
||||
|
||||
<filter id="1">
|
||||
<type>mesh</type>
|
||||
<bins>2</bins>
|
||||
</filter>
|
||||
|
||||
<tally id="1">
|
||||
<filters>1</filters>
|
||||
<scores>total</scores>
|
||||
</tally>
|
||||
|
||||
</tallies>
|
||||
Loading…
Add table
Add a link
Reference in a new issue