diff --git a/examples/EAGLE_DMO_25/README b/examples/EAGLE_DMO_25/README new file mode 100644 index 0000000000000000000000000000000000000000..08637ca3089b2b2d608b6b1dbaf7a685e9cd05b2 --- /dev/null +++ b/examples/EAGLE_DMO_25/README @@ -0,0 +1,15 @@ +ICs extracted from the EAGLE suite of simulations. + +WARNING: The ICs are 1.6GB in size. They contain ~53M DM particles. + +The particle distribution here is the snapshot 27 (z=0.1) of the 25Mpc +DMONLY-model. h- and a- factors from the original Gadget code have been +corrected for. Variables not used in a pure gravity code have +been removed. Everything is ready to be run without cosmological +integration. + +The particle load of the main EAGLE simulation can be reproduced by +running these ICs on 8 cores. + +MD5 checksum of the ICs: +78660ea7a8d4dc4c4220566caa30a08e EAGLE_DMO_ICs_25.hdf5 diff --git a/examples/EAGLE_DMO_25/eagle_25.yml b/examples/EAGLE_DMO_25/eagle_25.yml new file mode 100644 index 0000000000000000000000000000000000000000..4b8dcf7bf30b62ff65bbe44f4a80b31b320d167e --- /dev/null +++ b/examples/EAGLE_DMO_25/eagle_25.yml @@ -0,0 +1,52 @@ +# Define the system of units to use internally. +InternalUnitSystem: + UnitMass_in_cgs: 1.989e43 # 10^10 M_sun in grams + UnitLength_in_cgs: 3.085678e24 # Mpc in centimeters + UnitVelocity_in_cgs: 1e5 # km/s in centimeters per second + UnitCurrent_in_cgs: 1 # Amperes + UnitTemp_in_cgs: 1 # Kelvin + +# Cosmological parameters +Cosmology: + h: 0.6777 # Reduced Hubble constant + a_begin: 0.9090909 # Initial scale-factor of the simulation + a_end: 1.0 # Final scale factor of the simulation + Omega_m: 0.307 # Matter density parameter + Omega_lambda: 0.693 # Dark-energy density parameter + Omega_b: 0.0455 # Baryon density parameter + +# Parameters governing the time integration +TimeIntegration: + time_begin: 0. # The starting time of the simulation (in internal units). + time_end: 1e-2 # 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). + +Scheduler: + max_top_level_cells: 20 + +# Parameters governing the snapshots +Snapshots: + basename: eagle_dmo + scale_factor_first: 0.92 # Scale-factor of the first snaphot (cosmological run) + time_first: 0.01 # Time of the first output (non-cosmological run) (in internal units) + delta_time: 1.10 # Time difference between consecutive outputs (in internal units) + compression: 4 + +# Parameters governing the conserved quantities statistics +Statistics: + scale_factor_first: 0.92 # 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.85 # Opening angle (Multipole acceptance criterion) + comoving_softening: 0.0026994 # Comoving softening length (in internal units). + max_physical_softening: 0.0007 # Physical softening length (in internal units). + +# Parameters related to the initial conditions +InitialConditions: + file_name: EAGLE_DMO_ICs_25.hdf5 + cleanup_h_factors: 1 # Remove the h-factors inherited from Gadget diff --git a/examples/EAGLE_DMO_25/getIC.sh b/examples/EAGLE_DMO_25/getIC.sh new file mode 100755 index 0000000000000000000000000000000000000000..72b08086d77f619b2a89a820557975af8da5ce75 --- /dev/null +++ b/examples/EAGLE_DMO_25/getIC.sh @@ -0,0 +1,2 @@ +#!/bin/bash +wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/ICs/EAGLE_DMO_ICs_25.hdf5 diff --git a/examples/EAGLE_DMO_25/run.sh b/examples/EAGLE_DMO_25/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae0a6d3c49b89239da973c7417530204b4751729 --- /dev/null +++ b/examples/EAGLE_DMO_25/run.sh @@ -0,0 +1,11 @@ +#!/bin/bash + + # Generate the initial conditions if they are not present. +if [ ! -e EAGLE_DMO_ICs_25.hdf5 ] +then + echo "Fetching initial conditions for the EAGLE DMO 25Mpc example..." + ./getIC.sh +fi + +../swift -c -G -t 16 eagle_25.yml 2>&1 | tee output.log +