OpenMC/data
William Lyu a8e2cd3ddd fix a bug bug with VERIFY MD5 CHECKSUMS
Datas should be opened with option 'rb' otherwise it will cause a decode problem.
2015-02-25 10:10:34 +08:00
..
cross_sections.xml Moved cross_sections.xml to data directory and added a readme file. 2013-04-10 22:17:25 -04:00
cross_sections_ascii.xml Moved cross_sections.xml to data directory and added a readme file. 2013-04-10 22:17:25 -04:00
cross_sections_nndc.xml Fix NNDC ZAIDs for metastable nuclides. 2014-12-18 19:07:40 -05:00
cross_sections_serpent.xml Fix some metastables in cross_sections_serpent.xml. 2014-08-12 20:35:38 -04:00
get_nndc_data.py fix a bug bug with VERIFY MD5 CHECKSUMS 2015-02-25 10:10:34 +08:00
readme.rst Updated data/readme.rst. 2014-02-18 17:47:20 -05:00

========================
cross_sections.xml Files
========================

As a reminder, in order to run a simulation with OpenMC, you will need cross
section data for each nuclide in your problem. OpenMC is not currently
distributed with cross section data, so you will have to obtain cross section
data by other means. The `user's guide`_ offers some helpful advice on how you
can obtain cross sections.

When OpenMC starts up, it needs a cross_sections.xml file that tells it where to
find ACE format cross sections. The files in this directory are configured to
work with a few common cross section sources.

- **cross_sections_ascii.xml** -- This file matches ENDF/B-VII.0 cross sections
    distributed with MCNP5 / MCNP6 beta.

- **cross_sections_nndc.xml** -- This file matches ENDF/B-VII.1 cross sections
    distributed from the `NNDC website`_.

- **cross_sections_serpent.xml** -- This file matches ENDF/B-VII.0 cross
    sections distributed with Serpent 1.1.7.

- **cross_sections.xml** - This file matches ENDF/B-VII.0 cross sections
    distributed with MCNP5 / MCNP6 beta *that have been converted to binary*.

To use any of these files, you need to follow two steps:

1. Change the path on the ``<directory>`` element in the cross_sections.xml file
to the directory containing the ACE files.

2. Enter the absolute path of the cross_sections.xml on the ``<cross_sections>``
element in your settings.xml, or set the CROSS_SECTIONS environment variable to
the full path of the cross_sections.xml file.

.. _user's guide: http://mit-crpg.github.io/openmc/usersguide/install.html#cross-section-configuration
.. _NNDC website: http://www.nndc.bnl.gov/endf/b7.1/acefiles.html