==================== What's New in 0.12.1 ==================== .. currentmodule:: openmc ------- Summary ------- This release of OpenMC includes an assortment of new features and many bug fixes. The :mod:`openmc.deplete` module incorporates a number of improvements in usability, accuracy, and performance. Other enhancements include generalized rotational periodic boundary conditions, expanded source modeling capabilities, and a capability to generate windowed multipole library files from ENDF files. ------------ New Features ------------ - Boundary conditions have been refactored and generalized. Rotational periodic boundary conditions can now be applied to any N-fold symmetric geometry. - External source distributions have been refactored and extended. Users writing their own C++ custom sources need to write a class that derives from ``openmc::Source``. These changes have enabled new functionality, such as: - Mixing more than one custom source library together - Mixing a normal source with a custom source - Using a file-based source for fixed source simulations - Using a file-based source for eigenvalue simulations even when the number of particles doesn't match - New capability to read and write a source file based on particles that cross a surface (known as a "surface source"). - Various improvements related to depletion: - Reactions used in a depletion chain can now be configured through the ``reactions`` argument to :meth:`openmc.deplete.Chain.from_endf`. - Specifying a power of zero during a depletion simulation no longer results in an unnecessary transport solve. - Reaction rates can be computed either directly or using multigroup flux tallies that are used to collapse reaction rates afterward. This is enabled through the ``reaction_rate_mode`` and ``reaction_rate_opts`` to :class:`openmc.deplete.Operator`. - Depletion results can be used to create a new :class:`openmc.Materials` object using the :meth:`openmc.deplete.ResultsList.export_to_materials` method. - Multigroup current and diffusion cross sections can be generated through the :class:`openmc.mgxs.Current` and :class:`openmc.mgxs.DiffusionCoefficient` classes. - Added :func:`openmc.data.isotopes` function that returns a list of naturally occurring isotopes for a given element. - Windowed multipole libraries can now be generated directly from the Python API using :meth:`openmc.data.WindowedMultipole.from_endf`. - The new :func:`openmc.write_source_file` function allows source files to be generated programmatically. --------- Bug Fixes --------- - `Proper detection of MPI wrappers `_ - `Fix related to declaration order of maps/vectors `_ - `Check for existence of decay rate attribute `_ - `Small updates to deal with JEFF 3.3 data `_ - `Fix for depletion chain generation `_ - `Fix call to superclass constructor in MeshPlotter `_ - `Fix for data crossover in VTK files `_ - `Make sure reaction names are recognized as valid tally scores `_ - `Fix bug related to logging of particle restarts `_ - `Examine if region exists before removing redundant surfaces `_ - `Fix plotting of individual universe levels `_ - `Mixed materials should inherit depletable attribute `_ - `Fix typo in energy units in dose coefficients `_ - `Fixes for large tally cases `_ - `Fix verification of volume calculation results `_ - `Fix calculation of decay energy for depletion chains `_ - `Fix pointers in CartesianIndependent `_ - `Ensure correct initialization of members for RegularMesh `_ - `Add missing import in depletion module `_ - `Fixed several bugs related to decay-rate `_ - `Fix how depletion operator distributes burnable materials `_ - `Fix assignment of elemental carbon in JEFF 3.3 `_ - `Fix typo in RectangularParallelepiped.__pos__ `_ - `Fix temperature tolerance with S(a,b) data `_ - `Fix sampling or normal distribution `_ - `Fix for SharedArray relaxed memory ordering `_ - `Check for proper format of source files `_ - `Ensure (n,gamma) reaction rate tally uses sampled cross section `_ - `Fix for temperature range behavior `_ ------------ Contributors ------------ This release contains new contributions from the following people: - `Andrew Davis `_ - `Guillaume Giudicelli `_ - `Sterling Harper `_ - `Bryan Herman `_ - `Yue Jin `_ - `Andrew Johnson `_ - `Miriam Kreher `_ - `Shikhar Kumar `_ - `Jingang Liang `_ - `Amanda Lund `_ - `Adam Nelson `_ - `April Novak `_ - `YoungHui Park `_ - `Ariful Islam Pranto `_ - `Ron Rahaman `_ - `Gavin Ridley `_ - `Paul Romano `_ - `Jonathan Shimwell `_ - `Dan Short `_ - `Patrick Shriwise `_ - `Roy Stogner `_ - `John Tramm `_ - `Cyrus Wyett `_ - `Jiankai Yu `_