Skip to content

cnerg/dcll_radial_build

Repository files navigation

dcll_radial_build

DCLL radial build model for tritium accountancy

dcll_materials.py

Defines materials from fusion-material-db. Uses material_db_tools.py and a materials composition dictionary to create a mixed materials XML file for OpenMC.

dcll_radial_build.py

Makes geometry and assigns materials from dcll_materials.py. Uses radial_build_tools to make toroidal model. Uses a build dictionary, the mixed materials XML file and the ToroidalModel class from radial_build_tools to create a model XML with geometry and materials.

dcll_model.py

Defines tallies, source and settings, adds it to the OpenMC model object, and updates the model XML.

dcll_run_simulation.sh

Executable file that runs dcll_materials.py, dcll_radial_build.py, and dcll_model.py.

dcll_postprocessing.py

Creates functions to extract data from Statepoint files.

dcll_data_to_json.py

Calls dcll_postprocessing.py functions and create a nested dictionary with results and dumps it into a JSON file.

dcll_plotting.py

Creates functions to make plots from the dictionaries in the JSON file.

dcll_results.py

Calls the dcll_plotting.py functions

dcll_get_results.sh

Executable file that runs dcll_data_to_json.py, and dcll_results.py

Workflow

  • Update dcll_materials.py, dcll_radial_build.py, and dcll_model.py as needed.
  • Run dcll_run_simulation.sh.
  • Update dcll_postprocessing.py dcll_data_to_json.py, and dcll_results.py as needed.
  • Run dcll_get_results.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published