/zpre

detailed cad model and simulations of the zpre (zero power reactor experiment), operated by oak ridge national laboratory and sometimes refered to in documentation as the pr-mark I (pratt and whitney mark I).

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

zpre

detailed cad model and simulations of the zpre (zero power reflector-moderated reactor experiment at elevated temperature, sometimes refered to in documentation as the pr-mark I (pratt and whitney mark I).), operated by oak ridge national laboratory 1957

model

cad model of the are can be found here on onshape. note, the step files for the simulations (found in the step_files folder) come from the final_for_export branch. currently onshape does not properly export enclosed volumes, so some parts need to be modified in order to be meshed properly. additionally, one of the splines of the inner core shell was replaced with a linear approximation due to meshing issues.

a writeup of the design, material characteristics and associated assumptions can be found in docs/zpre.pdf

zpre core

prerequisites

cad_to_h5m

python package used to automate cubit-dagmc workflow for creating h5m files. these scripts use the move_volumes branch

cubit

cubit is required to convert the cad model (.step) into a .h5m file readable by openmc, using the cad_to_h5m package. the step_to_h5m folder contains the necessary scripts for these examples. if your cubit installation is somewhere other than /opt/Coreform-Cubit-2021.5/bin/, you will need to update the local_cubit_path variable in the step_to_h5m scripts

openmc

these simulations use openmc. automated source installation scripts for linux can be found here

simulation guide

first, clone the repository

git clone https://github.com/openmsr/zpre.git

enter the zpre folder and run the run.sh script

cd zpre
bash run.sh