dwarf_galaxy.yml 3.55 KB
Newer Older
Loic Hausammann's avatar
Loic Hausammann committed
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
# Define the system of units to use internally. 
InternalUnitSystem:
  UnitMass_in_cgs:     1.98848e43    # 10^10 M_sun in grams
  UnitLength_in_cgs:   3.08567758e21 # kpc in centimeters
  UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
  UnitCurrent_in_cgs:  1             # Amperes
  UnitTemp_in_cgs:     1             # Kelvin

# Structure finding options
StructureFinding:
  config_file_name:     stf_input.cfg # Name of the STF config file.
  basename:             ./stf         # Common part of the name of output files.
  scale_factor_first:   0.92          # Scale-factor of the first snaphot (cosmological run)
  time_first:           0.01        # Time of the first structure finding output (in internal units).
  delta_time:           1.10          # Time difference between consecutive structure finding outputs (in internal units) in simulation time intervals.

# Cosmological parameters
Cosmology:
  h:              0.673        # Reduced Hubble constant
  a_begin:        0.9873046739     # Initial scale-factor of the simulation
  a_end:          1.0           # Final scale factor of the simulation
  Omega_m:        0.315         # Matter density parameter
  Omega_lambda:   0.685         # Dark-energy density parameter
  Omega_b:        0.0486        # Baryon density parameter
  
Scheduler:
  max_top_level_cells:    8
  cell_split_size:           400       # (Optional) Maximal number of particles per cell (this is the default value).
  
# 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-10 # The minimal time-step size of the simulation (in internal units).
  dt_max:     1e-3  # The maximal time-step size of the simulation (in internal units).
  
# Parameters governing the snapshots
Snapshots:
  basename:            dwarf_galaxy # Common part of the name of output files
  time_first:          0.  # Time of the first output (non-cosmological run) (in internal units)
  delta_time:          0.02  # Time difference between consecutive outputs (in internal units)
  compression:         1

# Parameters governing the conserved quantities statistics
Statistics:
  scale_factor_first:  0.987345 # Scale-factor of the first stat dump (cosmological run)
  time_first:          0.01 # Time of the first stat dump (non-cosmological run) (in internal units)
  delta_time:          1.05 # Time between statistics output

# Parameters for the self-gravity scheme
Gravity:
  eta:                    0.025    # Constant dimensionless multiplier for time integration.
  theta:                  0.7      # Opening angle (Multipole acceptance criterion)
  comoving_softening:     0.05 # Comoving softening length (in internal units).
  max_physical_softening: 0.01    # Physical softening length (in internal units).
  mesh_side_length:       16

# 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).
  CFL_condition:         0.1      # Courant-Friedrich-Levy condition for time integration.
  minimal_temperature:   100      # (internal units)

# Parameters related to the initial conditions
InitialConditions:
  file_name:  ./dwarf_galaxy.hdf5     # The file to read
67
  periodic:   1
Loic Hausammann's avatar
Loic Hausammann committed
68
69
70
  cleanup_h_factors: 1               # Remove the h-factors inherited from Gadget
  cleanup_velocity_factors: 1        # Remove the sqrt(a) factor in the velocities inherited from Gadget