#!/bin/bash
rm -rf tracking restart #harvest
# label="sideSeperate_allslip_outlet_pab_omega1.98"
# label="side_allslip_outlet_nrbc_omega1.8"
# echo $label

module load gcc
mkdir mesh tracking restart #harvest

~/apes/seeder/build/seeder seeder.lua

mpirun -np 8 ~/apes/musubi/build/musubi musubi.lua | tee musubi.log

# ~/apes/harvester/scripts/harvest_series.py --config params_hvs.py
# mv harvest harvest_$label
# module rm gcc
# ~/apes/harvester/gleaner/gleaner.py params_plot.py
# mv velocityXScatter.png velocityXScatter_$label.png
# mv velocityYScatter.png velocityYScatter_$label.png
# mv velocityZScatter.png velocityZScatter_$label.png
# mv PressureScatter.png PressureScatter_$label.png
# mv tracking tracking_$label
