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

Updated ICs and run script to match the other examples.

parent 38565747
No related branches found
No related tags found
1 merge request!205Isothermal potential
...@@ -43,4 +43,5 @@ PointMass: ...@@ -43,4 +43,5 @@ PointMass:
position_y: 50. position_y: 50.
position_z: 50. position_z: 50.
mass: 1e10 # mass of external point mass in internal units mass: 1e10 # mass of external point mass in internal units
timestep_mult: 0.03 # controls time step
...@@ -7,4 +7,4 @@ then ...@@ -7,4 +7,4 @@ then
python makeIC.py 1000 1 python makeIC.py 1000 1
fi fi
../../swift -g -t 2 externalGravity.yml ../../swift -g -t 2 isothermal.yml
...@@ -70,10 +70,11 @@ PointMass: ...@@ -70,10 +70,11 @@ PointMass:
position_y: 50. position_y: 50.
position_z: 50. position_z: 50.
mass: 1e10 # mass of external point mass in internal units mass: 1e10 # mass of external point mass in internal units
timestep_mult: 0.03 # Pre-factor for the time-step condition
IsothermalPotential: IsothermalPotential:
position_x: 100. # Location of centre of isothermal potential in internal units position_x: 100. # Location of centre of isothermal potential in internal units
position_y: 100. position_y: 100.
position_z: 100. position_z: 100.
vrot: 200. # Rotation speed of isothermal potential in internal units vrot: 200. # Rotation speed of isothermal potential in internal units
timestep_mult: 0.03 # Pre-factor for the time-step condition timestep_mult: 0.03 # Pre-factor for the time-step condition
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment