Note
These release notes are currently in production.
This release adds support for OpenMC in SaltProc via the addition of
the DepcodeOpenMC class
SaltProcnow optionally requires the following package:- (new) → openmc
pyne>=0.5.11→pyne>=0.5.11=nomoab_noopenmc*
openmcsupport via DepcodeOpenMC- OpenMC compatible MSBR model.
- Added convenience features to
process_j312.bash- Control 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 installed - Commands to download and run the
xsdirconvert.plscript (found on the Serpent wiki) to convert the MCNP.dirstyle file to the Serpent.xsdatastyle file - Add
SERPENT_DATAandSERPENT_ACELIBvariables to.bashrc
- Control flow check for an
- A new script,
scripts/ci/openmc-xs.bash, that downloads the OpenMC HDF5 cross section library. - A new script,
download_endfb71.bash, that downloads the ENDF/B 7.1 cross section library -- including thermal scattering, decay, and fission yield data -- in ACE format. - A new script,
process_endfb71_to_openmc.bash, that converts the library created bydownload_endfb71.bashinto an OpenMC-usable HDF5 format. Requires OpenMC to be installed from source to use. - A new script
openmc_msbr_model.py, that creates an OpenMC-usable MSBR model based on the Serpent MSBR model.
- 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, methods, and attributes:
Depcode- Add output_path parameter.
template_inputfile_path→template_input_file_path- Removed default values for geo_files
- Changed iter_inputfile, iter_matfile to be attributes instead of parameters
- Changed npop, active_cycles, inactive_cycles to be attributes instead of parameters
read_depcode_info()→read_step_metadata()sim_info→step_metadataread_depcode_step_param()→read_neutronics_parameters()param→neutronics_parametersread_dep_comp()→read_depleted_materials()run_depcode()→run_depletion_step()write_mat_file()→update_depletable_materials()write_depcode_input()→write_runtime_input()iter_inputfile→runtime_inputfileiter_matfile→runtime_matfile
DepcodeSerpent→SerpentDepcode- Add output_path parameter.
template_inputfile_path→template_input_file_path- Removed default values for exec_path, template_input_file_path, geo_files
- Changed iter_inputfile, iter_matfile to be attributes instead of parameters
- Changed npop, active_cycles, inactive_cycles to be attributes instead of parameters
read_depcode_info()→read_depletion_step_metadata()sim_info→step_metadataread_depcode_step_param()→read_neutronics_parameters()param→neutronics_parametersread_dep_comp()→read_depleted_materials()create_nuclide_name_map_zam_to_serpent()→map_nuclide_code_zam_to_serpent()run_depcode()→run_depletion_step()write_mat_file()→update_depletable_materials()get_nuc_name()→convert_nuclide_code_to_name()convert_nuclide_name_serpent_to_zam()→convert_nuclide_code_to_zam()create_iter_matfile()→create_runtime_matfile()replace_burnup_parameters()→set_power_load()write_depcode_input()→write_runtime_input()iter_inputfile→runtime_inputfileiter_matfile→runtime_matfilechange_sim_par()→ (deleted)- (new function) →
get_neutron_settings() - (new function) →
get_burnable_materials_file() - (new function) →
get_burnable_material_card_data()
OpenMCDepcodeis aDepcodesubclass that interfaces withopenmc. This class implements the following functions -run_depletion_step()-switch_to_next_geometry()-write_runtime_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
The following people contributed code to this release of SaltProc:
The following people reviewed code for this release of SaltProc: