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

Run script for the perturbed box example

parent a7a49f0f
No related branches found
No related tags found
1 merge request!210Correct the equation for the entropy time derivative in GADGET2_SPH
...@@ -17,7 +17,7 @@ TimeIntegration: ...@@ -17,7 +17,7 @@ TimeIntegration:
Snapshots: Snapshots:
basename: uniformBox # Common part of the name of output files basename: uniformBox # Common part of the name of output files
time_first: 0. # Time of the first output (in internal units) time_first: 0. # Time of the first output (in internal units)
delta_time: 0.01 # Time difference between consecutive outputs (in internal units) delta_time: 1e-3 # Time difference between consecutive outputs (in internal units)
# Parameters governing the conserved quantities statistics # Parameters governing the conserved quantities statistics
Statistics: Statistics:
......
#!/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..."
python makeIC.py 50
fi
../swift -s -t 16 uniformBox.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment