zoom_in.yml 6.36 KB
Newer Older
Loic Hausammann's avatar
Loic Hausammann committed
1 2
# Define the system of units to use internally. 
InternalUnitSystem:
Loic Hausammann's avatar
Loic Hausammann committed
3 4
  UnitMass_in_cgs:     1.98841e43    # 10^10 M_sun in grams
  UnitLength_in_cgs:   3.08567758e24 # Mpc in centimeters
Loic Hausammann's avatar
Loic Hausammann committed
5 6 7 8
  UnitVelocity_in_cgs: 1e5           # km/s in centimeters per second
  UnitCurrent_in_cgs:  1             # Amperes
  UnitTemp_in_cgs:     1             # Kelvin

Loic Hausammann's avatar
Loic Hausammann committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22
Scheduler:
  max_top_level_cells: 16
  cell_sub_size_self_grav:   2048
  cell_subdepth_diff_grav:   2
  cell_split_size:           200
  cell_extra_gparts:         100         # (Optional) Number of spare gparts per top-level allocated at rebuild time for on-the-fly creation.

  
# Parameters governing the time integration
TimeIntegration:
  dt_min:     1e-16 # The minimal time-step size of the simulation (in internal units).
  dt_max:     0.1  # The maximal time-step size of the simulation (in internal units).
  max_dt_RMS_factor: 0.25  # (Optional) Dimensionless factor for the maximal displacement allowed based on the RMS velocities.

Loic Hausammann's avatar
Loic Hausammann committed
23 24 25
# Cosmological parameters
Cosmology:
  h:              0.673        # Reduced Hubble constant
Loic Hausammann's avatar
Loic Hausammann committed
26
  a_begin:        0.014084507042253521     # Initial scale-factor of the simulation
Loic Hausammann's avatar
Loic Hausammann committed
27 28 29
  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
Loic Hausammann's avatar
Loic Hausammann committed
30 31 32 33 34
  Omega_b:        0.0486     # Baryon density parameter
  Omega_r:        0.            # (Optional) Radiation density parameter
  w_0:            -1.0          # (Optional) Dark-energy equation-of-state parameter at z=0.
  w_a:            0.            # (Optional) Dark-energy equation-of-state time evolution parameter.

Loic Hausammann's avatar
Loic Hausammann committed
35 36
# Parameters governing the snapshots
Snapshots:
Loic Hausammann's avatar
Loic Hausammann committed
37 38 39 40 41 42
  basename:            snap/h050 # Common part of the name of output files
  time_first:          0.    # Time of the first output (in internal units)
  delta_time:          1e-2  # Time difference between consecutive outputs (in internal units)
  compression:         4
  output_list_on:      1  # (Optional) Enable the output list
  output_list:         snaplist.txt # (Optional) File containing the output times (see documentation in "Parameter File" section)
Loic Hausammann's avatar
Loic Hausammann committed
43 44 45

# Parameters governing the conserved quantities statistics
Statistics:
Loic Hausammann's avatar
Loic Hausammann committed
46 47
  scale_factor_first: 0.0141
  delta_time:          1.02 # Time between statistics output
Loic Hausammann's avatar
Loic Hausammann committed
48

Loic Hausammann's avatar
Loic Hausammann committed
49
# Parameters for the self-gravity scheme
Loic Hausammann's avatar
Loic Hausammann committed
50
Gravity:
Loic Hausammann's avatar
Loic Hausammann committed
51 52 53 54
  eta:                    0.05    # Constant dimensionless multiplier for time integration.
  MAC:                           geometric  # Choice of mulitpole acceptance criterion: 'adaptive' OR 'geometric'.
  epsilon_fmm:                   0.001     # Tolerance parameter for the adaptive multipole acceptance criterion.
  theta_cr:                      0.7       # Opening angle for the purely gemoetric criterion.
55 56 57 58 59 60
  comoving_DM_softening:     0.1278 # Comoving softening length (in internal units).
  max_physical_DM_softening: 0.03365    # Physical softening length (in internal units).
  comoving_baryon_softening:     0.03365 # Comoving softening length (in internal units).
  max_physical_baryon_softening: 0.00673    # Physical softening length (in internal units).
  softening_ratio_background:    0.0285714      # Fraction of the mean inter-particle separation to use as Plummer-equivalent softening for the background DM particles.
  mesh_side_length:       128        # Number of cells along each axis for the periodic gravity mesh.
