summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhpmr.py5
-rwxr-xr-xtriso_study_driver.sh2
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, <connor.moore@psi.ch>
+
# 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...