|
| 1 | +==================== |
| 2 | +What's New in 0.13.1 |
| 3 | +==================== |
| 4 | + |
| 5 | +.. currentmodule:: openmc |
| 6 | + |
| 7 | +------- |
| 8 | +Summary |
| 9 | +------- |
| 10 | + |
| 11 | +This release of OpenMC includes many bug fixes as well as improvements in |
| 12 | +geometry modeling, mesh functionality, source specification, depletion |
| 13 | +capabilities, and other general enhancements. The depletion module features a |
| 14 | +new transport operator, :class:`openmc.deplete.IndependentOperator`, that allows |
| 15 | +a depletion calculation to be performed using arbitrary one-group cross sections |
| 16 | +(e.g., generated by an external solver) along with a |
| 17 | +:class:`openmc.deplete.MicroXS` class for managing one-group cross sections. The |
| 18 | +track file generation capability has been significantly overhauled and a new |
| 19 | +:class:`openmc.Tracks` class was introduced to allow access to information in |
| 20 | +track files from the Python API. Support has been added for new ENDF thermal |
| 21 | +scattering evaluations that use mixed coherent/incoherent elastic scattering. |
| 22 | + |
| 23 | +------------------------------------ |
| 24 | +Compatibility Notes and Deprecations |
| 25 | +------------------------------------ |
| 26 | + |
| 27 | +- The ``openmc.deplete.Operator`` class has been renamed |
| 28 | + :class:`openmc.deplete.CoupledOperator`. |
| 29 | +- The ``openmc.deplete.ResultsList`` class has been renamed to |
| 30 | + :class:`openmc.deplete.Results` and no longer requires you to call the |
| 31 | + ``from_hdf5()`` method in order to create it; instead, you can directly |
| 32 | + instantiate it. |
| 33 | +- A few methods that represent k-effective have been renamed for the sake of |
| 34 | + consistency: |
| 35 | + |
| 36 | + - ``openmc.StatePoint.k_combined`` is now :attr:`openmc.StatePoint.keff` |
| 37 | + - ``openmc.deplete.ResultsList.get_eigenvalue`` is now |
| 38 | + :meth:`openmc.deplete.Results.get_keff` |
| 39 | + |
| 40 | +- The :class:`openmc.stats.SphericalIndependent` class, which used to |
| 41 | + accept a distribution for ``theta`` now accepts a distribution for ``cos_theta`` |
| 42 | + instead in order to more easily handle the common case of specifying a uniform |
| 43 | + spatial distribution over a sphere (also see the new |
| 44 | + :func:`openmc.stats.spherical_uniform` function). |
| 45 | + |
| 46 | +- If you are building OpenMC from source, note that several of our CMake options |
| 47 | + have been changed: |
| 48 | + |
| 49 | + ========== ====================== |
| 50 | + Old option New option |
| 51 | + ========== ====================== |
| 52 | + debug --- |
| 53 | + optimize --- |
| 54 | + profile OPENMC_ENABLE_PROFILE |
| 55 | + coverage OPENMC_ENABLE_COVERAGE |
| 56 | + openmp OPENMC_USE_OPENMP |
| 57 | + --- OPENMC_USE_MPI |
| 58 | + dagmc OPENMC_USE_DAGMC |
| 59 | + libmesh OPENMC_USE_LIBMESH |
| 60 | + ========== ====================== |
| 61 | + |
| 62 | + The ``debug`` and ``optimize`` options have been removed; instead, use the |
| 63 | + standard `CMAKE_BUILD_TYPE |
| 64 | + <https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html>`_ |
| 65 | + variable. |
| 66 | + |
| 67 | +------------ |
| 68 | +New Features |
| 69 | +------------ |
| 70 | + |
| 71 | +- Two new composite surfaces: :class:`openmc.model.IsogonalOctagon` and |
| 72 | + :class:`openmc.model.CylinderSector`. |
| 73 | +- The :class:`~openmc.DAGMCUniverse` class now has a |
| 74 | + :attr:`~openmc.DAGMCUniverse.bounding_box` attribute and a |
| 75 | + :meth:`~openmc.DAGMCUniverse.bounding_region` method. |
| 76 | +- When translating a :class:`~openmc.Region` using the |
| 77 | + :meth:`~openmc.Region.translate` method, there is now an ``inplace`` argument. |
| 78 | +- The :class:`~openmc.Material` class has several new methods and attributes: |
| 79 | + |
| 80 | + - The :meth:`~openmc.Material.add_components` methods allows you to add |
| 81 | + multiple nuclides/elements to a material with a single call by passing a |
| 82 | + dictionary. |
| 83 | + - The :meth:`~openmc.Material.get_activity` method returns the activity of a |
| 84 | + material in Bq, Bq/g, or Bq/cm³. |
| 85 | + - The :meth:`~openmc.Material.remove_element` method removes an element from a |
| 86 | + material |
| 87 | + - The :meth:`~openmc.Material.get_nuclide_atoms` method gives the number of |
| 88 | + atoms of each nuclide in a material |
| 89 | + |
| 90 | +- All mesh classes now have a ``volumes`` property that provides the volume of |
| 91 | + each mesh element as well as ``write_data_to_vtk`` methods. |
| 92 | +- Support for externally managed MOAB meshes or libMesh meshes. |
| 93 | +- Multiple discrete distributions can be merged with the new |
| 94 | + :meth:`~openmc.stats.Discrete.merge` method. |
| 95 | +- The :func:`openmc.stats.spherical_uniform` function creates a uniform |
| 96 | + distribution over a sphere using the |
| 97 | + :class:`~openmc.stats.SphericalIndependent` class. |
| 98 | +- Univariate distributions in the :mod:`openmc.stats` module now have |
| 99 | + ``sample()`` methods. |
| 100 | +- An ``openmc_sample_external_source`` function has been added to the C API with |
| 101 | + a corresponding Python binding :func:`openmc.lib.sample_external_source`. |
| 102 | +- The track file generation capability has been completely overhauled. Track |
| 103 | + files now include much more information, and a new :class:`~openmc.Tracks` |
| 104 | + class allows access to track file information from the Python API and has a |
| 105 | + :meth:`~openmc.Tracks.write_to_vtk` method for writing a VTK file. Multiple |
| 106 | + tracks are now written to a single file (one per MPI rank). |
| 107 | +- A new :func:`openmc.wwinp_to_wws` function that converts weight windows from a |
| 108 | + ``wwinp`` file to a list of :class:`~openmc.WeightWindows` objects. |
| 109 | +- The new :meth:`openmc.EnergyFilter.from_group_structure` method provides a |
| 110 | + way of creating an energy filter with a group structure identified by name. |
| 111 | +- The :class:`openmc.data.Decay` class now has a |
| 112 | + :attr:`~openmc.data.Decay.sources` property that provides radioactive decay |
| 113 | + source distributions. |
| 114 | +- A :class:`openmc.mgxs.ReducedAbsorptionXS` class produces a multigroup cross |
| 115 | + section representing "reduced" absorption (absorption less neutron production |
| 116 | + from (n,xn) reactions). |
| 117 | +- Added support in the Python API and HDF5 nuclear data format for new ENDF |
| 118 | + thermal neutron scattering evaluations with mixed coherent elastic and |
| 119 | + incoherent elastic. |
| 120 | +- CMake now relies on ``find_package(MPI)`` for a more standard means of |
| 121 | + identifying an MPI compiler configuration. |
| 122 | + |
| 123 | +--------- |
| 124 | +Bug Fixes |
| 125 | +--------- |
| 126 | + |
| 127 | +- `Fix bug when a rotation matrix is passed to Halfspace.rotate <https://github.com/openmc-dev/openmc/pull/1974>`_ |
| 128 | +- `Fix bug for spherical mesh string repr <https://github.com/openmc-dev/openmc/pull/1983>`_ |
| 129 | +- `Fix package_data specification to include pyx files <https://github.com/openmc-dev/openmc/pull/1989>`_ |
| 130 | +- `Allow meshes with same ID to appear in multiple files <https://github.com/openmc-dev/openmc/pull/1990>`_ |
| 131 | +- `Fix overwritten variable in get_libraries_from_xsdata <https://github.com/openmc-dev/openmc/pull/1994>`_ |
| 132 | +- `Write output files to correct directory <https://github.com/openmc-dev/openmc/pull/1998>`_ |
| 133 | +- `Allow CMake to properly find third-party packages <https://github.com/openmc-dev/openmc/pull/2006>`_ |
| 134 | +- `Fix Region.from_expression when ")(" appears in specification <https://github.com/openmc-dev/openmc/pull/2012>`_ |
| 135 | +- `Move lost particle reset from finalize() to reset() <https://github.com/openmc-dev/openmc/pull/2015>`_ |
| 136 | +- `Minor typo fixes in test_lattice.py <https://github.com/openmc-dev/openmc/pull/2024>`_ |
| 137 | +- `Fix color assignment in Universe.plot <https://github.com/openmc-dev/openmc/pull/2034>`_ |
| 138 | +- `Several depletion-related fixes <https://github.com/openmc-dev/openmc/pull/2037>`_ |
| 139 | +- `Allow control of C++ standard used by compiler <https://github.com/openmc-dev/openmc/pull/2040/files>`_ |
| 140 | +- `Fix IO format documentation for surface source read/write <https://github.com/openmc-dev/openmc/pull/2048>`_ |
| 141 | +- `Make sure basis gets set in Plot.from_geometry <https://github.com/openmc-dev/openmc/pull/2050>`_ |
| 142 | +- `Improve robustness of torus distance calculation <https://github.com/openmc-dev/openmc/pull/2053>`_ |
| 143 | +- `Allow use of redundant fission when adjusting KERMA in from_njoy <https://github.com/openmc-dev/openmc/pull/2055>`_ |
| 144 | +- `Disable GNU extensions for CMake target <https://github.com/openmc-dev/openmc/pull/2072>`_ |
| 145 | +- `Two from_xml fixes <https://github.com/openmc-dev/openmc/pull/2074>`_ |
| 146 | +- `Fix for rare infinite loop when finding cell <https://github.com/openmc-dev/openmc/pull/2075>`_ |
| 147 | +- `Allow photon heating to be tallied by nuclide <https://github.com/openmc-dev/openmc/pull/2076>`_ |
| 148 | +- `Use UTF-8 encoding when reading dose coefficients <https://github.com/openmc-dev/openmc/pull/2078>`_ |
| 149 | +- `Fix a corner case in Region.from_expression <https://github.com/openmc-dev/openmc/pull/2081>`_ |
| 150 | +- `Fix bug in spherical and cylindrical meshes <https://github.com/openmc-dev/openmc/pull/2108>`_ |
| 151 | +- `Ensure weight window bounds are flattened when writing to XML <https://github.com/openmc-dev/openmc/pull/2113>`_ |
| 152 | +- `Fix for std::cout sync bug in output.cpp <https://github.com/openmc-dev/openmc/pull/2122>`_ |
| 153 | +- `Allow compiling against fmt v9 <https://github.com/openmc-dev/openmc/pull/2136>`_ |
| 154 | +- `Fix TimeFilter for small time intervals <https://github.com/openmc-dev/openmc/pull/2168>`_ |
| 155 | + |
| 156 | +------------ |
| 157 | +Contributors |
| 158 | +------------ |
| 159 | + |
| 160 | +- `David Andrs <https://github.com/andrsd>`_ |
| 161 | +- `Hunter Belanger <https://github.com/HunterBelanger>`_ |
| 162 | +- `Helen Brooks <https://github.com/helen-brooks>`_ |
| 163 | +- `Rémi Delaporte-Mathurin <https://github.com/RemDelaporteMathurin>`_ |
| 164 | +- `Joffrey Dorville <https://github.com/JoffreyDorville>`_ |
| 165 | +- `Christopher Fichtlscherer <https://github.com/cfichtlscherer>`_ |
| 166 | +- `Lewis Gross <https://github.com/lewisgross1296>`_ |
| 167 | +- `Andrew Johnson <https://github.com/drewejohnson>`_ |
| 168 | +- `Kalin Kiesling <https://github.com/kkiesling>`_ |
| 169 | +- `Amanda Lund <https://github.com/amandalund>`_ |
| 170 | +- `Richard Morrison <https://github.com/richmorrison>`_ |
| 171 | +- `Patrick Myers <https://github.com/myerspat>`_ |
| 172 | +- `Adam Nelson <https://github.com/nelsonag>`_ |
| 173 | +- `April Novak <https://github.com/aprilnovak>`_ |
| 174 | +- `Ethan Peterson <https://github.com/eepeterson>`_ |
| 175 | +- `Gavin Ridley <https://github.com/gridley>`_ |
| 176 | +- `Paul Romano <https://github.com/paulromano>`_ |
| 177 | +- `Jonathan Shimwell <https://github.com/Shimwell>`_ |
| 178 | +- `Patrick Shriwise <https://github.com/pshriwise>`_ |
| 179 | +- `Amelia Trainer <https://github.com/ameliojo>`_ |
| 180 | +- `John Tramm <https://github.com/jtramm>`_ |
| 181 | +- `Bob Urberger <https://github.com/burberger>`_ |
| 182 | +- `Olek Yardas <https://github.com/yardasol>`_ |
0 commit comments