|
| 1 | +==================== |
| 2 | +What's New in 0.13.3 |
| 3 | +==================== |
| 4 | + |
| 5 | +.. currentmodule:: openmc |
| 6 | + |
| 7 | +------- |
| 8 | +Summary |
| 9 | +------- |
| 10 | + |
| 11 | +This release of OpenMC includes many bug fixes, performance improvements, and |
| 12 | +several notable new features. Some of the highlights include support for MCPL |
| 13 | +source files, NCrystal thermal scattering materials, and a new |
| 14 | +:class:`openmc.stats.MeshSpatial` class that allows a source distribution to be |
| 15 | +specified over a mesh. Additionally, OpenMC now allows you to export your model |
| 16 | +as a single XML file rather than separate XML files for geometry, materials, |
| 17 | +settings, and tallies. |
| 18 | + |
| 19 | +------------------------------------ |
| 20 | +Compatibility Notes and Deprecations |
| 21 | +------------------------------------ |
| 22 | + |
| 23 | +- Atomic mass data used in :func:`openmc.data.atomic_mass` has been updated to |
| 24 | + AME 2020, which results in slightly different masses. |
| 25 | + |
| 26 | +------------ |
| 27 | +New Features |
| 28 | +------------ |
| 29 | + |
| 30 | +- Support was added for `MCPL <https://mctools.github.io/mcpl/>`_ files to be |
| 31 | + used as external sources. Additionally, source points and surfaces sources can |
| 32 | + be written as MCPL files instead of HDF5 files. (`#2116 |
| 33 | + <https://github.com/openmc-dev/openmc/pull/2116>`_) |
| 34 | +- Support was added for `NCrystal <https://github.com/mctools/ncrystal>`_ |
| 35 | + thermal scattering materials. (`#2222 |
| 36 | + <https://github.com/openmc-dev/openmc/pull/2222>`_) |
| 37 | +- The :class:`~openmc.CylindricalMesh` and :class:`~openmc.SphericalMesh` |
| 38 | + classes now have an ``origin`` attribute that changes the center of the mesh. |
| 39 | + (`#2256 <https://github.com/openmc-dev/openmc/pull/2256>`_) |
| 40 | +- A new :class:`openmc.model.Polygon` class allows defining generalized 2D |
| 41 | + polygons. (`#2266 <https://github.com/openmc-dev/openmc/pull/2266>`_) |
| 42 | +- A new :func:`openmc.data.decay_energy` function and |
| 43 | + :meth:`openmc.Material.get_decay_heat` method enable determination of decay |
| 44 | + heat from a single nuclide or material. (`#2287 |
| 45 | + <https://github.com/openmc-dev/openmc/pull/2287>`_) |
| 46 | +- Full models can now be written as a single XML file rather than separate |
| 47 | + geometry, materials, settings, and tallies XML files. (`#2291 |
| 48 | + <https://github.com/openmc-dev/openmc/pull/2291>`_) |
| 49 | +- Discrete distributions are now sampled using alias sampling, which is O(1) in |
| 50 | + time. (`#2329 <https://github.com/openmc-dev/openmc/pull/2329>`_) |
| 51 | +- The new :class:`openmc.stats.MeshSpatial` allows a spatial source distribution |
| 52 | + to be specified with source strengths for each mesh element. (`#2334 |
| 53 | + <https://github.com/openmc-dev/openmc/pull/2334>`_) |
| 54 | +- The new :meth:`openmc.Geometry.get_surfaces_by_name` method returns a list of |
| 55 | + matching surfaces in a geometry. (`#2347 |
| 56 | + <https://github.com/openmc-dev/openmc/pull/2347>`_) |
| 57 | +- A new :attr:`openmc.Settings.create_delayed_neutrons` attribute controls |
| 58 | + whether delayed neutrons are created during a simulation. (`#2348 |
| 59 | + <https://github.com/openmc-dev/openmc/pull/2348>`_) |
| 60 | +- The :meth:`openmc.deplete.Results.export_to_materials` method now takes a |
| 61 | + ``path`` argument. (`#2364 <https://github.com/openmc-dev/openmc/pull/2364>`_) |
| 62 | +- A new :meth:`openmc.EnergyFilter.get_tabular` method allows one to create a |
| 63 | + tabular distribution based on tally results using an energy filter. (`#2371 |
| 64 | + <https://github.com/openmc-dev/openmc/pull/2371>`_) |
| 65 | +- Several methods in the :class:`openmc.Material` class that require a volume to |
| 66 | + be set (e.g., :meth:`~openmc.Material.get_mass`) now accept a ``volume`` |
| 67 | + argument. (`#2412 <https://github.com/openmc-dev/openmc/pull/2412>`_) |
| 68 | + |
| 69 | +--------- |
| 70 | +Bug Fixes |
| 71 | +--------- |
| 72 | + |
| 73 | +- Fix for finding redundant surfaces (`#2263 <https://github.com/openmc-dev/openmc/pull/2263>`_) |
| 74 | +- Adds tolerance for temperatures slightly out of bounds (`#2265 <https://github.com/openmc-dev/openmc/pull/2265>`_) |
| 75 | +- Fix getter/setter for weight window bounds (`#2275 <https://github.com/openmc-dev/openmc/pull/2275>`_) |
| 76 | +- Make sure Chain.reduce preserves decay source (`#2283 <https://github.com/openmc-dev/openmc/pull/2283>`_) |
| 77 | +- Fix array shape for weight window bounds (`#2284 <https://github.com/openmc-dev/openmc/pull/2284>`_) |
| 78 | +- Fix for non-zero CDF start points in TSL data (`#2290 <https://github.com/openmc-dev/openmc/pull/2290>`_) |
| 79 | +- Fix a case where inelastic scattering yield is zero (`#2295 <https://github.com/openmc-dev/openmc/pull/2295>`_) |
| 80 | +- Prevent Compton profile out-of-bounds memory access (`#2297 <https://github.com/openmc-dev/openmc/pull/2297>`_) |
| 81 | +- Produce light particles from decay (`#2301 <https://github.com/openmc-dev/openmc/pull/2301>`_) |
| 82 | +- Fix zero runtime attributes in depletion statepoints (`#2302 <https://github.com/openmc-dev/openmc/pull/2302>`_) |
| 83 | +- Fix bug in openmc.Universe.get_nuclide_densities (`#2310 <https://github.com/openmc-dev/openmc/pull/2310>`_) |
| 84 | +- Only show print output from depletion on rank 0 (`#2311 <https://github.com/openmc-dev/openmc/pull/2311>`_) |
| 85 | +- Fix photon transport with no atomic relaxation data (`#2312 <https://github.com/openmc-dev/openmc/pull/2312>`_) |
| 86 | +- Fix for precedence in region expressions (`#2318 <https://github.com/openmc-dev/openmc/pull/2318>`_) |
| 87 | +- Allow source particles with energy below cutoff (`#2319 <https://github.com/openmc-dev/openmc/pull/2319>`_) |
| 88 | +- Fix IncidentNeutron.from_njoy for high temperatures (`#2320 <https://github.com/openmc-dev/openmc/pull/2320>`_) |
| 89 | +- Add capability to unset cell temperatures (`#2323 <https://github.com/openmc-dev/openmc/pull/2323>`_) |
| 90 | +- Fix in plot_xs when S(a,b) tables are present (`#2335 <https://github.com/openmc-dev/openmc/pull/2335>`_) |
| 91 | +- Various fixes for tally triggers (`#2344 <https://github.com/openmc-dev/openmc/pull/2344>`_) |
| 92 | +- Raise error when mesh is flat (`#2363 <https://github.com/openmc-dev/openmc/pull/2363>`_) |
| 93 | +- Don't call normalize inside Tabular.mean (`#2375 <https://github.com/openmc-dev/openmc/pull/2375>`_) |
| 94 | +- Avoid out-of-bounds access in inelastic scatter sampling (`#2378 <https://github.com/openmc-dev/openmc/pull/2378>`_) |
| 95 | +- Use correct direction for anisotropic fission (`#2381 <https://github.com/openmc-dev/openmc/pull/2381>`_) |
| 96 | +- Fix several thermal scattering nuclide assignments (`#2382 <https://github.com/openmc-dev/openmc/pull/2382>`_) |
| 97 | +- Fix _materials_by_id attribute in Model (`#2385 <https://github.com/openmc-dev/openmc/pull/2385>`_) |
| 98 | +- Updates to batch checks for simulation restarts (`#2390 <https://github.com/openmc-dev/openmc/pull/2390>`_) |
| 99 | +- write_data_to_vtk volume normalization correction (`#2397 <https://github.com/openmc-dev/openmc/pull/2397>`_) |
| 100 | +- Enable generation of JEFF 3.3 depletion chain (`#2410 <https://github.com/openmc-dev/openmc/pull/2410>`_) |
| 101 | +- Fix spherical to Cartesian coordinate conversion (`#2417 <https://github.com/openmc-dev/openmc/pull/2417>`_) |
| 102 | +- Handle zero photon cross sections in IncidentPhoton.from_ace (`#2433 <https://github.com/openmc-dev/openmc/pull/2433>`_) |
| 103 | +- Fix hybrid depletion when nuclides are not present (`#2436 <https://github.com/openmc-dev/openmc/pull/2436>`_) |
| 104 | +- Fix bug in cylindrical and spherical meshes (`#2439 <https://github.com/openmc-dev/openmc/pull/2439>`_) |
| 105 | +- Improvements to mesh radial boundary coincidence (`#2443 <https://github.com/openmc-dev/openmc/pull/2443>`_) |
| 106 | + |
| 107 | +------------ |
| 108 | +Contributors |
| 109 | +------------ |
| 110 | + |
| 111 | +- `Hunter Belanger <https://github.com/HunterBelanger>`_ |
| 112 | +- `Rémi Delaporte-Mathurin <https://github.com/RemDelaporteMathurin>`_ |
| 113 | +- `Christopher Fichtlscherer <https://github.com/cfichtlscherer>`_ |
| 114 | +- `Valerio Giusti <https://github.com/valeriogiusti>`_ |
| 115 | +- `Chris Keckler <https://github.com/keckler>`_ |
| 116 | +- `Kalin Kiesling <https://github.com/kkiesling>`_ |
| 117 | +- `Thomas Kittelmann <https://github.com/tkittel>`_ |
| 118 | +- `Erik Knudsen <https://github.com/ebknudsen>`_ |
| 119 | +- `Colin Larmier <https://github.com/colinelarmier>`_ |
| 120 | +- `Amanda Lund <https://github.com/amandalund>`_ |
| 121 | +- `Jose Ignacio Marquez Damien <https://github.com/marquezj>`_ |
| 122 | +- `Josh May <https://github.com/joshmay1>`_ |
| 123 | +- `Patrick Myers <https://github.com/myerspat>`_ |
| 124 | +- `Baptiste Mouginot <https://github.com/bam241>`_ |
| 125 | +- `April Novak <https://github.com/aprilnovak>`_ |
| 126 | +- `Matthew Nyberg <https://github.com/NybergWISC>`_ |
| 127 | +- `Ethan Peterson <https://github.com/eepeterson>`_ |
| 128 | +- `Gavin Ridley <https://github.com/gridley>`_ |
| 129 | +- `Paul Romano <https://github.com/paulromano>`_ |
| 130 | +- `Patrick Shriwise <https://github.com/pshriwise>`_ |
| 131 | +- `Jonathan Shimwell <https://github.com/Shimwell>`_ |
| 132 | +- `Paul Wilson <https://github.com/gonuke>`_ |
| 133 | +- `Olek Yardas <https://github.com/yardasol>`_ |
| 134 | +- `Jiankai Yu <https://github.com/rockfool>`_ |
0 commit comments