summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Moore <connor@hhmoore.ca>2026-03-02 17:33:04 -0500
committerConnor Moore <connor@hhmoore.ca>2026-03-02 17:33:04 -0500
commit20b3cb2adccae09126867f679b181e50d2b67d94 (patch)
treeadc70e0ea8da437ec6c3e3df6f3c361986a956ee
parent6572573d6d0d82a66eb4743d97ca4700941648cc (diff)
Updated driver scripts for each type of bundle
-rwxr-xr-xdriver-37.sh2
-rwxr-xr-xdriver-51.sh26
-rwxr-xr-xdriver-52.sh26
3 files changed, 53 insertions, 1 deletions
diff --git a/driver-37.sh b/driver-37.sh
index c365623..cf1cefb 100755
--- a/driver-37.sh
+++ b/driver-37.sh
@@ -22,5 +22,5 @@ for r in $(seq 0.1 0.05 0.8); do
dtu=$(cat $filename | grep "DTU ratio" | cut -d "=" -f 2)
echo $keff +/- $pm, $flow_area cm² flow, $fuel_mass g/cm fuel, $clad_mass g/cm clad, $dtu DTU ratio | cowsay
- echo $keff $pm $flow_area $fuel_mass $clad_mass $dtu >> 37-results/37_keff_table
+ echo $keff $pm $flow_area $fuel_mass $clad_mass $dtu >> 37-results/keff_table
done
diff --git a/driver-51.sh b/driver-51.sh
new file mode 100755
index 0000000..8de304a
--- /dev/null
+++ b/driver-51.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Driver script for parametric pin size analysis of the
+# 51-element Apollonian fuel bundle. AnnCon 2026 paper.
+# Connor Moore, 2026. <connor.moore@ontariotechu.net>
+
+green="\033[32m"
+reset="\033[0m"
+
+mkdir -p 51-results/
+touch 51-results/51_keff_table
+
+for fmr in $(seq 0.1 0.05 0.8); do
+ echo -e ${green}Running fmr = $fmr... ${reset}
+ filename=51-results/$fmr.log
+ python3 apollonian-52.py -fmr $fmr -bt alt > $filename
+ keff=$(cat $filename | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "+" -f 1)
+ pm=$(cat $filename | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "-" -f 2)
+ flow_area=$(cat $filename | grep "Flow area" | cut -d "=" -f 2)
+ fuel_mass=$(cat $filename | grep "Fuel mass" | cut -d "=" -f 2)
+ clad_mass=$(cat $filename | grep "Cladding mass" | cut -d "=" -f 2)
+ dtu=$(cat $filename | grep "DTU ratio" | cut -d "=" -f 2)
+
+ echo $keff +/- $pm, $flow_area cm² flow, $fuel_mass g/cm fuel, $clad_mass g/cm clad, $dtu DTU ratio | cowsay
+ echo $keff $pm $flow_area $fuel_mass $clad_mass $dtu >> 51-results/keff_table
+done
diff --git a/driver-52.sh b/driver-52.sh
new file mode 100755
index 0000000..14cd8b3
--- /dev/null
+++ b/driver-52.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Driver script for parametric pin size analysis of the
+# 52-element Apollonian fuel bundle. AnnCon 2026 paper.
+# Connor Moore, 2026. <connor.moore@ontariotechu.net>
+
+green="\033[32m"
+reset="\033[0m"
+
+mkdir -p 52-results/
+touch 52-results/52_keff_table
+
+for fmr in $(seq 0.1 0.05 0.8); do
+ echo -e ${green}Running fmr = $fmr... ${reset}
+ filename=52-results/$fmr.log
+ python3 apollonian-52.py -fmr $fmr > $filename
+ keff=$(cat $filename | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "+" -f 1)
+ pm=$(cat $filename | grep "Combined k-effective" | cut -d "=" -f 2 | cut -d "-" -f 2)
+ flow_area=$(cat $filename | grep "Flow area" | cut -d "=" -f 2)
+ fuel_mass=$(cat $filename | grep "Fuel mass" | cut -d "=" -f 2)
+ clad_mass=$(cat $filename | grep "Cladding mass" | cut -d "=" -f 2)
+ dtu=$(cat $filename | grep "DTU ratio" | cut -d "=" -f 2)
+
+ echo $keff +/- $pm, $flow_area cm² flow, $fuel_mass g/cm fuel, $clad_mass g/cm clad, $dtu DTU ratio | cowsay
+ echo $keff $pm $flow_area $fuel_mass $clad_mass $dtu >> 52-results/keff_table
+done