-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgalaxies.ini
More file actions
executable file
·70 lines (59 loc) · 3.87 KB
/
galaxies.ini
File metadata and controls
executable file
·70 lines (59 loc) · 3.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
! the name of the project, used for output filenames
project_name=galaxies
gravitational_constant=6.6738480e-11 ! 6.6738480e-11 N*(m/kg)² normally...
omp_threads=1
omp_split=1
random_seed=1
integrator=yo8
force_calculation=barnes_hut
! duration of the run, timestep and time format
timestep_mode=variable ! constant or variable
time_format=seconds ! seconds, hours, days, years
t_end=31536000000
dt_factor=0.01 ! dt_factor for variable timestep
! output parameters
dt_output=3153600000
output_exact_times=true
output_to_single_file=false
output_energy_conservation=true
output_timesteps=true
output_silent_mode=false
! barnes-hut parameters
theta=0.5
!maxDepth=
!max_objects_per_external_node=1
!calc_in_com_frame=false ! do all calculations in the center of mass frame
! set up the objects
nr_of_inits=2 ! nr of init blocks
! big galaxy
init_1_src=system ! create a random circle of objects with the data given here
init_1_center_x=0 ! center point x
init_1_center_y=0 ! center point y
init_1_center_object_mass=1e37 ! center object mass
init_1_center_object_is_virtual=false ! a virtual center object is used for the velocity calculation, but no object is created
init_1_vel_x=0 ! bulk movement of the system
init_1_vel_y=0 ! bulk movement of the system
init_1_rotation=clockwise ! rotating direction: clockwise, anti-clockwise, both
init_1_radius=1e16 ! maximum distance to the center point
init_1_radius2=1e12 ! minimum distance to the center point
init_1_nr_of_objects=8000 ! how many objects to create (including the center object)
init_1_min_mass=1e29 ! minimum mass
init_1_max_mass=1e32 ! maximum mass
init_1_vel_factor_min=0.95 ! give the object a velocity between "circular-speed * this" as minimum...
init_1_vel_factor_max=1.05 ! ... and "* this" as maximum
! small galaxy
init_2_src=system ! create a random circle of objects with the data given here
init_2_center_x=0 ! center point x
init_2_center_y=2.5e16 ! center point y
init_2_center_object_mass=1e36 ! center object mass
init_2_center_object_is_virtual=false ! a virtual center object is used for the velocity calculation, but no object is created
init_2_vel_x=-1.5e5 ! bulk movement of the system
init_2_vel_y=0 ! bulk movement of the system
init_2_rotation=clockwise ! rotating direction: clockwise, anti-clockwise, both
init_2_radius=6e15 ! maximum distance to the center point
init_2_radius2=1e11 ! minimum distance to the center point
init_2_nr_of_objects=3000 ! how many objects to create (including the center object)
init_2_min_mass=1e28 ! minimum mass
init_2_max_mass=1e32 ! maximum mass
init_2_vel_factor_min=0.8 ! give the object a velocity between "circular-speed * this" as minimum...
init_2_vel_factor_max=1.2 ! ... and "* this" as maximum