Welcome to grackle’s documentation!¶
Grackle is a chemistry and radiative cooling library for astrophysical simulations and models. Grackle has interfaces for C, C++, Fortran, and Python codes and provides:
two options for primordial chemistry and cooling:
non-equilibrium primordial chemistry network for atomic H, D, and He as well as H2 and HD, including H2 formation on dust grains.
tabulated H and He cooling rates calculated with the photo-ionization code, Cloudy.
tabulated metal cooling rates calculated with Cloudy.
photo-heating and photo-ionization from two UV backgrounds:
support for user-provided arrays of volumetric and specific heating rates.
The Grackle provides functions to update chemistry species; solve radiative cooling and update internal energy; and calculate cooling time, temperature, pressure, and ratio of specific heats (gamma).
- Running the Test Suite
- Adding Grackle to Your Simulation Code
- Parameters and Data Files
- Rate Functions
- API Reference
- Pygrackle: Running Grackle in Python
- Grackle Community Code of Conduct
- How to Develop Grackle
If you have any questions, please join the Grackle Users Google Group. Feel free to post any questions or ideas for development.
Development of Grackle happens in the open on GitHub here. We welcome new contributors. Please, see the Grackle Community Code of Conduct. For a guide to developing Grackle, see How to Develop Grackle.
The Grackle method paper can be found here.
The Grackle library was born out of the chemistry and cooling routines of the Enzo simulation code. As such, all of those who have contributed to Enzo development, and especially to the chemistry and cooling, have contributed to the Grackle.