# Define the system of units to use internally. InternalUnitSystem: UnitMass_in_cgs: 1.98841e43 # 1e10 Msol #2.0e33 # Solar masses UnitLength_in_cgs: 3.08567758e24 # Mpc #3.0857e21 # Kiloparsecs UnitVelocity_in_cgs: 1.0e5 # Kilometers 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: 5e-6 # 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-8 # The maximal time-step size of the simulation (in internal units). # Parameters governing the snapshots Snapshots: basename: snap/snapshot # Common part of the name of output files time_first: 0. # Time of the first output (in internal units) delta_time: 1e-7 # Time difference between consecutive outputs (in internal units) # Parameters governing the conserved quantities statistics Statistics: delta_time: 1e-3 # Time between statistics output Scheduler: tasks_per_cell: 64 # 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. # Kelvin # Parameters related to the initial conditions InitialConditions: file_name: ./coolingBox.hdf5 # The file to read periodic: 1 # Dimensionless pre-factor for the time-step condition LambdaCooling: lambda_nH2_cgs: 1e-22 # Cooling rate divided by square Hydrogen number density (in cgs units [erg * s^-1 * cm^3]) cooling_tstep_mult: 1.0 # Dimensionless pre-factor for the time-step condition # Cooling with Grackle 3.0 GrackleCooling: cloudy_table: CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository) with_UV_background: 0 # Enable or not the UV background redshift: 0 # Redshift to use (-1 means time based redshift) with_metal_cooling: 0 # Enable or not the metal cooling max_steps: 10000 # (optional) Max number of step when computing the initial composition convergence_limit: 1e-2 # (optional) Convergence threshold (relative) for initial composition thermal_time_myr: 5 # (optional) Time (in Myr) for adiabatic cooling after a feedback event. self_shielding_method: 0 # (optional) Grackle (1->3 for Grackle's ones, 0 for none and -1 for GEAR) self_shielding_threshold_atom_per_cm3: 0.007 # Required only with GEAR's self shielding. Density threshold of the self shielding HydrogenFractionByMass : 1. # Hydrogen fraction by mass (default is 0.76) use_radiative_transfer : 1 # Arrays of ionization and heating rates are provided RT_heating_rate_cgs : 1.65117e-17 # heating rate in units of / nHI_cgs (corresponding to a flux of 10^12 photons s−1 cm−2 , with a 10^5 K blackbody spectrum) RT_HI_ionization_rate_cgs : 1.63054e-06 # HI ionization rate in cgs [1/s] (corresponding to a flux of 10^12 photons s−1 cm−2 , with a 10^5 K blackbody spectrum) RT_HeI_ionization_rate_cgs : 0 # HeI ionization rate in cgs [1/s] RT_HeII_ionization_rate_cgs: 0 # HeII ionization rate in cgs [1/s] RT_H2_dissociation_rate_cgs: 0 # H2 dissociation rate in cgs [1/s] maximal_density_Hpcm3: -1 # Maximal density (in hydrogen atoms/cm^3) for cooling. Higher densities are floored to this value to ensure grackle works properly when interpolating beyond the cloudy_table maximal density. A value < 0 deactivates this parameter. GEARChemistry: initial_metallicity: 0.01295 GEARPressureFloor: jeans_factor: 0. # Number of particles required to suppose a resolved clump and avoid the pressure floor.