PySPH: a Python-based framework for smoothed particle hydrodynamics
arXiv:1909.04504 · doi:10.1145/3460773
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.
arXiv comment39 pages, 19 figures
References in corpus (15)
- The cosmological simulation code GADGET-2
- GIZMO: A New Class of Accurate, Mesh-Free Hydrodynamic Simulation Methods
- Smoothed Particle Hydrodynamics and Magnetohydrodynamics
- Mayavi: a package for 3D visualization of scientific data
- PyCUDA and PyOpenCL: A Scripting-Based Approach to GPU Run-Time Code Generation
- Simulating cosmic structure formation with the GADGET-4 code
- Reformulation of Smoothed Particle Hydrodynamics with Riemann Solver
- Computational Eulerian Hydrodynamics and Galilean Invariance
- CRKSPH - A Conservative Reproducing Kernel Smoothed Particle Hydrodynamics Scheme
- Entropically Damped Artificial Compressibility for SPH
- Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids
- An improved non-reflecting outlet boundary condition for weakly-compressible SPH
- An efficient, open source, iterative ISPH scheme
- automan: a simple, Python-based, automation framework for numerical computing
- Dual-Time Smoothed Particle Hydrodynamics for Incompressible Fluid Simulation
Cited by in corpus (11)
- Efficient and Accurate Adaptive Resolution for Weakly-Compressible SPH
- Algorithms for uniform particle initialization in domains with complex boundaries
- Techniques for second order convergent weakly-compressible smoothed particle hydrodynamics schemes without boundaries
- How to train your solver: Verification of boundary conditions for smoothed particle hydrodynamics
- Robust Solid Boundary Treatment for Compressible Smoothed Particle Hydrodynamics
- Adaptive Compressible Smoothed Particle Hydrodynamics
- How to train your solver: A method of manufactured solutions for weakly-compressible SPH
- Parallel adaptive weakly-compressible SPH for complex moving geometries
- Rapid Variable Resolution Particle Initialization for Complex Geometries
- A synchrotron-like pumped ring resonator for water waves
- SoliDualSPHysics: An extension of DualSPHysics for solid mechanics with hyperelasticity, plasticity, and fracture