Neutron sources and simplified models of SHINE's neutron generators, for MCNP and OpenMC, with the neutron and photon fields they give where parts are irradiated. Each source is made with beam-target; each system's MCNP and OpenMC models match number for number, and all are ready to run.
| System | Neutron yield | Peak neutron flux | Peak 1-MeV(Si) equivalent flux | ||
|---|---|---|---|---|---|
| Artemis | SHINE Radiation Effects | 1.75 × 10¹³ n/s | 6.79 × 10⁹ n/cm²-s | 1.08 × 10¹⁰ n/cm²-s | Details |
| Apollo | UKAEA | 3.11 × 10¹³ n/s | 2.09 × 10¹⁰ n/cm²-s | 3.70 × 10¹⁰ n/cm²-s | Details |
Both are DT generators: a 280 keV, 45 mA deuteron beam travels down a 137 cm chamber of deuterium and tritium gas. The yields are each system's operating level for its use. The fluxes are from MCNP; OpenMC agrees within 0.6% for neutrons (see Methods).
Artemis, SHINE's neutron generator for SHINE Radiation Effects, sits in a water pit below ground, with an irradiation cavity on each side of its chamber. Parts go in a cassette in each cavity. Its peak is on a 5 × 5 × 0.1 cm plate as close to the chamber as a part in the cassette can get.
Apollo, SHINE's neutron generator for UKAEA (the UK Atomic Energy Authority), hangs from the ceiling slab of its irradiation room, with parts placed around it. Its peak is in a shell 0.1 cm thick and 5 cm tall against the chamber's outer wall.
Each system has its own files, named after it (<system> is artemis or apollo):
| Path | Contents |
|---|---|
source/<system>.toml |
The beam-target input for the source |
source/<System>/ |
The source, all written by beam-target: source.sdef (MCNP), source.h5 and its reader openmc_source.py (OpenMC), summary.toml, and plots/ |
mcnp/<system>/<system>.i |
The MCNP model |
mcnp/<system>/plot_* |
MCNP geometry plot commands; the flux maps cover the same windows |
openmc/<system>/<system>.py |
The OpenMC model, the same as the MCNP model |
images/<system>/ |
Geometry plots (in the repository) and result plots (made locally) |
data/silicon_*.txt |
Responses in silicon for the OpenMC tallies, from the MCNP data |
plot_geometry.py |
Geometry plots of both models |
plot_results.py |
Spectra, maps, and tables from either code or both |
docs/ |
Each system's details, the shared methods, and the figures they show |
Requirements
- MCNP: any version of MCNP5 or MCNP6. You might need to replace the thermal scattering
tables on the
mtcards with ones that work with your version of MCNP. MCNP5 also needs the source definition copied into the deck in place of thereadcard, which it does not support. - OpenMC: OpenMC 0.16 (the version tested). The models need 0.14 or later (the source readers
use
IndependentSource, and Apollo's model uses theCylindricalMeshconstructor, both new in 0.14), and their geometry plots need 0.16 or later (SlicePlot). Each source is read with theopenmc_source.pythat beam-target writes with it, so beam-target itself is needed only to remake a source. - Nuclear data: the results use ENDF/B-VIII.1 (in MCNP, the Lib81, ENDF81SaB, and eprdata25
libraries), but any library gives similar results. In MCNP, change the library suffixes on the
mandmtcards and theplibon them0card. In OpenMC, pointOPENMC_CROSS_SECTIONSat it. The responses in silicon come fromdata/silicon_*.txtin OpenMC whatever the library, and in MCNP from the chosen library's silicon (which needs damage energy data, MT 444). - Plots: Python 3.12 or later with numpy and matplotlib (which brings Pillow); to read MCNP
results, mcnptools (built with CMake and a C++ compiler;
MCNP itself is not needed); and to read OpenMC results, the openmc package. Remaking the MCNP
geometry plots in
images/needs MCNP and Ghostscript, since the MCNP plotter writes only PostScript; the OpenMC geometry plots need only OpenMC.
Run the models (10⁷ histories each, about 10 minutes per code on 32 cores):
# MCNP, from mcnp/<system>/ (remove the <system>.i* outputs of an earlier run first)
cd mcnp/artemis
mcnp6 n=artemis.i tasks 32
# OpenMC, from anywhere (it writes its files in openmc/<system>/)
export OPENMC_CROSS_SECTIONS=/path/to/endfb-viii.1/cross_sections.xml
python openmc/artemis/artemis.py --threads 3210⁷ histories give the peak values to about 1% or better (the thermal neutron flux to a few
percent) and smooth maps near the chamber. The published results used 10⁸ (nps 1e8 in MCNP, and
settings.particles = int(1e7) in OpenMC), which is needed only for smooth maps far from the
chamber; 10⁶ gives the peak neutron flux to about 1% in a minute. The MCNP runs write a restart
dump every 10⁷ histories, and the OpenMC runs a statepoint after every batch (10⁶ histories); --restart
continues an OpenMC run from its latest statepoint.
Make the plots and tables, from the top of the repository:
python plot_results.py # every system, both codes; --system, --mcnp, --openmc to choose
python plot_geometry.py # geometry plots of both models of every systemplot_results.py skips a code whose results are missing, writes about 25 plots per system and
code to images/<system>/, and prints each system's tables.
Remake a source with beam-target source/<system>.toml -o source. A new source changes the
neutron yield, which the MCNP model's fm cards and factor keywords hold (see
Units and normalization).
- Artemis: the model, the source, and the full results.
- Apollo: the model, the source, and the full results.
- Methods: the tally numbering, the responses in silicon, units and normalization, how MCNP and OpenMC compare, and the limitations of the models.
MIT; see LICENSE. Each source/<System>/openmc_source.py is beam-target's code, under
its own MIT notice, which must stay with the file. The tables in data/ are derived from Los Alamos
National Laboratory's Lib81 and eprdata25 ACE libraries, as their headers say; they are not a
product of, or endorsed by, Los Alamos National Laboratory.

