Release notes for v0.5.0¶
Note
These release notes are currently in production.
Summary¶
This release adds support for OpenMC in SaltProc via the addition of
the DepcodeOpenMC class
Dependency Changes¶
SaltProcnow optionally requires the following package:(new) → openmc
pyne>=0.5.11→pyne>=0.5.11=nomoab_noopenmc*
New Features¶
openmcsupport via DepcodeOpenMC
Bug Fixes¶
Script Changes¶
Added convenience features to
process_j312.bashControl flow check for an
XSDIRenvironment variable set by the user. This variable should point to the location where the user would like the library to be installedCommands to download and run the
xsdirconvert.plscript (found on the Serpent wiki) to convert the MCNP.dirstyle file to the Serpent.xsdatastyle fileAdd
SERPENT_DATAandSERPENT_ACELIBvariables to.bashrc
A new script,
scripts/ci/openmc-xs.bash, that downloads the OpenMC HDF5 cross section library.
Python API Changes¶
The test suite has been overhauled and moved to the tests/ directory. The test suite is no longer part of the saltproc package.
Input file format changes:
depcode['template_inputfile_path']→depcode['template_input_file_path']The
depcode['template_input_file_path']input variable now has the following depletion-code-depentent types:strforSerpent2dictofstrtostrforopenmc
depcode['iter_inputfile']→ (removed)depcode['iter_matfile']→ (removed)
Note
While the iter_inputfile and iter_matfile variables have been removed from the saltproc input file,
they remain part of the DepcodeSerpent class as attributes. Their use is unchanged, save for the fact they can no
longer be initialized by the user during object creation.
New/changed classes and methods:
Depcodetemplate_inputfile_path→template_input_file_pathChanged iter_inputfile and iter_matfile to be attributes instead of parameters
DepcodeSerpent→SerpentDepcodetemplate_inputfile_path→template_input_file_pathChanged iter_inputfile and iter_matfile to be attributes instead of parameters
OpenMCDepcodeis aDepcodesubclass that interfaces withopenmc. This class implements the following functionsrun_depcode()switch_to_next_geometry()write_depcode_input()write_depletion_settings()write_saltproc_openmc_tallies()
app.pyreprocessing()→reprocess_materials()refill()→refill_materials()read_feeds_from_input→get_feeds()read_processes_from_input→get_extraction_processes()read_dot()→get_extraction_process_paths()
Processcalc_rem_efficiency()→calculate_removal_efficiency
Spargercalc_rem_efficiency()→calculate_removal_efficiency
Separatorcalc_rem_efficiency()→calculate_removal_efficiency
Contributors¶
The following people contributed code to this release of SaltProc:
Reviewers¶
The following people reviewed code for this release of SaltProc: