From e04174dba0c827e2e6c46ce11bf456a6ee59af00 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 25 Jul 2016 12:30:52 +0100 Subject: [PATCH] Updated ICs and run script to match the other examples. --- examples/ExternalPointMass/externalPointMass.yml | 1 + .../GravityOnly/{externalGravity.yml => isothermal.yml} | 0 examples/IsothermalPotential/GravityOnly/run.sh | 2 +- examples/parameter_example.yml | 3 ++- 4 files changed, 4 insertions(+), 2 deletions(-) rename examples/IsothermalPotential/GravityOnly/{externalGravity.yml => isothermal.yml} (100%) diff --git a/examples/ExternalPointMass/externalPointMass.yml b/examples/ExternalPointMass/externalPointMass.yml index c6ab8af09c..d06c165651 100644 --- a/examples/ExternalPointMass/externalPointMass.yml +++ b/examples/ExternalPointMass/externalPointMass.yml @@ -43,4 +43,5 @@ PointMass: position_y: 50. position_z: 50. mass: 1e10 # mass of external point mass in internal units + timestep_mult: 0.03 # controls time step diff --git a/examples/IsothermalPotential/GravityOnly/externalGravity.yml b/examples/IsothermalPotential/GravityOnly/isothermal.yml similarity index 100% rename from examples/IsothermalPotential/GravityOnly/externalGravity.yml rename to examples/IsothermalPotential/GravityOnly/isothermal.yml diff --git a/examples/IsothermalPotential/GravityOnly/run.sh b/examples/IsothermalPotential/GravityOnly/run.sh index caa616f56e..329d04d30a 100755 --- a/examples/IsothermalPotential/GravityOnly/run.sh +++ b/examples/IsothermalPotential/GravityOnly/run.sh @@ -7,4 +7,4 @@ then python makeIC.py 1000 1 fi -../../swift -g -t 2 externalGravity.yml +../../swift -g -t 2 isothermal.yml diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml index ff4b3e1c37..edb0885d62 100644 --- a/examples/parameter_example.yml +++ b/examples/parameter_example.yml @@ -70,10 +70,11 @@ PointMass: position_y: 50. position_z: 50. mass: 1e10 # mass of external point mass in internal units + timestep_mult: 0.03 # Pre-factor for the time-step condition IsothermalPotential: position_x: 100. # Location of centre of isothermal potential in internal units position_y: 100. - position_z: 100. + position_z: 100. vrot: 200. # Rotation speed of isothermal potential in internal units timestep_mult: 0.03 # Pre-factor for the time-step condition -- GitLab