run.sh 327 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

 # Generate the initial conditions if they are not present.
if [ ! -e sedov.hdf5 ]
then
    echo "Generating initial conditions for the Sedov blast example..."
    python makeIC.py
fi

# Run SWIFT
11
../swift --hydro --limiter --threads=1 sedov.yml 2>&1 | tee output.log
12
13
14

# Plot the solution
python plotSolution.py 5