Skip to main content

2016 | OriginalPaper | Buchkapitel

Parallel CPU/GPU Computing for Smoothed Particle Hydrodynamics Models

verfasst von : J. M. Domínguez, A. Barreiro, A. J. C. Crespo, O. García-Feal, M. Gómez-Gesteira

Erschienen in: Recent Advances in Fluid Dynamics with Environmental Applications

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Smoothed Particle Hydrodynamics (SPH) is a numerical method particularly suitable to describe a variety of complex free-surface flows with large discontinuities. However, SPH simulations are computationally expensive and typical runtimes are too high to study real problems with high resolution. The proposed solution is the parallel computation to accelerate the SPH executions. This work introduces several high performance techniques applied to SPH to allow simulation of real problems at reasonable time. In this way, OpenMP was used to exploit all cores in the classical CPUs. On the other hand, CUDA language was used to take advantage of the high parallel computing power of GPUs (Graphics Processing Units). Finally, Message Passing Interface (MPI) was implemented to combine the power of several machines connected by network. These parallelization techniques are implemented in the code DualSPHysics and results are shown in terms of performance, efficiency and scalability using different CPU and GPU models.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
Zurück zum Zitat Altomare C, Crespo AJ, Rogers BD, Domínguez JM, Gironella X, Gómez-Gesteira M (2014) Numerical modelling of armour block sea breakwater with smoothed particle hydrodynamics. Comput Struct 130:34–45CrossRef Altomare C, Crespo AJ, Rogers BD, Domínguez JM, Gironella X, Gómez-Gesteira M (2014) Numerical modelling of armour block sea breakwater with smoothed particle hydrodynamics. Comput Struct 130:34–45CrossRef
Zurück zum Zitat Crespo AJC, Gómez-Gesteira M, Dalrymple RA (2007) Boundary conditions generated by dynamic particles in SPH methods. CMC: Comput Mater Contin 5(3):173–184 Crespo AJC, Gómez-Gesteira M, Dalrymple RA (2007) Boundary conditions generated by dynamic particles in SPH methods. CMC: Comput Mater Contin 5(3):173–184
Zurück zum Zitat Crespo AJC, Domínguez JM, Barreiro A, Gómez-Gesteira M, Rogers BD (2011) GPUs, a new tool of acceleration in CFD: efficiency and reliability on smoothed particle hydrodynamics methods. PLoS ONE 6(6):e20685CrossRef Crespo AJC, Domínguez JM, Barreiro A, Gómez-Gesteira M, Rogers BD (2011) GPUs, a new tool of acceleration in CFD: efficiency and reliability on smoothed particle hydrodynamics methods. PLoS ONE 6(6):e20685CrossRef
Zurück zum Zitat Crespo AJC, Domínguez JM, Rogers BD, Gómez-Gesteira M, Longshaw S, Canelas R, Vacondio R, Barreiro A, García-Feal O (2015) DualSPHysics: open-source parallel CFD solver on smoothed particle hydrodynamics (SPH). Comput Phys Commun 187:204–216. doi:10.1016/j.cpc.2014.10.004CrossRef Crespo AJC, Domínguez JM, Rogers BD, Gómez-Gesteira M, Longshaw S, Canelas R, Vacondio R, Barreiro A, García-Feal O (2015) DualSPHysics: open-source parallel CFD solver on smoothed particle hydrodynamics (SPH). Comput Phys Commun 187:204–216. doi:10.​1016/​j.​cpc.​2014.​10.​004CrossRef
Zurück zum Zitat Dalrymple RA, Rogers BD (2006) Numerical modelling of water waves with the SPH method. Coast Eng 53:141–147CrossRef Dalrymple RA, Rogers BD (2006) Numerical modelling of water waves with the SPH method. Coast Eng 53:141–147CrossRef
Zurück zum Zitat Domínguez JM, Crespo AJC, Gómez-Gesteira M, Marongiu JC (2011) Neighbour lists in smoothed particle hydrodynamics. Int J Numer Meth Fluids 67(12):2026–2042CrossRef Domínguez JM, Crespo AJC, Gómez-Gesteira M, Marongiu JC (2011) Neighbour lists in smoothed particle hydrodynamics. Int J Numer Meth Fluids 67(12):2026–2042CrossRef
Zurück zum Zitat Domínguez JM, Crespo AJC, Gómez-Gesteira M (2013a) Optimization strategies for CPU and GPU implementations of a smoothed particle hydrodynamics method. Comput Phys Commun 184(3):617–627CrossRef Domínguez JM, Crespo AJC, Gómez-Gesteira M (2013a) Optimization strategies for CPU and GPU implementations of a smoothed particle hydrodynamics method. Comput Phys Commun 184(3):617–627CrossRef
Zurück zum Zitat Domínguez JM, Crespo AJC, Rogers BD, Gómez-Gesteira M (2013b) New multi-GPU implementation for smoothed particle hydrodynamics on heterogeneous clusters. Comput Phys Commun 184:1848–1860CrossRef Domínguez JM, Crespo AJC, Rogers BD, Gómez-Gesteira M (2013b) New multi-GPU implementation for smoothed particle hydrodynamics on heterogeneous clusters. Comput Phys Commun 184:1848–1860CrossRef
Zurück zum Zitat Gingold RA, Monaghan JJ (1977) Smoothed particle hydrodynamics: theory and application to non-spherical stars. Mon Not R AstrSoc 181:375–389CrossRef Gingold RA, Monaghan JJ (1977) Smoothed particle hydrodynamics: theory and application to non-spherical stars. Mon Not R AstrSoc 181:375–389CrossRef
Zurück zum Zitat Gómez-Gesteira M, Dalrymple RA (2004) Using a 3D SPH method for wave impact on a tall structure. J Waterway Port Coast Ocean Eng 130(2):63–69 Gómez-Gesteira M, Dalrymple RA (2004) Using a 3D SPH method for wave impact on a tall structure. J Waterway Port Coast Ocean Eng 130(2):63–69
Zurück zum Zitat Gómez-Gesteira M, Rogers BD, Crespo AJC, Dalrymple RA, Narayanaswamy M, Domínguez JM (2012a) SPHysics—development of a free-surface fluid solver-Part 1: theory and formulations. Comput Geosci 48:289–299CrossRef Gómez-Gesteira M, Rogers BD, Crespo AJC, Dalrymple RA, Narayanaswamy M, Domínguez JM (2012a) SPHysics—development of a free-surface fluid solver-Part 1: theory and formulations. Comput Geosci 48:289–299CrossRef
Zurück zum Zitat Gómez-Gesteira M, Crespo AJC, Rogers BD, Dalrymple RA, Domínguez JM, Barreiro A (2012b) SPHysics—development of a free-surface fluid solver-Part 2: efficiency and test cases. Comput Geosci 48:300–307CrossRef Gómez-Gesteira M, Crespo AJC, Rogers BD, Dalrymple RA, Domínguez JM, Barreiro A (2012b) SPHysics—development of a free-surface fluid solver-Part 2: efficiency and test cases. Comput Geosci 48:300–307CrossRef
Zurück zum Zitat Harada T, Koshizuka S, Kawaguchi Y, (2007) Smoothed particle hydrodynamics on GPUs. Comput Graph Intl 63–70 Harada T, Koshizuka S, Kawaguchi Y, (2007) Smoothed particle hydrodynamics on GPUs. Comput Graph Intl 63–70
Zurück zum Zitat Kleefsman KMT, Fekken G, Veldman AEP, Iwanowski B, Buchner B (2005) A volume-of-fluid based simulation method for wave impact problems. J Comput Phys 206:363–393CrossRef Kleefsman KMT, Fekken G, Veldman AEP, Iwanowski B, Buchner B (2005) A volume-of-fluid based simulation method for wave impact problems. J Comput Phys 206:363–393CrossRef
Zurück zum Zitat Liu GR (2003) Mesh free methods: moving beyond the infinite element method. CRC Press Liu GR (2003) Mesh free methods: moving beyond the infinite element method. CRC Press
Zurück zum Zitat Monaghan JJ (1992) Smoothed particle hydrodynamics. Annu Rev Astron Appl 30:543–574CrossRef Monaghan JJ (1992) Smoothed particle hydrodynamics. Annu Rev Astron Appl 30:543–574CrossRef
Zurück zum Zitat Monaghan JJ (1994) Simulating free surface flows with SPH. J Comput Phys 110:399–406CrossRef Monaghan JJ (1994) Simulating free surface flows with SPH. J Comput Phys 110:399–406CrossRef
Zurück zum Zitat Monaghan JJ (2005) Smoothed particle hydrodynamics. Rep Prog Phys 68:1703–1759CrossRef Monaghan JJ (2005) Smoothed particle hydrodynamics. Rep Prog Phys 68:1703–1759CrossRef
Zurück zum Zitat Monaghan JJ, Cas RF, Kos A, Hallworth M (1999) Gravity currents descending a ramp in a stratified tank. J Fluid Mech 379:39–70CrossRef Monaghan JJ, Cas RF, Kos A, Hallworth M (1999) Gravity currents descending a ramp in a stratified tank. J Fluid Mech 379:39–70CrossRef
Zurück zum Zitat Valdez-Balderas D, Domínguez JM, Rogers BD, Crespo AJC (2013) Towards accelerating smoothed particle hydrodynamics simulations for free-surface flows on multi-GPU clusters. J Parallel Distrib Comput 73(11):1483–1493. doi:10.1016/j.jpdc.2012.07.010CrossRef Valdez-Balderas D, Domínguez JM, Rogers BD, Crespo AJC (2013) Towards accelerating smoothed particle hydrodynamics simulations for free-surface flows on multi-GPU clusters. J Parallel Distrib Comput 73(11):1483–1493. doi:10.​1016/​j.​jpdc.​2012.​07.​010CrossRef
Metadaten
Titel
Parallel CPU/GPU Computing for Smoothed Particle Hydrodynamics Models
verfasst von
J. M. Domínguez
A. Barreiro
A. J. C. Crespo
O. García-Feal
M. Gómez-Gesteira
Copyright-Jahr
2016
DOI
https://doi.org/10.1007/978-3-319-27965-7_34