example

hi all

I am a beginner in this code OpenMC, I want an example of geomtrie in which it defines with a box
thanks

In the examples folder when you download openmc there are some input files that you can reference. Below a simple box with reflective boundary conditions:


<?xml version="1.0"?>
<geometry>

  <surface id="1" type="x-plane" coeffs="-0.62992" boundary="reflective" />

  <surface id="2" type="x-plane" coeffs=" 0.62992" boundary="reflective" />

  <surface id="3" type="y-plane" coeffs="-0.62992" boundary="reflective" />

  <surface id="4" type="y-plane" coeffs=" 0.62992" boundary="reflective" />

  <surface id="5" type="z-plane" coeffs="-0.5"     boundary="reflective" />

  <surface id="6" type="z-plane" coeffs=" 0.5"     boundary="reflective" />

  <cell id="1" material="1" surfaces="1 -2 3 -4 5 -6" />

</geometry>

-Bryan