mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Added example with reflective boundary conditions.
This commit is contained in:
parent
e8cff2565d
commit
7a35883e24
3 changed files with 52 additions and 0 deletions
19
examples/reflective/geometry.xml
Normal file
19
examples/reflective/geometry.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0"?>
|
||||
<geometry>
|
||||
|
||||
<!-- Definition of Cells -->
|
||||
<cell uid="1">
|
||||
<universe>0</universe>
|
||||
<material>1</material>
|
||||
<surfaces>1 -2 3 -4 5 -6</surfaces>
|
||||
</cell>
|
||||
|
||||
<!-- Defition of Surfaces -->
|
||||
<surface uid="1" type="x-plane" coeffs="-1" boundary="vacuum" />
|
||||
<surface uid="2" type="x-plane" coeffs="1" boundary="vacuum" />
|
||||
<surface uid="3" type="y-plane" coeffs="-1" boundary="reflective" />
|
||||
<surface uid="4" type="y-plane" coeffs="1" boundary="reflective" />
|
||||
<surface uid="5" type="z-plane" coeffs="-1" boundary="reflective" />
|
||||
<surface uid="6" type="z-plane" coeffs="1" boundary="reflective" />
|
||||
|
||||
</geometry>
|
||||
10
examples/reflective/materials.xml
Normal file
10
examples/reflective/materials.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<materials>
|
||||
|
||||
<!-- Definition of materials -->
|
||||
<material uid="1">
|
||||
<density value="4.5" units="g/cc" />
|
||||
<nuclide name="U-235" xs="03c" ao="1.0" />
|
||||
</material>
|
||||
|
||||
</materials>
|
||||
23
examples/reflective/settings.xml
Normal file
23
examples/reflective/settings.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings>
|
||||
|
||||
<!-- Path for cross section library -->
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<!-- Parameters for criticality calculation -->
|
||||
<criticality>
|
||||
<cycles>500</cycles>
|
||||
<inactive>10</inactive>
|
||||
<particles>1000</particles>
|
||||
</criticality>
|
||||
|
||||
<!-- How verbose output should be -->
|
||||
<verbosity value="7" />
|
||||
|
||||
<!-- Starting source -->
|
||||
<source>
|
||||
<type>box</type>
|
||||
<coeffs>-1 -1 -1 1 1 1</coeffs>
|
||||
</source>
|
||||
|
||||
</settings>
|
||||
Loading…
Add table
Add a link
Reference in a new issue