ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2205.010] pyICs: Initial Conditions creator for isolated galaxy formation simulations

pyICs creates initial condition (IC) files for N-body simulations of the formation of isolated galaxies. It uses the pynbody analysis package (ascl:1305.002) to create the actual IC files. pyICs generates dark matter halos (DM) in dynamical equilibrium which host a rotating gas sphere. The DM particle velocities are drawn from the equilibrium distribution function and the gas sphere has an angular momentum profile. The DM and the gas share the same 3D radial density profile. The code natively supports the αβγ-models: ρ ~ (r/a)-γ[1+(r/a)α](γ-β)/α. If γ <= 3, the profiles are smoothly truncated outside the virial radius. The radial profile can be arbitrary as long as python functions for the profile itself and its first and second derivative with radius are given.

Code site:
http://jakobherpich.github.io/pyICs/ https://github.com/jakobherpich/pyICs
Described in:
https://ui.adsabs.harvard.edu/abs/2017MNRAS.470.4941H
Bibcode:
2022ascl.soft05010H
Preferred citation method:

https://ui.adsabs.harvard.edu/abs/2017MNRAS.470.4941H and the acknowledgement "This work made use of the open-source python initial condition creation package pyICs written by Jakob Herpich (https://github.com/jakobherpich/pyICs)."


Views: 1418

ascl:2205.010
Add this shield to your page
Copy the above HTML to add this shield to your code's website.