An efficient implementation of the bidirectional buffer: towards laminar and turbulent open-boundary flows Journal: Elsevier

Feng Wang, Xiangyu Hu · 2025

Read An efficient implementation of the bidirectional buffer: towards laminar and turbulent open-boundary flows Journal: Elsevier by Feng Wang, Xiangyu Hu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-25702.txt.

Introduction

Feng Wang and Xiangyu Hu improve open-edge flows in particle runs. Their 2025 paper implements a bidirectional buffer quickly. Particle-based approaches struggle with strong backflow settings. Multiple open edges complicate flow runs further. Three enhancements improve consistency, independence, and quality. Buffer-based open edge settings are their target.

Strong backflow can otherwise add too many particles. Complex open-edge flows benefit from that separation. Third, pressure edge settings gain first-order consistency. A mirror edge treatment corrects the matrix there. Implementation uses a validated smoothed particle hydrodynamics method. Reynolds-averaged turbulence modeling couples with the solver. Four test cases validate the proposed improvements. Channel flows, plane jets, and micro-mixers were simulated. Turbulent jets simulated successfully in compact domains. Minor code modifications yield great results gains.

Catalog record

CREATORFeng Wang, Xiangyu Hu
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE54 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-25702

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

An efficient implementation of the bidirectional buffer: towards laminar and turbulent open-boundary flows Journal: Elsevier Feng Wang, Xiangyu Hu Abstract To effectively handle flows characterized by strong backflow and multiple open boundaries within particle-based frameworks, this study introduces three enhancements to improve the consistency, independence, and accuracy of the buffer-based open boundary condition in SPHinXsys. First, to improve the buffer consistency, the continuum hypothesis is introduced to prevent the excessive particle addition induced by strong backflow. Secondly, the independence of the bidirectional buffer is enhanced through region-constrained and independent labeling schemes, which effectively eliminate buffer interference and erroneous particle deletion in complex open-boundary flows. Thirdly, the original zeroth-order consistent pressure boundary condition is upgraded to first-order consistency by introducing a mirror boundary treatment for the correction matrix. The implementation is based on the rigorously validated weakly compressible smoothed particle hydrodynamics coupled with Reynolds-averaged Navier–Stokes (WCSPH–RANS) method, and both laminar and turbulent flow simulations are performed. Four test cases, including straight and U-shaped channel flows, a plane jet, and the flow in a 3D self-rotational micro-mixer, are conducted to comprehensively validate the proposed improvements. Among these cases, the turbulent plane jet is successfully simulated at a moderate resolution within a very compact computational domain involving strong backflow, a condition that is usually challenging for mesh-based methods. The three improvements require only minor modifications to the code framework, yet they yield significant performance gains. 1 Introduction The Lagrangian particle-based methods, such as the smoothed particle hydrodynamics(SPH) method, have been applied to simulating the internal flows, including arterial flows in bioengineering [ 1 ] and pipe/channel flows in fluid machinery [ 2 ] . Due to the mesh-free, Lagrangian characteristics, the particle-based methods may disclose new flow mechanism and break through existing bottlenecks for the complex internal flow problems, particularly in challenging scenarios such as fluid-structure interactions [ 3 , 4 ] and multiphase flows [ 5 ] . However, to fully realize the potential of the particle-based method in simulating complex internal flows, it is crucial to develop a robust open boundary condition which can adapt to various simulation scenarios, such as the flows with strong backflow or multiple inlet/outlet boundaries. On the one hand, addressing the strong backflow is challenging for both the mesh-based and mesh-less method, while the latter approach generally encounters greater difficulties. This is because, different from the traditional mesh-based methods where the open boundary condition(OBC) can be directly designated on the inlet/outlet surfaces, the implementation of the OBC for particle-based methods suffers one extra technical difficulty, that is the particle addition/deletion. Without an appropriate way to add or delete particles, the condition of the continuous flow may be broken [ 6 ] , and the simulation consistency may deteriorate. A common strategy to achieve this operation is to set up a buffer region [ 7 , 8 ] not only to add or delete particles when inflow or outflow occurs, but also to avoid the kernel truncation for the inner fluid particles. Building upon this buffer-based strategy, to further enhance stability and consistency, several other techniques have been proposed, such as the segment-based mirror [ 9 , 10 ] , ghost node [ 11 , 12 ] , incompressible correction [ 13 ] , cell-based [ 14 ] , average point [ 15 , 16 ] , semi-analytical [ 17 ] schemes. Among these schemes, the local-relabeling-based buffer technique [ 18 , 19 ] is not only easy to implement, but also has relatively high computational efficiency, since no additional computational nodes, points, mirror particles or segments are involved. The latest version improves the flexibility of this technique to handle the bidirectional [ 20 ] and arbitrary directional [ 21 ] flows. Nevertheless, the local-relabeling-based buffer scheme faces challenges in maintaining consistency in the presence of backflow. When there are particles moving back and forth across the relabeling boundary, additional particles will be unlimited generated, which violates the original design principle and leads to simulation crash. Please note that the backflow in this context denotes transient particle motions occurring near the boundary within very short time spans. This situation differs from that in Reference [ 20 ] , where the flow initially proceeds in one direction for a period before reversing, as in the pulsatile channel flow case. Additionally, the backflow in our case refers not only to physically-induced phenomena but also to numerically-induced artifacts. That means under the influence of the initial pressure wave, the fluid particles tend to wander near the relabeling boundary during the start-up stage, leading to the unphysical particle addition, as well. Although there are some remedies to avoid the adverse effect caused by the backflow, such as increasing numerical dissipation [ 22 ] or adding a damping zone [ 23 ] near the outlet, to the best of our knowledge, none of the existing studies address this problem for the local-relabeling-based buffer scheme essentially. On the other hand, most existing studies about open boundary flows focus on systems with a single inlet-outlet configuration or unidirectional flow, whereas multiple inlet/outlet boundaries and opposing-direction flows remain largely unexplored. Although increasing the number of inlets or outlets seems straightforward, simulation failures may occur when the buffer regions interfere with each other. Besides, for the multi-in/outlet flows, it is also challenging to design a general and concise code, especially for the local-relabeling-based buffer scheme. In this work, to address the two aforementioned issues, we enhance the consistency and independence of the local-relabeling-based buffer technique for handling strong backflow and systems with multiple inlets and outlets. Specifically, first, to essentially avoid the unlimited particle addition caused by the backflow, a small fringe region is introduced to offset the relabeling boundary and the particle creation threshold. This method efficiently resolves the issue while incurring no extra computational overhead. Moreover, it is highly compatible with the overall code framework, as it requires modifying only a small part of the code. Second, to enhance the independence of the buffer regions, and avoid the interference issue, the original aligned box region [ 21 ] is limited by involving a simple contain checking function, and each buffer region is assigned a unique identifier (ID). Additionally, the consistency of the dynamic pressure boundary condition is improved from the zeroth-order to the first-order by introducing the correction matrix, and a mirror boundary condition is imposed for the correction matrix near the open boundary. Last but not least, several challenging benchmark cases are simulated to evaluate the proposed improvements. These include the laminar/turbulent straight channel flow, turbulent U-shaped channel flow, laminar/turbulent plane jets, and a 3D self-rotational micro-mixer. For the turbulent simulations, the rigorously validated weakly compressible SPH method coupled with the Reynolds-Averaged Navier-Stokes equations (WCSPH-RANS) is employed [ 24 ] . Besides, among these numerical tests, the plane jet case is studied in detail as a representative example. To eliminate potential boundary interference, no wall boundaries are used, and six buffer regions are introduced to ensure numerical stability. Converged results are successfully obtained, for the first time to the best of our knowledge, for the WCSPH-RANS method. The remainder of this manuscript is organized as follows. Section 2 introduces the preliminary works, including the governing equations, numerical discretization, and the original open boundary

Read the complete text