Loic Hausammann's avatar
Loic Hausammann committed
61
  
Loic Hausammann's avatar
Loic Hausammann committed
62 63 64 65
# 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.
Loic Hausammann's avatar
Loic Hausammann committed
66 67 68
  minimal_temperature:   10.      # Kelvin
  h_min_ratio:           0.0714285714285       # (Optional) Minimal allowed smoothing length in units of the softening. Defaults to 0 if unspecified.
  h_max:                 100     # (Optional) Maximal allowed smoothing length in internal units. Defaults to FLT_MAX if unspecified.
Loic Hausammann's avatar
Loic Hausammann committed
69 70 71

# Parameters related to the initial conditions
InitialConditions:
72
  file_name:  ./h050.hdf5     # The file to read
Loic Hausammann's avatar
Loic Hausammann committed
73 74 75 76 77
  periodic:   1                     # Non-periodic BCs
  cleanup_h_factors: 1              # Remove the h-factors inherited from Gadget
  shift:    [0, 0, 0]   # Centre the box
  cleanup_velocity_factors:    1    # (Optional) Clean up the scale-factors used in the definition of the velocity variable in the ICs (e.g. in Gadget files).
  cleanup_smoothing_lengths:   1    # (Optional) Clean the values of the smoothing lengths that are read in to remove stupid values. Set to 1 to activate.
Loic Hausammann's avatar
Gear  
Loic Hausammann committed
78

Loic Hausammann's avatar
Loic Hausammann committed
79
# Cooling with Grackle 2.0
Loic Hausammann's avatar
Gear  
Loic Hausammann committed
80 81
GrackleCooling:
  cloudy_table: CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository)
Loic Hausammann's avatar
Loic Hausammann committed
82 83 84 85 86 87 88 89 90 91
  with_UV_background: 1 # Enable or not the UV background
  redshift: -1 # Redshift to use (-1 means time based redshift)
  with_metal_cooling: 1 # Enable or not the metal cooling
  provide_volumetric_heating_rates: 0 # User provide volumetric heating rates
  provide_specific_heating_rates: 0 # User provide specific heating rates
  self_shielding_method: -1 # Grackle (<= 3) or Gear self shielding method
  self_shielding_threshold_atom_per_cm3: 0.007  # Required only with GEAR's self shielding. Density threshold of the self shielding
  max_steps: 1000
  convergence_limit: 1e-2
  thermal_time_myr: 5
Loic Hausammann's avatar
Gear  
Loic Hausammann committed
92 93 94 95 96


GEARStarFormation:
  star_formation_efficiency: 0.01   # star formation efficiency (c_*)
  maximal_temperature:  3e4         # Upper limit to the temperature of a star forming particle
97 98
  n_stars_per_particle: 4
  min_mass_frac: 0.5
Loic Hausammann's avatar
Gear  
Loic Hausammann committed
99 100

GEARPressureFloor:
Loic Hausammann's avatar
Loic Hausammann committed
101 102 103 104 105 106
  jeans_factor: 10

GEARFeedback:
  supernovae_energy_erg: 0.135e51
  yields_table: chemistry-AGB+OMgSFeZnSrYBaEu-16072013.h5
  discrete_yields: 1
Loic Hausammann's avatar
Loic Hausammann committed
107 108 109
  yields_table_first_stars: chemistry-PopIII.hdf5          # Table containing the yields of the first stars.
  metallicity_max_first_stars: -1                          # Maximal metallicity (in mass fraction) for a first star (-1 to deactivate).
  elements: [Fe, Mg, O, S, Zn, Sr, Y, Ba, Eu]              # Elements to read in the yields table. The number of element should be one less than the number of elements (N) requested during the configuration (--with-chemistry=GEAR_N).
Loic Hausammann's avatar
Loic Hausammann committed
110 111 112 113 114 115 116

GEARChemistry:
  initial_metallicity: 0
  scale_initial_metallicity: 0

Restarts:
  delta_hours:        1        # (Optional) decimal hours between dumps of restart files.