diff options
Diffstat (limited to 'driver-51.sh')
| -rwxr-xr-x | driver-51.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/driver-51.sh b/driver-51.sh index 98f8eb5..b35344b 100755 --- a/driver-51.sh +++ b/driver-51.sh @@ -10,17 +10,18 @@ reset="\033[0m" mkdir -p 51-results/ touch 51-results/51_keff_table -for fmr in $(seq 0.1 0.05 0.9); do - echo -e ${green}Running fmr = $fmr... ${reset} +for fmr in $(seq 0.1 0.05 0.95); do + echo -e ${green}Running 51-element Apollonian bundle with 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) + clad_circ=$(cat $filename | grep "Cladding circumference" | 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 + echo $keff $pm $flow_area $clad_circ $fuel_mass $clad_mass $dtu >> 51-results/keff_table done |
