Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Journal articles
  4. Swift : a modern highly parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications
 
Loading...
Thumbnail Image
research article

Swift : a modern highly parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications

Schaller, Matthieu
•
Borrow, Josh
•
Draper, Peter W.
Show more
April 13, 2024
Monthly Notices Of The Royal Astronomical Society

Numerical simulations have become one of the key tools used by theorists in all the fields of astrophysics and cosmology. The development of modern tools that target the largest existing computing systems and exploit state-of-the-art numerical methods and algorithms is thus crucial. In this paper, we introduce the fully open-source highly-parallel, versatile, and modular coupled hydrodynamics, gravity, cosmology, and galaxy-formation code Swift. The software package exploits hybrid shared- and distributed-memory task-based parallelism, asynchronous communications, and domain-decomposition algorithms based on balancing the workload, rather than the data, to efficiently exploit modern high-performance computing cluster architectures. Gravity is solved for using a fast-multipole-method, optionally coupled to a particle mesh solver in Fourier space to handle periodic volumes. For gas evolution, multiple modern flavours of Smoothed Particle Hydrodynamics are implemented. Swift also evolves neutrinos using a state-of-the-art particle-based method. Two complementary networks of sub-grid models for galaxy formation as well as extensions to simulate planetary physics are also released as part of the code. An extensive set of output options, including snapshots, light-cones, power spectra, and a coupling to structure finders are also included. We describe the overall code architecture, summarize the consistency and accuracy tests that were performed, and demonstrate the excellent weak-scaling performance of the code using a representative cosmological hydrodynamical problem with approximate to 300 billion particles. The code is released to the community alongside extensive documentation for both users and developers, a large selection of example test problems, and a suite of tools to aid in the analysis of large simulations run with Swift.

  • Files
  • Details
  • Metrics
Type
research article
DOI
10.1093/mnras/stae922
Web of Science ID

WOS:001207367800001

Author(s)
Schaller, Matthieu
•
Borrow, Josh
•
Draper, Peter W.
•
Ivkovic, Mladen  
•
Mcalpine, Stuart
•
Vandenbroucke, Bert
•
Bahe, Yannick  
•
Chaikin, Evgenii
•
Chalk, Aidan B. G.
•
Chan, Tsang Keung
Show more
Date Issued

2024-04-13

Published in
Monthly Notices Of The Royal Astronomical Society
Volume

530

Issue

2

Start page

2378

End page

2419

Subjects

Physical Sciences

•

Methods: Numerical

•

Software: Public Release

•

Software: Simulations

Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LASTRO  
FunderGrant Number

BEIS capital via STFC capital

ST/K00042X/1

Durham University

STFC

ST/R000832/1

Show more
Available on Infoscience
June 5, 2024
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/208260
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés