Modelling the chemical evolution in galaxies with KROME
In this paper we present and test chemical models for three-dimensional hydrodynamical simulations of galaxy evolution. The microphysics is modelled by employing the public chemistry package KROME and the chemical networks have been tested to work in a wide range of densities and temperatures. We describe a simple H/He network following the formation of H2, and a more sophisticated network which includes metals. Photochemistry, thermal processes, and different prescriptions for the H2 catalysis on dust are presented and tested within a simple one-zone framework. We explore the effect of changing some of the key parameters such as metallicity, radiation and non-equilibrium versus equilibrium metal cooling approximations on the transition between the different gas phases. We find that employing an accurate treatment of the dust-related processes induces a faster HI-H2 transition. In addition, we show when the equilibrium assumption for metal cooling holds, and how a non-equilibrium approach affects the thermal evolution of the gas and the HII-HI transition. These models can be employed in any hydrodynamical code via an interface to KROME and can be applied to different problems including isolated galaxies, cosmological simulations of galaxy formation and evolution, and supernova explosions in molecular clouds. The metal network can be used for a comparison with observational data of CII 158 {\mu}m emission both for high-redshift as well as for local galaxies.