#!/bin/bash # Generate the initial conditions if they are not present. echo "Generating initial conditions for the isothermal potential box example..." python3 makeIC.py 10000 # Run SWIFT with external potential, SPH and cooling ../../../swift --external-gravity --hydro --cooling --threads=1 cooling_halo.yml 2>&1 | tee output.log # python3 radial_profile.py 10 # python3 internal_energy_profile.py 10 # python3 test_energy_conservation.py