mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Make translation and rotation tests more thorough
This commit is contained in:
parent
cb5db790d7
commit
2ed0fceb7d
6 changed files with 24 additions and 14 deletions
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<surface id="1" type="sphere" coeffs="0 0 0 10" boundary="vacuum"/>
|
||||
<surface id="2" type="z-plane" coeffs="-100" />
|
||||
<surface id="3" type="z-plane" coeffs="100" />
|
||||
<surface id="1" type="sphere" coeffs="0 0 0 10" boundary="vacuum" />
|
||||
<surface id="2" type="sphere" coeffs="1 0 0 5" />
|
||||
|
||||
<cell id="1" fill="2" rotation="45 45 45" region="-1" />
|
||||
<cell id="2" universe="2" material="1" region="2 -3" />
|
||||
<cell id="1" fill="2" rotation="10 20 30" region="-1" />
|
||||
<cell id="2" universe="2" material="1" region="-2" />
|
||||
<cell id="3" universe="2" material="2" region="2" />
|
||||
|
||||
</geometry>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,13 @@
|
|||
<materials>
|
||||
|
||||
<material id="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<density value="10" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
<material id="2">
|
||||
<density value="0.1" units="g/cc" />
|
||||
<nuclide name="H1" ao="0.1" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.943619E-01 3.309646E-03
|
||||
4.240695E-01 8.013236E-03
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<surface id="1" type="sphere" coeffs="0 0 0 10" boundary="vacuum"/>
|
||||
<surface id="2" type="z-plane" coeffs="-100" />
|
||||
<surface id="3" type="z-plane" coeffs="100" />
|
||||
<surface id="1" type="sphere" coeffs="0 0 0 10" boundary="vacuum" />
|
||||
<surface id="2" type="sphere" coeffs="0 0 0 5" />
|
||||
|
||||
<cell id="1" fill="2" translation="2.3 5.0 -10.0" region="-1" />
|
||||
<cell id="2" universe="2" material="1" region="2 -3" />
|
||||
<cell id="1" fill="2" translation="1 2 3" region="-1" />
|
||||
<cell id="2" universe="2" material="1" region="-2" />
|
||||
<cell id="3" universe="2" material="2" region="2" />
|
||||
|
||||
</geometry>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,13 @@
|
|||
<materials>
|
||||
|
||||
<material id="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<density value="10" units="g/cc" />
|
||||
<nuclide name="U235" ao="1.0" />
|
||||
</material>
|
||||
|
||||
<material id="2">
|
||||
<density value="0.1" units="g/cc" />
|
||||
<nuclide name="H1" ao="0.1" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
k-combined:
|
||||
2.943619E-01 3.309646E-03
|
||||
4.101355E-01 1.577552E-02
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue