Hostname: page-component-89b8bd64d-5bvrz Total loading time: 0 Render date: 2026-05-12T12:28:38.181Z Has data issue: false hasContentIssue false

Efficient Implementation of Smoothed Particle Hydrodynamics (SPH) with Plane Sweep Algorithm

Published online by Cambridge University Press:  16 March 2016

Dong Wang
Affiliation:
State Key Laboratory of ASIC and System, School of Microelectronics, Fudan University, Shanghai 201203, China
Yisong Zhou
Affiliation:
LMAM and School of Mathematical Sciences, Peking University, Beijing 100871, China
Sihong Shao*
Affiliation:
LMAM and School of Mathematical Sciences, Peking University, Beijing 100871, China
*
*Corresponding author. Email addresses:, wangdong11@fudan.edu.cn (D. Wang), failed.zys@gmail.com (Y. Zhou), sihong@math.pku.edu.cn (S. Shao)
Get access

Abstract

Neighbour search (NS) is the core of any implementations of smoothed particle hydrodynamics (SPH). In this paper,we present an efficient neighbour search method based on the plane sweep (PW) algorithm with N being the number of SPH particles. The resulting method, dubbed the PWNS method, is totally independent of grids (i.e., purely meshfree) and capable of treating variable smoothing length, arbitrary particle distribution and heterogenous kernels. Several state-of-the-art data structures and algorithms, e.g., the segment tree and the Morton code, are optimized and implemented. By simply allowingmultiple lines to sweep the SPH particles simultaneously from different initial positions, a parallelization of the PWNS method with satisfactory speedup and load-balancing can be easily achieved. That is, the PWNS SPH solver has a great potential for large scale fluid dynamics simulations.

Information

Type
Research Article
Copyright
Copyright © Global-Science Press 2016 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable