-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.txt
27 lines (20 loc) · 916 Bytes
/
config.txt
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
# Somewhat proprietary config format:
# Lines starting with a '#' (like this one!) aren't parsed
# Lines should be structured as 'PROPERTYNAME VALUE' (i.e. separated by 1 space)
# Number of particles to create at program start.
n_part 101
# The mass to use for all of the particles, in kg
mass 0.04
# Pressure calculation mode. 0: Isothermal, 1: Adiabatic
pressure_calc 1
# Boundary size -- as measured from either side of the origin (so the total width of the space will
# be twice this value)
limit 2
# The initial velocity to give to particles when setting up the calculation. Ignored if adiabatic
# pressure calculation is enabled;
v_0 1
# Coefficient to use in h-density rootfinding relation (see Price 2012 eq. 10, Price 2018 eq. 6)
# The number of neighbours for each particle is approximately 2 * kernel radius (2.5) * this value
h_factor 2
# The initial timestep to use for the simulation
t_i 0.005