Published June 21, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.05263

Sarracen: a Python package for analysis and visualization of smoothed particle hydrodynamics data

Files

joss.05263.pdf

Files (2.9 MB)

Name Size Download all
md5:73515a244c7172249f35931637d0d4b3
214.7 kB Preview Download
md5:94a453393742b5fbea7f59f5654bf824
2.7 MB Preview Download

Additional details

Dates

Issued
June 21, 2023

References

  1. Harris, A., & Tricco, T. (2023). ttricco/sarracen: v1.2.1 (Version v1.2.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8034448
  2. Lucy, L. B. (1977). A numerical approach to the testing of the fission hypothesis. The Astronomical Journal, 82, 1013. https://doi.org/10.1086/112164
  3. Gingold, R. A., & Monaghan, J. J. (1977). Smoothed particle hydrodynamics: theory and application to non-spherical stars. Monthly Notices of the Royal Astronomical Society, 181(3), 375–389. https://doi.org/10.1093/mnras/181.3.375
  4. Monaghan, J. J. (2005). Smoothed particle hydrodynamics. Reports on Progress in Physics, 68(8), 1703–1759. https://doi.org/10.1088/0034-4885/68/8/r01
  5. Price, D. J. (2012). Smoothed particle hydrodynamics and magnetohydrodynamics. Journal of Computational Physics, 231(3), 759–794. https://doi.org/10.1016/j.jcp.2010.12.011
  6. Price, D. J., Wurster, J., Tricco, T. S., Nixon, C., Toupin, S., Pettitt, A., Chan, C., Mentiplay, D., Laibe, G., Glover, S., Dobbs, C., Nealon, R., Liptai, D., Worpel, H., Bonnerot, C., Dipierro, G., Ballabio, G., Ragusa, E., Federrath, C., … Lodato, G. (2018). Phantom : A Smoothed Particle Hydrodynamics and Magnetohydrodynamics Code for Astrophysics. Publications of the Astronomical Society of Australia, 35. https://doi.org/10.1017/pasa.2018.25
  7. Wadsley, J. W., Keller, B. W., & Quinn, T. R. (2017). Gasoline2: a modern smoothed particle hydrodynamics code. Monthly Notices of the Royal Astronomical Society, 471(2), 2357–2369. https://doi.org/10.1093/mnras/stx1643
  8. Schaller, M., Gonnet, P., Draper, P. W., Chalk, A. B. G., Bower, R. G., Willis, J., & Hausammann, L. (2018). SWIFT: SPH With Inter-dependent Fine-grained Tasking (p. ascl:1805.020). Astrophysics Source Code Library, record ascl:1805.020.
  9. Price, D. J. (2007). SPLASH : An Interactive Visualisation Tool for Smoothed Particle Hydrodynamics Simulations. Publications of the Astronomical Society of Australia, 24(3), 159–173. https://doi.org/10.1071/as07022
  10. Turk, M. J., Smith, B. D., Oishi, J. S., Skory, S., Skillman, S. W., Abel, T., & Norman, M. L. (2010). yt: A MULTI-CODE ANALYSIS TOOLKIT FOR ASTROPHYSICAL SIMULATION DATA. The Astrophysical Journal Supplement Series, 192(1), 9. https://doi.org/10.1088/0067-0049/192/1/9
  11. Ayachit, U. (2015). The paraview guide: A parallel visualization application. Kitware, Inc.
  12. Bethel, E. W., Childs, H., & Hansen, C. (2012). High Performance Visualization. Chapman and Hall/CRC. https://doi.org/10.1201/b12985
  13. Borrow, J., & Borrisov, A. (2020). swiftsimio: A Python library for reading SWIFT data. Journal of Open Source Software, 5(52), 2430. https://doi.org/10.21105/joss.02430
  14. Mentiplay, D. (2019). Plonk: Smoothed particle hydrodynamics analysis and visualization with Python. Journal of Open Source Software, 4(44), 1884. https://doi.org/10.21105/joss.01884
  15. Hunter, J. D. (2007). Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering, 9(3), 90–95. https://doi.org/10.1109/mcse.2007.55
  16. McKinney, W. (2010). Data Structures for Statistical Computing in Python. Proceedings of the Python in Science Conference, 56–61. https://doi.org/10.25080/majora-92bf1922-00a
  17. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  18. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  19. Petkova, M. A., Laibe, G., & Bonnell, I. A. (2018). Fast and accurate Voronoi density gridding from Lagrangian hydrodynamics data. Journal of Computational Physics, 353, 300–315. https://doi.org/10.1016/j.jcp.2017.10.024
  20. Waskom, M. (2021). seaborn: statistical data visualization. Journal of Open Source Software, 6(60), 3021. https://doi.org/10.21105/joss.03021
  21. Lam, S. K., Pitrou, A., & Seibert, S. (2015). Numba. Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, 1–6. https://doi.org/10.1145/2833157.2833162

Citations

  1. Schneider, F. R. N., Lau, M. Y. M., & Röpke, F. K. (2026). Stellar mergers and common-envelope evolution. In Encyclopedia of Astrophysics (pp. 349–370). Elsevier. https://doi.org/10.1016/b978-0-443-21439-4.00079-1
  2. Alaguero, A., Cuello, N., Gonzalez, J.-F., Price, D. J., Lombart, M., Smallwood, J. L., & Thébault, P. (2026). Density-driven dust growth in binary systems: Inhibition of dust settling and growth in circumbinary discs. Astronomy & Astrophysics, 714, A218. https://doi.org/10.1051/0004-6361/202660390
  3. Arroyo-Chávez, G., Vázquez-Semadeni, E., & Wurster, J. (2026). On the Roles of Gravity, Turbulence, and the Magnetic Field in Angular Momentum Transfer within Molecular Clouds. The Astrophysical Journal, 1002(2), 137. https://doi.org/10.3847/1538-4357/ae5a8f
  4. Vadood, N., & Tricco, T. S. (2026). A Comparison of Two- and One-fluid Dust Solvers for Dusty, Supersonic Turbulence. The Astrophysical Journal, 1009(1), 17. https://doi.org/10.3847/1538-4357/ae9cb9
  5. Arroyo-Chávez, G., Kong, S., & Vázquez-Semadeni, E. (2026). Effect of Gravity-driven Longitudinal Flows in Filaments on Angular Momentum Transport to Embedded Cores. The Astrophysical Journal, 1011(2), 191. https://doi.org/10.3847/1538-4357/aeac4f
  6. Yang 杨, R. 锐祺 ., Smallwood, J. L., Liu 刘, S.-F. 尚飞 ., & Franchini, A. (2026). Pulsed Accretion onto Eccentric Binaries in Highly Misaligned Circumbinary Disks. The Astrophysical Journal, 1011(2), 188. https://doi.org/10.3847/1538-4357/aeacdc
  7. Chen, C., Armitage, P. J., Nixon, C. J., Lubow, S. H., & Martin, R. G. (2026). On the Formation of Retrograde S-type Planets in Binaries with a Polar Circumbinary Disk. The Astrophysical Journal Letters, 1008(2), L60. https://doi.org/10.3847/2041-8213/ae9d4d
  8. Nealon, R., & Price, D. J. (2025). Adaptive particle refinement for compressible smoothed particle hydrodynamics. Publications of the Astronomical Society of Australia, 42. https://doi.org/10.1017/pasa.2024.88
  9. Lau, M. Y. M., Cantiello, M., Jermyn, A. S., MacLeod, M., Mandel, I., & Price, D. J. (2025). Hot Jupiter engulfment by an early red giant in 3D hydrodynamics. Astronomy & Astrophysics, 694, A264. https://doi.org/10.1051/0004-6361/202452081
  10. Lau, M. Y. M., Hirai, R., Price, D. J., Mandel, I., & Bate, M. R. (2025). Common envelopes in massive stars. Astronomy & Astrophysics, 699, A274. https://doi.org/10.1051/0004-6361/202554782
  11. Bernard, Y., Moraux, E., Price, D. J., Motte, F., Louvet, F., & Joncour, I. (2025). DAWN. Astronomy & Astrophysics, 702, A26. https://doi.org/10.1051/0004-6361/202554938
  12. Longarini, C., Price, D. J., Kratter, K. M., Lodato, G., & Clarke, C. J. (2025). Infall-driven gravitational instability in accretion discs. Monthly Notices of the Royal Astronomical Society, 541(2), 1145–1163. https://doi.org/10.1093/mnras/staf1018
  13. Rowther, S., Nealon, R., Alexander, R., & Meru, F. (2025). Leading and trailing spiral arms in a nearly broken protoplanetary disc. Monthly Notices of the Royal Astronomical Society, 542(2), 1430–1442. https://doi.org/10.1093/mnras/staf1301
  14. Prasad, V. R., Longarini, C., & Clarke, C. J. (2025). Dust trapping in protoplanetary discs after stellar flybys. Monthly Notices of the Royal Astronomical Society, 543(2), 1798–1815. https://doi.org/10.1093/mnras/staf1579
  15. Lau, C. S. C., Petkova, M. A., & Bonnell, I. A. (2025). Hybrid radiation hydrodynamics scheme with adaptive gravity-tree-based pseudo-particles. Monthly Notices of the Royal Astronomical Society, 538(3), 1461–1480. https://doi.org/10.1093/mnras/staf366
  16. Lau, C. S. C., & Bonnell, I. A. (2025). Semi-confined supernova feedback in H ii region bubbles. Monthly Notices of the Royal Astronomical Society, 540(1), 1124–1143. https://doi.org/10.1093/mnras/staf756
  17. Nealon, R., Smallwood, J. L., Aly, H., Winter, A. J., Longarini, C., Cuello, N., Veras, D., & Alexander, R. (2025). Disc–planet misalignment from an unstable triple system: IRAS04125. Monthly Notices of the Royal Astronomical Society: Letters, 540(1), L84–L90. https://doi.org/10.1093/mnrasl/slaf032
  18. He, Y., & Luo, H. (2025). Smooth Particle Swarm Fluid Simulation Algorithm Based on Graph Neural Network. 2025 International Conference on Electrical Automation and Artificial Intelligence (ICEAAI), 1371–1375. https://doi.org/10.1109/iceaai64185.2025.10956858
  19. Yu, F., & Lai, D. (2025). Binary Stars Approaching Supermassive Black Holes: Hydrodynamics of Stellar Collisions, Mass Fallback, and Partial Tidal Disruption Events. The Astrophysical Journal, 993(1), 88. https://doi.org/10.3847/1538-4357/ae032b
  20. Alaguero, A., Cuello, N., Ménard, F., Ceppi, S., Ribas, Á., Nealon, R., Vioque, M., Izquierdo, A., Miley, J., Macías, E., & Price, D. J. (2024). V892 Tau: A tidally perturbed circumbinary disc in a triple stellar system. Astronomy & Astrophysics, 687, A311. https://doi.org/10.1051/0004-6361/202449683
  21. Smallwood, J. L., Lin, M.-K., Aly, H., Nealon, R., & Longarini, C. (2024). Polar alignment of a dusty circumbinary disc – I. Dust ring formation. Monthly Notices of the Royal Astronomical Society, 532(1), 1068–1086. https://doi.org/10.1093/mnras/stae1462
  22. Rowther, S., Nealon, R., Meru, F., Wurster, J., Aly, H., Alexander, R., Rice, K., & Booth, R. A. (2024). The role of drag and gravity on dust concentration in a gravitationally unstable disc. Monthly Notices of the Royal Astronomical Society, 528(2), 2490–2500. https://doi.org/10.1093/mnras/stae167
  23. Bermúdez-Bustamante, L. C., De Marco, O., Siess, L., Price, D. J., González-Bolívar, M., Lau, M. Y. M., Mu, C., Hirai, R., Danilovich, T., & Kasliwal, M. M. (2024). Dust formation in common envelope binary interactions – II: 3D simulations with self-consistent dust formation. Monthly Notices of the Royal Astronomical Society, 533(1), 464–481. https://doi.org/10.1093/mnras/stae1841
  24. Rowther, S., Price, D. J., Pinte, C., Nealon, R., Meru, F., & Alexander, R. (2024). Short-lived gravitational instability in isolated irradiated discs. Monthly Notices of the Royal Astronomical Society, 534(3), 2277–2285. https://doi.org/10.1093/mnras/stae2167
  25. Magnall, S. J., Price, D. J., Lasky, P. D., & Macpherson, H. J. (2023). Inhomogeneous cosmology using general relativistic smoothed particle hydrodynamics coupled to numerical relativity. Physical Review D, 108(10). https://doi.org/10.1103/physrevd.108.103534

1–25 of 26