Skip to content

Instantly share code, notes, and snippets.

@ridlo
Created November 30, 2016 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ridlo/feb2adb79e39a51e04a78b6a3b0330b0 to your computer and use it in GitHub Desktop.
Save ridlo/feb2adb79e39a51e04a78b6a3b0330b0 to your computer and use it in GitHub Desktop.
MUSIC input file
[setup]
boxlength = 60 #Mpc
zstart = 50 #redshift at which simulation starts
levelmin = 7 #2^X
levelmin_TF = 7 #only zoom, otherwise same as others
levelmax = 7 #only zoom, otherwise same as others
padding = 7 #padding between different zones
overlap = 4 #number of padding grids when computing transfer function
ref_center = 0.0, 0.0, 0.0 #refinement
ref_extent = 0.0, 0.0, 0.0
align_top = yes #alignment of the coarser with subgrid
baryons = no
use_2LPT = yes #2nd order lagrangian perturbation theory to calc particle displacement and velocities
use_LLA = no #localc Lagrangian approx, for baryons
periodic_TF = yes #periodic transfer function kernel
[cosmology]
# search for cosmological parameters, e.g. from Planck 2013
Omega_m = 0.3089
Omega_L = 0.6911
Omega_b = 0.0486
H0 = 67.74
sigma_8 = 0.8159 #power spectrum normalization
nspec = 0.9624 #power law index of density perturbation spectrum after inflation
transfer = eisenstein #Eisenstein&Hu
[random]
seed[7] = 2708 #random seed for that level
[output]
##Gadget-2 (type=1: high-res particles, type=5: rest)
format = gadget2
gadget_usekpc = yes
filename = ics_60_gadget_128.dat
[poisson]
fft_fine = yes
accuracy = 1e-5
pre_smooth = 3
post_smooth = 3
smoother = gs
laplace_order = 6
grad_order = 6
@ridlo
Copy link
Author

ridlo commented Nov 30, 2016

music config file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment