|
| 1 | +==================== |
| 2 | +What's New in 0.13.0 |
| 3 | +==================== |
| 4 | + |
| 5 | +.. currentmodule:: openmc |
| 6 | + |
| 7 | +------- |
| 8 | +Summary |
| 9 | +------- |
| 10 | + |
| 11 | +This release of OpenMC includes several noteworthy and unique features. Most |
| 12 | +importantly, mesh-based weight windows have been added and work with all |
| 13 | +supported mesh types (regular, rectilinear, cylindrical, spherical, and |
| 14 | +unstructured). Other additions include torus surfaces, an ability to place |
| 15 | +CAD-based geometries in universes, a feature to export/import physical |
| 16 | +properties, and a filter for particle time. |
| 17 | + |
| 18 | +There is one breaking changing in the Python API. The |
| 19 | +:class:`openmc.deplete.Operator` class used to accept :class:`~openmc.Geometry` |
| 20 | +and :class:`~openmc.Settings` objects as its first two arguments; users now need |
| 21 | +to pass a :class:`~openmc.model.Model` class instead. |
| 22 | + |
| 23 | +The minimum supported Python version is now 3.6. |
| 24 | + |
| 25 | +------------ |
| 26 | +New Features |
| 27 | +------------ |
| 28 | + |
| 29 | +- Variance reduction using mesh-based weight windows is now possible with the |
| 30 | + :class:`~openmc.WeightWindows` class. |
| 31 | +- Users can now model axis-aligned tori using the :class:`~openmc.XTorus`, |
| 32 | + :class:`~openmc.YTorus`, and :class:`~openmc.ZTorus` classes. |
| 33 | +- DAGMC CAD-based geometries can now be placed in a universe using |
| 34 | + :class:`~openmc.DAGMCUniverse`, allowing users to combine CSG and CAD-based |
| 35 | + geometry in a single model. |
| 36 | +- The C/C++ API has two new functions ``openmc_properties_export`` and |
| 37 | + ``openmc_properties_import`` with corresponding Python API bindings, |
| 38 | + :func:`~openmc.lib.export_properties` and |
| 39 | + :func:`~openmc.lib.import_properties`. These functions allow physical |
| 40 | + properties (temperatures, densities, material compositions) to be written to |
| 41 | + an HDF5 file and re-used for subsequent simulations. |
| 42 | +- A new :class:`~openmc.stats.PowerLaw` univariate distribution |
| 43 | +- The capabilities of the :class:`~openmc.Model` class have been substantially |
| 44 | + expanded (e.g., the :meth:`~openmc.model.Model.deplete`, |
| 45 | + :meth:`~openmc.model.Model.plot_geometry`, and |
| 46 | + :meth:`~openmc.model.Model.rotate_cells` methods). |
| 47 | +- A new :class:`~openmc.TimeFilter` class that allows tallies to be filtered |
| 48 | + by the particle's time, which is now tracked. |
| 49 | +- The :class:`~openmc.Source` class now allows you to specify a time |
| 50 | + distribution. |
| 51 | +- The new :class:`~openmc.CylindricalMesh` and :class:`~openmc.SphericalMesh` |
| 52 | + can be used for mesh tallies over cylidrical and spherical meshes, |
| 53 | + respectively. |
| 54 | +- Geometry plotting, which used to produce the files in the unusual .ppm format, |
| 55 | + now produces .png files by default. |
| 56 | + |
| 57 | +--------- |
| 58 | +Bug Fixes |
| 59 | +--------- |
| 60 | + |
| 61 | +- `Fix for shared fission bank memory errors <https://github.com/openmc-dev/openmc/pull/1856>`_ |
| 62 | +- `Make sure properties export only happens from root process <https://github.com/openmc-dev/openmc/pull/1864>`_ |
| 63 | +- `Fix pathlib use error in openmc-ace-to-hdf5 <https://github.com/openmc-dev/openmc/pull/1867>`_ |
| 64 | +- `Fix DAGMC and libMesh variable in CMake config <https://github.com/openmc-dev/openmc/pull/1870>`_ |
| 65 | +- `Fix bug associated with volume calc in MG mode <https://github.com/openmc-dev/openmc/pull/1889>`_ |
| 66 | +- `Add missing Settings.write_initial_source property <https://github.com/openmc-dev/openmc/pull/1895>`_ |
| 67 | +- `Bug fixes for specifying Materials.cross_sections <https://github.com/openmc-dev/openmc/pull/1898>`_ |
| 68 | +- `Removing Legendre filter in diffusion coefficient results <https://github.com/openmc-dev/openmc/pull/1909>`_ |
| 69 | +- `Ensure particles lost during event_calculate_xs are terminated <https://github.com/openmc-dev/openmc/pull/1911>`_ |
| 70 | +- `Fixed parsing of xsdir entries with a continuation line <https://github.com/openmc-dev/openmc/pull/1913>`_ |
| 71 | +- `openmc.RegularMesh attribute consistency <https://github.com/openmc-dev/openmc/pull/1922>`_ |
| 72 | +- `Ensure secondary particles below energy cutoff are not created <https://github.com/openmc-dev/openmc/pull/1924>`_ |
| 73 | +- `Allow compilation with g++ 11 <https://github.com/openmc-dev/openmc/pull/1938>`_ |
| 74 | +- `Depletion-related bug fixes <https://github.com/openmc-dev/openmc/pull/1946>`_ |
| 75 | +- `Miscellaneous bug fixes <https://github.com/openmc-dev/openmc/pull/1948>`_ |
| 76 | +- `Fixes for various bugs <https://github.com/openmc-dev/openmc/pull/1949>`_ |
| 77 | +- `Reset triggers in openmc_reset <https://github.com/openmc-dev/openmc/issues/1957>`_ |
| 78 | + |
| 79 | +------------ |
| 80 | +Contributors |
| 81 | +------------ |
| 82 | + |
| 83 | +- `Hunter Belanger <https://github.com/HunterBelanger>`_ |
| 84 | +- `Helen Brooks <https://github.com/helen-brooks>`_ |
| 85 | +- `Andrew Davis <https://github.com/makeclean>`_ |
| 86 | +- `Valerio Giusti <https://github.com/valeriogiusti>`_ |
| 87 | +- `Jeff Hammond <https://github.com/jeffhammond>`_ |
| 88 | +- `Yuan Hu <https://github.com/YuanHu-PKU-KIT>`_ |
| 89 | +- `Andrew Johnson <https://github.com/drewejohnson>`_ |
| 90 | +- `Miriam Kreher <https://github.com/mkreher13>`_ |
| 91 | +- `Amanda Lund <https://github.com/amandalund>`_ |
| 92 | +- `Adam Nelson <https://github.com/nelsonag>`_ |
| 93 | +- `April Novak <https://github.com/aprilnovak>`_ |
| 94 | +- `Ariful Islam Pranto <https://github.com/AI-Pranto>`_ |
| 95 | +- `Gavin Ridley <https://github.com/gridley>`_ |
| 96 | +- `Paul Romano <https://github.com/paulromano>`_ |
| 97 | +- `Olaf Schumann <https://github.com/ojschumann>`_ |
| 98 | +- `Jonathan Shimwell <https://github.com/Shimwell>`_ |
| 99 | +- `Patrick Shriwise <https://github.com/pshriwise>`_ |
| 100 | +- `John Tramm <https://github.com/jtramm>`_ |
0 commit comments