Skip to content
Snippets Groups Projects
Commit dc672f8f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Update the run.sh scripts for their new locations.

parent e39203ec
Branches
Tags
No related merge requests found
Showing
with 22 additions and 22 deletions
......@@ -17,7 +17,7 @@ fi
cd ../GiantImpactUranus
# Run SWIFT
../swift -s -G -t 8 uranus_1e6.yml 2>&1 | tee output.log
../../swift -s -G -t 8 uranus_1e6.yml 2>&1 | tee output.log
# Plot the solution
python3 plot_solution.py
......@@ -7,4 +7,4 @@ then
python makeIC.py 1000
fi
../../swift --external-gravity --threads=2 disc-patch.yml
../../../swift --external-gravity --threads=2 disc-patch.yml
......@@ -13,6 +13,6 @@ then
fi
# Run SWIFT
../../swift --external-gravity --hydro --threads=4 disc-patch-icc.yml 2>&1 | tee output.log
../../../swift --external-gravity --hydro --threads=4 disc-patch-icc.yml 2>&1 | tee output.log
python plotSolution.py
......@@ -8,6 +8,6 @@ then
fi
# Run SWIFT
../../swift --external-gravity --hydro --threads=4 disc-patch-icc.yml 2>&1 | tee output.log
../../../swift --external-gravity --hydro --threads=4 disc-patch-icc.yml 2>&1 | tee output.log
python plotSolution.py
......@@ -8,6 +8,6 @@ then
fi
rm -rf pointMass_*.hdf5
../swift --external-gravity --threads=1 externalPointMass.yml 2>&1 | tee output.log
../../swift --external-gravity --threads=1 externalPointMass.yml 2>&1 | tee output.log
python energy_plot.py
......@@ -12,7 +12,7 @@ then
fi
# self gravity G, external potential g, hydro s, threads t and high verbosity v
../swift --external-gravity --threads=6 hernquistcirc.yml 2>&1 | tee output.log
../../swift --external-gravity --threads=6 hernquistcirc.yml 2>&1 | tee output.log
echo "Save plots of the circular orbits"
......
......@@ -12,7 +12,7 @@ then
fi
rm -rf hernquist_*.hdf5
../swift --external-gravity --threads=1 hernquist.yml 2>&1 | tee output.log
../../swift --external-gravity --threads=1 hernquist.yml 2>&1 | tee output.log
......
......@@ -8,7 +8,7 @@ then
fi
# Run for 10 dynamical times
../swift --external-gravity --hydro --threads=1 hydrostatic.yml 2>&1 | tee output.log
../../swift --external-gravity --hydro --threads=1 hydrostatic.yml 2>&1 | tee output.log
echo "Plotting density profiles"
mkdir plots
......
......@@ -8,6 +8,6 @@ then
fi
rm -rf Isothermal_*.hdf5
../swift --external-gravity --threads=1 isothermal.yml 2>&1 | tee output.log
../../swift --external-gravity --threads=1 isothermal.yml 2>&1 | tee output.log
python energy_plot.py
......@@ -11,7 +11,7 @@ then
fi
# self gravity G, external potential g, hydro s, threads t and high verbosity v
../swift --external-gravity --threads=6 test.yml 2>&1 | tee output.log
../../swift --external-gravity --threads=6 test.yml 2>&1 | tee output.log
if command -v python3 &>/dev/null; then
python3 makePlots.py
......
......@@ -8,7 +8,7 @@ then
fi
# Run SWIFT
../swift --hydro --self-gravity --threads=4 evrard.yml 2>&1 | tee output.log
../../swift --hydro --self-gravity --threads=4 evrard.yml 2>&1 | tee output.log
# Get the high resolution 1D reference result if not present.
if [ ! -e evrardCollapse3D_exact.txt ]
......
#! /bin/bash
python makeICs.py stretched
../swift --hydro --threads=2 gradientsStretched.yml
../../swift --hydro --threads=2 gradientsStretched.yml
python plot.py gradients_stretched_0001.hdf5 stretched
python makeICs.py cartesian
../swift --hydro --threads=2 gradientsCartesian.yml
../../swift --hydro --threads=2 gradientsCartesian.yml
python plot.py gradients_cartesian_0001.hdf5 cartesian
python makeICs.py random
../swift --hydro --threads=2 gradientsRandom.yml
../../swift --hydro --threads=2 gradientsRandom.yml
python plot.py gradients_random_0001.hdf5 random
......@@ -13,7 +13,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 gresho.yml 2>&1 | tee output.log
../../swift --hydro --threads=1 gresho.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 11
......@@ -13,7 +13,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=4 gresho.yml 2>&1 | tee output.log
../../swift --hydro --threads=4 gresho.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 11
......@@ -8,7 +8,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 interactingBlastWaves.yml 2>&1 | tee output.log
../../swift --hydro --threads=1 interactingBlastWaves.yml 2>&1 | tee output.log
# Get the high resolution reference solution if not present.
if [ ! -e interactingBlastWaves1D_exact.txt ]
......
......@@ -9,7 +9,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 kelvinHelmholtzGrowthRate.yml 2>&1 | tee output.log
../../swift --hydro --threads=1 kelvinHelmholtzGrowthRate.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 100
......@@ -9,7 +9,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 kelvinHelmholtzGrowthRate.yml 2>&1 | tee output.log
../../swift --hydro --threads=1 kelvinHelmholtzGrowthRate.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 100
......@@ -8,7 +8,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=4 kelvinHelmholtz.yml 2>&1 | tee output.log
../../swift --hydro --threads=4 kelvinHelmholtz.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 6
......
......@@ -9,7 +9,7 @@ then
fi
rm -rf keplerian_ring_*.hdf5
../swift --external-gravity --hydro --threads=1 --verbose=1 keplerian_ring.yml 2>&1 | tee output.log
../../swift --external-gravity --hydro --threads=1 --verbose=1 keplerian_ring.yml 2>&1 | tee output.log
echo
echo
......
......@@ -8,7 +8,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 noh.yml 2>&1 | tee output.log
../../swift --hydro --threads=1 noh.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 12
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment