#!/bin/bash # Fetch the initial conditions if they are not present. if [ ! -f Mh13_c9_M6_3kpc.hdf5 ] then echo "Fetching initial conditions for the COLIBRE 12Mpc example..." ./getIC.sh fi python3 calculate_elliptical_CGM.py Mh13_c9_M6_3kpc.hdf5 elliptical_IC.hdf5 default if [ ! -e ./cooling_files ] then echo "Fetching split COLIBRE cooling tables..." ./getSplitColibreCoolingTables.sh fi if [ ! -e Early_stellar_feedback.hdf5 ] then echo "Fetching feedback tables" ./getColibreFeedbackTables.sh fi if [ ! -e yieldtables ] then echo "Fetching yield tables for the isolated galaxy example..." ./getColibreYieldTables.sh fi if [ ! -e photometry ] then echo "Fetching EAGLE photometry tables..." ./getEaglePhotometryTable.sh fi if [ ! -e X_Ray_tables.hdf5 ] then echo "Fetching X-ray emissivity tables..." ./getColibreXrayTables.sh fi if [ ! -e dust_yields ] then echo "Fetching dust yields tables..." ./getDustYieldTables.sh fi if [ ! -e chimes-data ] then echo "Fetching chimes data..." ./getChimesData.sh fi ../../swift --threads=28 --external-gravity --self-gravity --stars --star-formation --cooling --temperature --hydro --feedback --dust --limiter --sync isolated_elliptical.yml python3 get_accretion.py