{"title":"基于粒子的细胞血流建模和 GPU 加速模拟","authors":"","doi":"10.1016/j.cpc.2024.109350","DOIUrl":null,"url":null,"abstract":"<div><p>Computational modeling and simulation of cellular blood flow is highly desired for understanding blood microcirculation and blood-related diseases such as thrombosis and tumor, but it remains a challenging task primarily because blood in microvessels should be described as a dense suspension of different types of deformable cells. The focus of the present work is on the development of a particle-based and GPU-accelerated numerical method that is able to quickly simulate the various behaviors of deformable cells in three-dimensional arbitrarily complex geometries. We employ a two-fluid model to describe blood flow, incorporating the deformation and aggregation of cells. A smoothed dissipative particle dynamics is used to solve the two-fluid model, and a discrete microstructure model is applied for the cell deformation, as well as a Morse potential model for the cell aggregation. The heterogeneous CPU-GPU environment is established, where each GPU thread is dedicated to a particle, and the CPU is mainly responsible for loading and exporting data. Five test cases are conducted against analytical theory, experimental data, and previous numerical results, for pure fluid, cell deformation, cell aggregation, cell suspension and the cellular flow in a complex network, respectively. It is shown that the methodology can accurately predict various behaviors of cells, and the GPU is well suited for particle-based modeling. Especially for cellular blood flow, where calculating cellular forces is a compute-intensive and time-consuming task, the GPU offers exceptional parallel capabilities, significantly enhancing the simulation efficiency. The speedup is about 3.5 times faster than the CPU parallelization with 96 cores for the pure fluid, and this acceleration nearly reaches 20 times when cells are included in the simulations. Particularly, the calculations for deformation and aggregation forces demonstrate a substantial speedup, achieving the improvements of up to 120 and 640 times, respectively, compared to their serial counterparts. The present methodology can effectively integrate various behaviors of cells, and has the potential in simulating very large microvascular networks at organ levels.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Particle-based modeling and GPU-accelerated simulation of cellular blood flow\",\"authors\":\"\",\"doi\":\"10.1016/j.cpc.2024.109350\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Computational modeling and simulation of cellular blood flow is highly desired for understanding blood microcirculation and blood-related diseases such as thrombosis and tumor, but it remains a challenging task primarily because blood in microvessels should be described as a dense suspension of different types of deformable cells. The focus of the present work is on the development of a particle-based and GPU-accelerated numerical method that is able to quickly simulate the various behaviors of deformable cells in three-dimensional arbitrarily complex geometries. We employ a two-fluid model to describe blood flow, incorporating the deformation and aggregation of cells. A smoothed dissipative particle dynamics is used to solve the two-fluid model, and a discrete microstructure model is applied for the cell deformation, as well as a Morse potential model for the cell aggregation. The heterogeneous CPU-GPU environment is established, where each GPU thread is dedicated to a particle, and the CPU is mainly responsible for loading and exporting data. Five test cases are conducted against analytical theory, experimental data, and previous numerical results, for pure fluid, cell deformation, cell aggregation, cell suspension and the cellular flow in a complex network, respectively. It is shown that the methodology can accurately predict various behaviors of cells, and the GPU is well suited for particle-based modeling. Especially for cellular blood flow, where calculating cellular forces is a compute-intensive and time-consuming task, the GPU offers exceptional parallel capabilities, significantly enhancing the simulation efficiency. The speedup is about 3.5 times faster than the CPU parallelization with 96 cores for the pure fluid, and this acceleration nearly reaches 20 times when cells are included in the simulations. Particularly, the calculations for deformation and aggregation forces demonstrate a substantial speedup, achieving the improvements of up to 120 and 640 times, respectively, compared to their serial counterparts. The present methodology can effectively integrate various behaviors of cells, and has the potential in simulating very large microvascular networks at organ levels.</p></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2024-08-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Physics Communications\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S001046552400273X\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S001046552400273X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
Particle-based modeling and GPU-accelerated simulation of cellular blood flow
Computational modeling and simulation of cellular blood flow is highly desired for understanding blood microcirculation and blood-related diseases such as thrombosis and tumor, but it remains a challenging task primarily because blood in microvessels should be described as a dense suspension of different types of deformable cells. The focus of the present work is on the development of a particle-based and GPU-accelerated numerical method that is able to quickly simulate the various behaviors of deformable cells in three-dimensional arbitrarily complex geometries. We employ a two-fluid model to describe blood flow, incorporating the deformation and aggregation of cells. A smoothed dissipative particle dynamics is used to solve the two-fluid model, and a discrete microstructure model is applied for the cell deformation, as well as a Morse potential model for the cell aggregation. The heterogeneous CPU-GPU environment is established, where each GPU thread is dedicated to a particle, and the CPU is mainly responsible for loading and exporting data. Five test cases are conducted against analytical theory, experimental data, and previous numerical results, for pure fluid, cell deformation, cell aggregation, cell suspension and the cellular flow in a complex network, respectively. It is shown that the methodology can accurately predict various behaviors of cells, and the GPU is well suited for particle-based modeling. Especially for cellular blood flow, where calculating cellular forces is a compute-intensive and time-consuming task, the GPU offers exceptional parallel capabilities, significantly enhancing the simulation efficiency. The speedup is about 3.5 times faster than the CPU parallelization with 96 cores for the pure fluid, and this acceleration nearly reaches 20 times when cells are included in the simulations. Particularly, the calculations for deformation and aggregation forces demonstrate a substantial speedup, achieving the improvements of up to 120 and 640 times, respectively, compared to their serial counterparts. The present methodology can effectively integrate various behaviors of cells, and has the potential in simulating very large microvascular networks at organ levels.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.