multiTypes.yml 1.92 KB
Newer Older
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
# Define the system of units to use internally. 
InternalUnitSystem:
  UnitMass_in_cgs:     1   # Grams
  UnitLength_in_cgs:   1   # Centimeters
  UnitVelocity_in_cgs: 1   # Centimeters per second
  UnitCurrent_in_cgs:  1   # Amperes
  UnitTemp_in_cgs:     1   # Kelvin

# Parameters governing the time integration
TimeIntegration:
  time_begin: 0.    # The starting time of the simulation (in internal units).
  time_end:   1.    # The end time of the simulation (in internal units).
  dt_min:     1e-6  # The minimal time-step size of the simulation (in internal units).
  dt_max:     1e-2  # The maximal time-step size of the simulation (in internal units).

# Parameters governing the snapshots
Snapshots:
  basename:            multiTypes # Common part of the name of output files
  time_first:          0.         # Time of the first output (in internal units)
  delta_time:          0.01       # Time difference between consecutive outputs (in internal units)

# Parameters governing the conserved quantities statistics
Statistics:
  delta_time:          1e-2 # Time between statistics output

# Parameters for the hydrodynamics scheme
SPH:
  resolution_eta:        1.2348   # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
  delta_neighbours:      0.1      # The tolerance for the targetted number of neighbours.
  CFL_condition:         0.1      # Courant-Friedrich-Levy condition for time integration.
31

32
33
34
# Parameters related to the initial conditions
InitialConditions:
  file_name:  ./multiTypes.hdf5     # The file to read
35
  replicate:  2                     # Replicate all particles twice along each axis
36
37

# External potential parameters
38
PointMassPotential:
39
40
41
  position_x:      50.     # location of external point mass in internal units
  position_y:      50.
  position_z:      50.	
Peter W. Draper's avatar
Peter W. Draper committed
42
  mass:            1e10     # mass of external point mass in internal units
43
  timestep_mult:   1e-2