https://github.com/jborrow/interstellargadget
Gadget-2.0.7 modified with some minor fixes that make it easier to simulate simple galaxies
https://github.com/jborrow/interstellargadget
Last synced: 3 months ago
JSON representation
Gadget-2.0.7 modified with some minor fixes that make it easier to simulate simple galaxies
- Host: GitHub
- URL: https://github.com/jborrow/interstellargadget
- Owner: JBorrow
- License: gpl-2.0
- Created: 2016-12-13T12:45:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T10:30:31.000Z (about 8 years ago)
- Last Synced: 2024-12-27T06:41:41.512Z (5 months ago)
- Language: C
- Homepage:
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
InterStellarGadget
==================A simple modification to Gadget-2.0.7 (available from [here](https://wwwmpa.mpa-garching.mpg.de/gadget/)) that adds some things that are useful for non-cosmological simulations of single galaxies in a separate environment. Currently this adds
+ A fixed dark matter potential based on a NFW profile.
+ A custom equation of state based on the work of Martizzi (2016).This is implemented through the following compiler options:
+ DFIXED\_POTENTIAL: switches on the fixed potential
+ DNO\_SELF\_GRAVITY: removes all self gravity (it is still calculated, though, so this does not offer any considerable speedup -- this should be fixed in the future)
+ MARTIZZI\_EOSYou will need to add the following things in your paramter file (we sugguest using the initial conditions generator [here](https://www.github.com/JBorrow/GoGoGadget)):
For Martizzi EOS:
+ f\_Martizzi
+ F\_Martizzi
+ P\_fin -- note this must be simulation units
+ fgasFor fixed NFW:
+ R\_nfw
+ HaloMass
+ c\_nfw