Skip to main content
Log in

Inflow and outflow numerical simulation using least-square moving particle semi-implicit method on GPU

  • Original Research
  • Published:
Computational Particle Mechanics Aims and scope Submit manuscript

Abstract

The implementation of the inlet and outlet boundaries is a key issue in the particle method. The boundary implementation at the inlet applicable to the original MPS method is difficult to be applied to the LSMPS method with higher accuracy. Advanced inlet and outlet boundary implementations are proposed in this study, including inlet boundaries with velocity profile, static pressure, total pressure, and deleted particle detection method for outlet boundary. Three pipe flow cases are used to verify the accuracy of inlet boundaries. For the velocity inlet boundary, the calculation of velocity near the central axis of the pipe has an average error of 0.17%. For the static pressure inlet boundary, the average error of pressure calculation near the central axis is 1.80%. For the total pressure inlet boundary, the numerical final velocity of water in the pipe has a 3.02% error compared with the theoretical result. A reservoir with two inlets and one outlet is used to verify the applicability of the above implementation in a 3D engineering case with five different inlet velocities. The results show that for different velocity inlets, the simulations obtain different filling times, and for velocity and pressure distributions near the outlet in accordance with the theoretical situation. The implementation proposed in this study can be used for practical engineering problems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21

Similar content being viewed by others

References

  1. Gingold RA, Monaghan JJ (1977) Smoothed particle hydrodynamics-theory and application to non-spherical to non-spherical stars. Mon Not R Astron Soc 181:375–389

    Article  Google Scholar 

  2. Lucy LB (1977) A numerical approach to the testing of the fission hypothesis. Astron J 82:1013–1024

    Article  Google Scholar 

  3. Shao JR, Hq Li, Liu GR, Liu MB (2012) An improved SPH method for modeling liquid sloshing dynamics. Comput Struct 100–101:18–26

    Article  Google Scholar 

  4. Hirschler M, Oger G, Niken U, Le Tozue D (2012) Modeling of droplet collisions using smoothed hydrodynamics. Int J Multiph Flow 95:175–187

    Article  MathSciNet  Google Scholar 

  5. Chen Z, Zong Z, Liu MB, Zou L, Li HT, Shu C (2015) An SPH model for multiphase flows with complex interfaces and large density differences. J Comput Phys 283:169–188

    Article  MathSciNet  Google Scholar 

  6. Zhang A, Sun P, Ming F (2015) An SPH modeling of bubble rising and coalescing in three dimensions. Comput Methods Appl Mech Eng 294:189–209

    Article  MathSciNet  Google Scholar 

  7. Zhang C, Rezavand M, Hu X (2021) A multi-resolution SPH method for fluid-structure interactions. J Comput Phys 429:110028

    Article  MathSciNet  Google Scholar 

  8. Zhang C, Rezavand M, Zhu Y (2021) SPHinXsys: an opensource multi-physics and multi-resolution library based on smoothed particle hydrodynamics. Comput Phys Commun 267:108066

    Article  Google Scholar 

  9. Koshizuka S, Oka Y (1996) Moving-particle semi-implicit method for fragmentation of incompressible fluid. Nucl Sci Eng 123(3):421–434

    Article  Google Scholar 

  10. Shibata K, Masaie I, Kondo M, Murotani K, Koshizuka S (2015) Improved pressure calculation for the moving particle semi-implicit method. Comput Part Mech 2:91–108

    Article  Google Scholar 

  11. Shibata K, Koshizuka S, Matsunaga T, Masaie I (2017) The overlapping particle technique for multi-resolution simulation of particle methods. Comput Methods Appl Mech Eng 325:434–462

    Article  MathSciNet  Google Scholar 

  12. Duan G, Chen B, Zhang X, Wang Y (2017) A multiphase MPS solver for modeling multi-fluid interaction with free surface and its application in oil spill. Comput Methods Appl Mech Eng 320:133–161

    Article  MathSciNet  Google Scholar 

  13. Liu X, Zhang S (2021) Development of adaptive multi-resolution MPS method for multiphase flow simulation. Comput Methods Appl Mech Eng 387:114–184

    Article  MathSciNet  Google Scholar 

  14. Lv J, Liu X, Wang K, Cheng S, Tong L (2022) Numerical study of gas-injection induced pool sloshing behavior using MPS method. Int J Adv Nucl React Des Technol 4–3:147–155

    Article  Google Scholar 

  15. Tamai T, Koshizuka S (2014) Least squares moving particles semi-implicit methods: an arbitrary high order accurate meshfree Lagrangian approach for incompressible flow with free surfaces. Comput Part Mech 1(3):277–305

    Article  Google Scholar 

  16. Koshizuka S, Shibata K, Kondo M, Matsunaga T (2018) Moving particle semi-implicit method. Academic Press. 155–215, ISBN 9780128127797

  17. Hu F, Wang Z, Tamai T, Koshizuka S (2020) Consistent inlet and outlet boundary conditions for particle methods. Int J Numer Methods Fluids 92:1–19

    Article  MathSciNet  Google Scholar 

  18. Duan G, Chen B, Koshizuka S, Xiang H (2017) Stable multiphase moving particle semi-implicit method for incompressible interfacial flow. Comput Methods Appl Mech Eng 318:636–666

    Article  MathSciNet  Google Scholar 

  19. Hori C, Gotoh H, Ikari H et al (2011) GPU-acceleration for moving particle semi-implicit method. Comput Fluids 51(1):174–183

    Article  Google Scholar 

  20. Zhang S, Gou W, Wang Y et al (2022) Direct numerical simulation of atomization by jet impact using moving particle semi-implicit method with GPU acceleration. Comput Part Mech 9:499–512

    Article  Google Scholar 

  21. Gou W, Zhang S, Zheng Y (2019) Implementation of the moving particle semi-implicit method for free-surface flows on GPU clusters. Comput Phys Commun 244(13–24):0010–4655

    MathSciNet  Google Scholar 

  22. Duan G, Matsunaga T, Yamaji A, Koshizuka S, Sakai M (2021) Imposing accurate wall boundary conditions in corrective-matrix-based moving particle semi-implicit method for free surface flow. Int J Number Methods Fluids 93:148–175

    Article  MathSciNet  Google Scholar 

  23. Shibata K, Masaie I, Kondo M et al (2015) Improved pressure calculation for the moving particle semi-implicit method. Comput Part Mech 2(1):91–108

    Article  Google Scholar 

  24. Khayyer A, Gotoh H, Shimizu Y (2017) Comparative study on accuracy and conservation properties of two particle regularization schemes and proposal of an optimized particle shifting scheme in ISPH context. J Comput Phys 332:236–256

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shuai Zhang.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kong, Y., Zhang, S., Zhang, J. et al. Inflow and outflow numerical simulation using least-square moving particle semi-implicit method on GPU. Comp. Part. Mech. 11, 627–641 (2024). https://doi.org/10.1007/s40571-023-00643-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40571-023-00643-5

Keywords

Navigation