#!/bin/bash # Generate the initial conditions if they are not present. if [ ! -e perturbedBox.hdf5 ] then echo "Generating initial conditions for the perturbed box example..." python3 makeIC.py 50 fi ../../../swift --hydro --threads=16 perturbedBox.yml 2>&1 | tee output.log