You are here: Home / Research / Common-envelope simulations / About the simulation codes

About the simulation codes

The three-dimensional hydrodynamical simulations are performed using two different codes: Enzo and SNSPH. We also use the stellar evolution code MESA to create one-dimensional sequences.

Hydrodynamics

Although they are meant to simulate similar astrophysical situations, high-order Eulerian grid codes and Lagrangian smoothed-particle hydrodynamics (SPH) codes differ fundamentally, with each having advantages and disadvantages. Therefore, we confront the results from both techniques in order to draw conclusions about their physical relevance.

We use our modified version of the adaptive mesh refinement hybrid (hydrodynamics + N-body) grid-based code ENZO (Bryan et al. 1995, O'Shea et al. 2004). ENZO is used to simulate various astrophysical situations, from cosmological simulations to the formation of the first stars or turbulence in the intra-cluster medium.

We also use SNSPH, a SPH code using tree gravity (Fryer et al. 2006). The SNSPH code is mainly used to model stellar explosions. More details can be found on Chris L. Fryer's webpage.

Stellar evolution

The stellar evolution models are computed a couple of years ago with the state-of-the-art stellar evolution code MESA (Paxton et al .2011, Paxton et al. 2012). The MESA code can be used to model single and binary evolution, planets, and asteroseismology, for instance.