The main paper of SPHYNX is published in A&A 606, A78 (2017). SPHYNX: an accurate density-based SPH method for astrophysical applications (PDF - 11 MB). If you use SPHYNX, please cite this paper.
Welcome to SPHYNX!
SPHYNX is an SPH hydrocode with its focus on Astrophysical applications.
SPHYNX includes state-of-the-art methods that allow it to address subsonic hydrodynamical instabilities and strong shocks, which are ubiquitous in astrophysical scenarios. SPHYNX, is of Newtonian type and grounded on the Euler-Lagrange formulation of the smoothed-particle hydrodynamics technique. Its distinctive features are:
- the use of an integral approach to estimating the gradients;
- the use of a flexible family of interpolators called sinc kernels, which suppress pairing instability;
- and the incorporation of a new type of volume elements which provides a better partition of the unity. Unlike other modern formulations, which consider volume elements linked to pressure, our volume element choice relies in density. SPHYNX is, therefore, a density-based SPH code.
To download SPHYNX please, fill out the form below.
This is a basic version of SPHYNX 3D. It includes a 3D gravity solver and the hydrodynamic modules. This version is prepared to simulate an Evrard Collapse.
SPHYNX is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
If you use SPHYNX please, cite the main paper in Astronomy & Astrophysics (A&A, 606, A78, 2017). We would also be very happy to see which exciting results you achieve with our code, so pictures, videos, and references are welcome, so that we can publish them here.
Published papers that use/acknowledge SPHYNX
Core-collapse Supernovae in the hall of mirrors. A three-dimensional code comparison project.
Cabezón, R. M.; Pan, K.-C.; Liebendörfer, M.; Kuroda, T.; Ebinger, K.; Heinimann, O.; Thielemann, K.-F.; Perego, A.
Astronomy & Astrophysics 619, A118 (2018)
Detection of silent data corruptions in Smooth Particle Hydrodynamics simulations
Cavelan, A.; Ciorba, F.; Cabezón, R. M.
Accepted for CCGrid'19
Surface and core detonations in rotating white dwarfs
García-Senz, D.; Cabezón, R. M.; Domínguez, I.
Astrophysical Journal, 862, 27 (2018)
DIAPHANE: a portable radiation transport library for astrophysical applications.
Reed, D.; Dykes, T.; Cabezón, R. M.; Gheller, C.; Mayer, L.
Computer Physics Communications, 226, 1 (2018)
An advanced leakage scheme for neutrino treatment in astrophysical simulations.
Perego, A.; Cabezón, R. M.; Käppeli, R.
Astrophysical Journal Supplement Series, 223, 22 (2016)
Type Ia Supernovae: Can Coriolis force break the symmetry of the gravitational confined detonation explosion mechanism?
García-Senz, D.; Cabezón, R. M.; Domínguez, I.; Thielemann, F. K.
Astrophysical Journal, 819, 132 (2016)
Equalizing resolution in smoothing particle hydrodynamics calculations using self-adaptive sinc kernels.
García-Senz, D.; Cabezón, R. M.; Escartín, J. A.; Ebinger, K.
Astronomy & Astrophysics, 570, A14 (2014)
High resolution simulations of the head-on collision of white dwarfs.
García-Senz, D.; Cabezón, R. M.; Arcones, A.; Relaño, A.; Thielemann, F.-K.
MNRAS, 436, 3413 (2013)
Smoothed Particle Hydrodynamics: checking a tensor approach to calculating gradients.
Escartín, J. A.; García-Senz, D.; Cabezón R. M.
Highlights of Spanish Astrophysics VII.
Proceedings of the X Scientific Meeting of the Spanish Astronomical Society (2013)
Testing the concept of integral approach to derivatives within the smoothed particle hydrodynamics technique in astrophysical scenarios.
Cabezón, R. M.; García-Senz, D.; Escartín J. A.
Astronomy & Astrophysics, 545, A112 (2012)
Improving smoothed particle hydrodynamics with an integral approach to calculating gradients.
García-Senz, D.; Cabezón, R. M.; Escartín, J.
Astronomy & Astrophysics, 538, A9 (2012)
Installation instructions and pre-requisites
Installing SPHYNX is very easy:
- After downloading SPHYNX, uncompress it with
tar xjvf sphynx-<version>.tar.bz2
- This will create a directory named SPHYNX-<version>
In order to run SPHYNX you need a fortran compiler and an MPI library. Current version has been tested with Intel cluster compiler and GNU fortran compiler.
SPHYNX takes part on the SPH-EXA project, founded by the Platform fro Advanced Scientific Computing (PASC), aiming at the development of a scalable and fault tolerant SPH co-design code that can benefit from the next generation Exascale supercomputers.
Latest news about SPHYNX
Version 1.5.3 released. After one year of SPH-EXA, SPHYNX has benefited from a series of upgrades that have improved its scalability. In particular, the distribution of the neighbors arrays has enabled a much better usage of RAM/node. This new version uses Fortran binary I/O, which create in average files a 50% smaller than those of ASCII, being much faster to write and read. These binary files are also readable with Gnuplot v5.0 and later, so data are still directly accessible without the need of additional complex software.
Version 1.4 released. The code scales much better now. I added more OMP instructions to reduce the serial sections of the code. Additionally, the main change is a new way to find and store neighbors that relies on a static allocation of memory. This eliminates a huge idle time and boosts scalability and overall speed of the code.
Version 1.3 released. I finally decided to join hydro and gravity in one single MPI_WORLD. This makes the code more efficient in case of collapsing scenarios, where the gravity calculation gets more and more important. In the previous implementation, if the workload between hydro and gravity changes considerably during runtime, there were load balancing problems and the code was generally slower than this version.
SPHYNX has a logo! Which is basically a cool font that I found, named Space Age (by Justin Callaghan), literally in page one of sci-fi fonts in 1001freefonts.com. I like it because it has some dots that resemble SPH particles, the letters are smooth (as SPH), and the X reminds me of a sketch of an accretting neutron star with a disk...
Version 1.2 released! Not big changes, apart from an OMP loop that I changed from dynamic to static schedule. This was probably lingering around from an older version of the code, and correcting it improved the overall time in the Evrard test a 10%. I also added GNU support. Not bad for just coming from holidays!