Skip to content
Snippets Groups Projects
Commit d595e994 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Use the correct starting redshift and make the code generate gas in the ICs for the new QLA example

parent 8c0a0745
No related branches found
No related tags found
1 merge request!1036Quick lyman alpha module
# Define some meta-data about the simulation
MetaData: MetaData:
run_name: L0050N0752-Quick-Lyman-alpha run_name: L0050N0752-Quick-Lyman-alpha
...@@ -12,21 +13,12 @@ InternalUnitSystem: ...@@ -12,21 +13,12 @@ InternalUnitSystem:
# Cosmological parameters # Cosmological parameters
Cosmology: Cosmology:
h: 0.6777 # Reduced Hubble constant h: 0.6777 # Reduced Hubble constant
a_begin: 0.9090909 # Initial scale-factor of the simulation a_begin: 0.0078125 # Initial scale-factor of the simulation
a_end: 1.0 # Final scale factor of the simulation a_end: 1.0 # Final scale factor of the simulation
Omega_m: 0.307 # Matter density parameter Omega_m: 0.307 # Matter density parameter
Omega_lambda: 0.693 # Dark-energy density parameter Omega_lambda: 0.693 # Dark-energy density parameter
Omega_b: 0.0482519 # Baryon density parameter Omega_b: 0.0482519 # Baryon density parameter
Scheduler:
max_top_level_cells: 32
tasks_per_cell: 5
cell_split_size: 200
Restarts:
onexit: 1
delta_hours: 2.0
# Parameters governing the time integration # Parameters governing the time integration
TimeIntegration: TimeIntegration:
dt_min: 1e-10 # The minimal time-step size of the simulation (in internal units). dt_min: 1e-10 # The minimal time-step size of the simulation (in internal units).
...@@ -63,12 +55,23 @@ SPH: ...@@ -63,12 +55,23 @@ SPH:
minimal_temperature: 100 # (internal units) minimal_temperature: 100 # (internal units)
initial_temperature: 268.7 # (internal units) initial_temperature: 268.7 # (internal units)
Scheduler:
max_top_level_cells: 32
tasks_per_cell: 5
cell_split_size: 200
Restarts:
onexit: 1
delta_hours: 2.0
# Parameters related to the initial conditions # Parameters related to the initial conditions
InitialConditions: InitialConditions:
file_name: EAGLE_L0050N0752_ICs.hdf5 # The file to read file_name: EAGLE_L0050N0752_ICs.hdf5 # The file to read
periodic: 1 periodic: 1
cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget 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 cleanup_velocity_factors: 1 # Remove the sqrt(a) factor in the velocities inherited from Gadget
generate_gas_in_ics: 1 # Generate gas particles from the DM-only ICs
cleanup_smoothing_lengths: 1 # Since we generate gas, make use of the (expensive) cleaning-up procedure.
# Quick Lyman-alpha cooling (EAGLE with fixed primoridal Z) # Quick Lyman-alpha cooling (EAGLE with fixed primoridal Z)
QLACooling: QLACooling:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment