作者: Ling Kang , Zheng Jing
DOI: 10.3390/W9030184
关键词: Multithreading 、 Hydrostatic equilibrium 、 Sine wave 、 Thread (computing) 、 Free surface 、 Wave propagation 、 Computation 、 Parallel computing 、 Computer science 、 Asynchronous communication
摘要: Compared to the hydrostatic hydrodynamic model, non-hydrostatic model can accurately simulate flows that feature vertical accelerations. The model’s low computational efficiency severely restricts its wider application. This paper proposes a based on multithreading parallel computing method. horizontal momentum equation is obtained by integrating Navier–Stokes equations from bottom free surface. approximated Keller-box scheme. A two-step method used solve equations. strategy block decomposition computation utilized. original domain subdivided into two subdomains are physically connected via virtual boundary technique. Two sub-threads created and tasked with of subdomains. producer–consumer thread lock technique achieve synchronous communication between sub-threads. validity was verified solitary wave propagation experiments over flat slope, followed sinusoidal submerged breakwater. proposed here found effectively enhance save 20%–40% time compared serial computing. acceleration rate approximately 1.45% 72%, respectively. makes contribution popularization models.