Back to Search
Start Over
PySPH: a Python-based framework for smoothed particle hydrodynamics
- Source :
- ACM Transactions on Mathematical Software, volume 47, number 4, article 34, July 2021
- Publication Year :
- 2019
-
Abstract
- PySPH is an open-source, Python-based, framework for particle methods in general and Smoothed Particle Hydrodynamics (SPH) in particular. PySPH allows a user to define a complete SPH simulation using pure Python. High-performance code is generated from this high-level Python code and executed on either multiple cores, or on GPUs, seamlessly. It also supports distributed execution using MPI. PySPH supports a wide variety of SPH schemes and formulations. These include, incompressible and compressible fluid flow, elastic dynamics, rigid body dynamics, shallow water equations, and other problems. PySPH supports a variety of boundary conditions including mirror, periodic, solid wall, and inlet/outlet boundary conditions. The package is written to facilitate reuse and reproducibility. This paper discusses the overall design of PySPH and demonstrates many of its features. Several example results are shown to demonstrate the range of features that PySPH provides.<br />Comment: 39 pages, 19 figures
- Subjects :
- Physics - Computational Physics
Computer Science - Mathematical Software
Subjects
Details
- Database :
- arXiv
- Journal :
- ACM Transactions on Mathematical Software, volume 47, number 4, article 34, July 2021
- Publication Type :
- Report
- Accession number :
- edsarx.1909.04504
- Document Type :
- Working Paper
- Full Text :
- https://doi.org/10.1145/3460773