Cosmological smoothed particle hydrodynamics simulations: the entropy equation

We discuss differences in simulation results that arise between the use of either the thermal energy or the entropy as an independent variable in smoothed particle hydrodynamics (SPH). In this context, we derive a new version of SPH that, when appropriate, manifestly conserves both energy and entropy if smoothing lengths are allowed to adapt freely to the local mass resolution. To test various formulations of SPH, we consider point-like energy injection, as in certain models of supernova feedback, and find that powerful explosions are well represented by SPH even when the energy is deposited into a single particle, provided that the entropy equation is integrated. If the thermal energy is instead used as an independent variable, unphysical solutions can be obtained for this problem. We also examine the radiative cooling of gas spheres that collapse and virialize in isolation, and of haloes that form in cosmological simulations of structure formation. When applied to these problems, the thermal energy version of SPH leads to substantial overcooling in haloes that are resolved with up to a few thousand particles, while the entropy formulation is biased only moderately low for these haloes under the same circumstances. For objects resolved with much larger particle numbers, the two approaches yield consistent results. We trace the origin of the differences to systematic resolution effects in the outer parts of cooling flows. When the thermal energy equation is integrated and the resolution is low, the compressional heating of the gas in the inflow region is underestimated, violating entropy conservation and improperly accelerating cooling. The cumulative effect of this overcooling can be significant. In cosmological simulations of moderate size, we find that the fraction of baryons which cool and condense can be reduced by up to a factor ∼2 if the entropy equation is employed rather than the thermal energy equation, partly explaining discrepancies with semi-analytic treatments of galaxy formation. We also demonstrate that the entropy method leads to a greatly reduced scatter in the density–temperature relation of the low-density Lyα forest relative to the thermal energy approach, in accord with theoretical expectations.

[1]  J. Monaghan,et al.  Smoothed particle hydrodynamics: Theory and application to non-spherical stars , 1977 .

[2]  L. Lucy A numerical approach to the testing of the fission hypothesis. , 1977 .

[3]  J. Monaghan,et al.  Shock simulation by the particle method SPH , 1983 .

[4]  W. Benz,et al.  Three-dimensional hydrodynamical simulations of stellar collisions. I - Equal-mass main-sequence stars , 1987 .

[5]  A. Evrard Beyond N-body: 3D cosmological gas dynamics , 1988 .

[6]  E. Bertschinger The Evolution of Cooling Flows: Self-similar Cooling Waves , 1989 .

[7]  L. Hernquist Tidal triggering of starbursts and nuclear activity in galaxies , 1989, Nature.

[8]  L. Hernquist,et al.  TREESPH: A Unification of SPH with the Hierarchical Tree Method , 1989 .

[9]  A. Evrard Formation and Evolution of X-Ray Clusters: A Hydrodynamic Simulation of the Intracluster Medium , 1990 .

[10]  F. Thielemann,et al.  Convective instabilities in SN 1987A , 1990 .

[11]  J. Navarro,et al.  Dynamics of Cooling Gas in Galactic Dark Halos , 1991 .

[12]  L. Hernquist,et al.  Fueling Starburst Galaxies with Gas-rich Mergers , 1991 .

[13]  J. Gunn,et al.  Dissipational Galaxy Formation. I. Effects of Gasdynamics , 1991 .

[14]  Stuart L. Shapiro,et al.  Collisions of Giant Stars with Compact Objects: Hydrodynamical Calculations , 1991 .

[15]  Neal Katz,et al.  Galaxies and Gas in a Cold Dark Matter Universe , 1992 .

[16]  J. Monaghan Smoothed particle hydrodynamics , 2005 .

[17]  H. M. P. Couchman,et al.  Simulating the formation of a cluster of galaxies , 1992 .

[18]  S. White,et al.  Simulations of dissipative galaxy formation in hierarchically clustering universes – I: Tests of the code , 1993 .

[19]  L. Hernquist,et al.  Some cautionary remarks about smoothed particle hydrodynamics , 1993 .

[20]  Richard P. Nelson,et al.  Three-dimensional hydrodynamic simulations of collapsing prolate clouds , 1993 .

[21]  Richard P. Nelson,et al.  Variable smoothing lengths and energy conservation in smoothed particle hydrodynamics , 1994 .

[22]  F. Pearce,et al.  Hydra: An Adaptive--Mesh Implementation of PPPM--SPH , 1994 .

[23]  P. Madau,et al.  Radiative Transfer in a Clumpy Universe. II. The Ultraviolet Extragalactic Background , 1995, astro-ph/9509093.

[24]  D. Weinberg,et al.  Cosmological Simulations with TreeSPH , 1995, astro-ph/9509107.

[25]  Adaptative Smooth Particle Hydrodynamics and Particle-Particle coupled codes: Energy and Entropy Conservation , 1995, astro-ph/9511116.

[26]  D. Weinberg,et al.  The Lyman-Alpha Forest in the Cold Dark Matter Model , 1995, astro-ph/9509105.

[27]  J. Michael Owen,et al.  Adaptive smoothed particle hydrodynamics, with application to cosmology: Methodology , 1996 .

[28]  Matthias Steinmetz Grapesph: cosmological smoothed particle hydrodynamics simulations with the special-purpose hardware GRAPE , 1996 .

[29]  John Dubinski,et al.  Parallel TreeSPH , 1997 .

[30]  L. Hui,et al.  Equation of state of the photoionized intergalactic medium , 1996, astro-ph/9612232.

[31]  Two-body heating in numerical galaxy formation experiments , 1996, astro-ph/9609021.

[32]  Galaxy formation and evolution - I. The Padua tree-sph code (pd-sph) , 1997, astro-ph/9712307.

[33]  J. Owen,et al.  Adaptive Smoothed Particle Hydrodynamics: Methodology. II. , 1995, astro-ph/9512078.

[34]  The Low-Redshift Lyα Forest in Cold Dark Matter Cosmologies , 1998, astro-ph/9807177.

[35]  J. Peacock,et al.  A Simulation of Galaxy Formation and Clustering , 1999, astro-ph/9905160.

[36]  In-shock cooling in numerical simulations , 1999, astro-ph/9903320.

[37]  A. Fabian,et al.  A Rossi X-Ray Timing Explorer Study of M87 and the Core of the Virgo Cluster , 1999 .

[38]  Self-similar shocked accretion of collisional gas with radiative cooling , 1999, astro-ph/9904364.

[39]  H. M. P. Couchman,et al.  Smoothed Particle Hydrodynamics in cosmology: a comparative study of implementations , 2000 .

[40]  N. Gnedin Effect of Reionization on Structure Formation in the Universe , 2000, astro-ph/0002151.

[41]  J. Peacock,et al.  Simulations of galaxy formation in a cosmological volume , 2000, astro-ph/0010587.

[42]  Lars Hernquist,et al.  Hydrodynamic Simulation of the Cosmological X-Ray Background , 2000, astro-ph/0010345.

[43]  P Español,et al.  Thermodynamically consistent mesoscopic fluid particle model. , 2001, Physical review. E, Statistical, nonlinear, and soft matter physics.

[44]  D. Weinberg,et al.  Baryons in the Warm-Hot Intergalactic Medium , 2000, astro-ph/0007217.

[45]  C. Baugh,et al.  A comparison of semi-analytic and smoothed particle hydrodynamics galaxy formation , 1999, astro-ph/9912220.

[46]  V. Springel,et al.  GADGET: a code for collisionless and gasdynamical cosmological simulations , 2000, astro-ph/0003162.