Rich: Open-source hydrodynamic simulation on a moving Voronoi mesh

Almog Yalinewich, Elad Steinberg, Re'Em Sari

Research output: Contribution to journalArticlepeer-review

31 Scopus citations


We present here RICH, a state-of-the-art two-dimensional hydrodynamic code based on Godunov's method, on an unstructured moving mesh (the acronym stands for Racah Institute Computational Hydrodynamics). This code is largely based on the code AREPO. It differs from AREPO in the interpolation and time-advancement schemeS as well as a novel parallelization scheme based on Voronoi tessellation. Using our code, we study the pros and cons of a moving mesh (in comparison to a static mesh). We also compare its accuracy to other codes. Specifically, we show that our implementation of external sources and time-advancement scheme is more accurate and robust than is AREPO when the mesh is allowed to move. We performed a parameter study of the cell rounding mechanism (Lloyd iterations) and its effects. We find that in most cases a moving mesh gives better results than a static mesh, but it is not universally true. In the case where matter moves in one wayand a sound wave is traveling in the other way (such that relative to the grid the wave is not moving) a static mesh gives better results than a moving mesh. We perform an analytic analysis for finite difference schemes that reveals that a Lagrangian simulation is better than aEulerian simulation in the case of a highly supersonic flow. Moreover, we show that Voronoi-based moving mesh schemes suffer from an error, which is resolution independent, due to inconsistencies between the flux calculation and the change in the area of a cell. Our code is publicly available as open source and designed in an object-oriented, user-friendly way that facilitates incorporation of new algorithms and physical processes.

Original languageAmerican English
Article number35
JournalAstrophysical Journal, Supplement Series
Issue number2
StatePublished - 1 Feb 2015

Bibliographical note

Publisher Copyright:
© 2015. The American Astronomical Society. All rights reserved..


  • hydrodynamics methods: numerical


Dive into the research topics of 'Rich: Open-source hydrodynamic simulation on a moving Voronoi mesh'. Together they form a unique fingerprint.

Cite this