From 22f7776083832b3f3c92f94f958bb8daa5f282fb Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Wed, 1 Jul 2026 14:53:04 +0200 Subject: Added contact info in OpenMC script, fixed typo in driver script --- hpmr.py | 5 ++++- triso_study_driver.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hpmr.py b/hpmr.py index 20ea672..0eaa9ba 100755 --- a/hpmr.py +++ b/hpmr.py @@ -6,8 +6,11 @@ import hashlib import sys import time +# HP-MR Model in OpenMC +# C.Moore, + # For LCLRS -openmc.config["cross_sections"] = "/libs/endfb81_official/cross_sections.xml" +#openmc.config["cross_sections"] = "/libs/endfb81_official/cross_sections.xml" ############ COMMAND LINE ARGUMENTS ############ cli_parser = argparse.ArgumentParser( diff --git a/triso_study_driver.sh b/triso_study_driver.sh index 2fd17a0..835d819 100755 --- a/triso_study_driver.sh +++ b/triso_study_driver.sh @@ -23,7 +23,7 @@ echo Found $keff +/- $pm for VWH! # 0.025 step size -> 21 iterations for rad in $(seq 0.65 0.025 1.15); do echo Running RPT with $rad cm... - ./hpmr.py -t rpt - $rad > results/rpt/$rad.out + ./hpmr.py -t rpt -r $rad > results/rpt/$rad.out keff=$(cat results/rpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "+" -f 1) pm=$(cat results/rpt/$rad.out | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "-" -f 2) echo Found $keff +/- $pm for RPT with r=$rad cm... -- cgit v1.2.3