Cargando…

A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation

On the basis of numerous fluid simulation experiences, researchers have discovered that many common operations can be abstracted to form a general fluid simulation framework. These operations include the discretization of equations and variables, the computation of the coefficients, the assembly of...

Descripción completa

Detalles Bibliográficos
Autores principales: Wu, Yuanqing, Sun, Shuyu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8812971/
https://www.ncbi.nlm.nih.gov/pubmed/35113859
http://dx.doi.org/10.1371/journal.pone.0261134
_version_ 1784644771938041856
author Wu, Yuanqing
Sun, Shuyu
author_facet Wu, Yuanqing
Sun, Shuyu
author_sort Wu, Yuanqing
collection PubMed
description On the basis of numerous fluid simulation experiences, researchers have discovered that many common operations can be abstracted to form a general fluid simulation framework. These operations include the discretization of equations and variables, the computation of the coefficients, the assembly of the linear or nonlinear systems, the solving of the systems, etc. Furthermore, all of the operations can be attributed to the operations “in the field”, which is an abstract concept derived from the equations and variables. Thus, fluid simulations can be performed under a field-based general framework. Moreover, in response to the urgent need for large-scale fluid simulations, parallelism is integrated into the framework. Due to the convenience of the field operations, parallelization of the framework can be realized on both the OpenMP and MPI levels. In other words, because of the newly defined “fields”, a series of operations in fluid simulations can be simplified and unified. However, very few studies have noted this advantage, and therefore, this work attempts to fill the void. With the help of a field-based general framework, it is anticipated that the parallel codes of fluid simulations can be generated easily and quickly. As an application of the general framework, a parallel 3D simulator for matrix acidization called Masor is developed. The simulation results are regarded as physically reasonable by many studies, which verifies the correctness and effectiveness of the general framework. In addition, it is noteworthy that the parallel performance of Masor is decided by a solver.
format Online
Article
Text
id pubmed-8812971
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-88129712022-02-04 A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation Wu, Yuanqing Sun, Shuyu PLoS One Research Article On the basis of numerous fluid simulation experiences, researchers have discovered that many common operations can be abstracted to form a general fluid simulation framework. These operations include the discretization of equations and variables, the computation of the coefficients, the assembly of the linear or nonlinear systems, the solving of the systems, etc. Furthermore, all of the operations can be attributed to the operations “in the field”, which is an abstract concept derived from the equations and variables. Thus, fluid simulations can be performed under a field-based general framework. Moreover, in response to the urgent need for large-scale fluid simulations, parallelism is integrated into the framework. Due to the convenience of the field operations, parallelization of the framework can be realized on both the OpenMP and MPI levels. In other words, because of the newly defined “fields”, a series of operations in fluid simulations can be simplified and unified. However, very few studies have noted this advantage, and therefore, this work attempts to fill the void. With the help of a field-based general framework, it is anticipated that the parallel codes of fluid simulations can be generated easily and quickly. As an application of the general framework, a parallel 3D simulator for matrix acidization called Masor is developed. The simulation results are regarded as physically reasonable by many studies, which verifies the correctness and effectiveness of the general framework. In addition, it is noteworthy that the parallel performance of Masor is decided by a solver. Public Library of Science 2022-02-03 /pmc/articles/PMC8812971/ /pubmed/35113859 http://dx.doi.org/10.1371/journal.pone.0261134 Text en © 2022 Wu, Sun https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Wu, Yuanqing
Sun, Shuyu
A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title_full A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title_fullStr A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title_full_unstemmed A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title_short A field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
title_sort field-based general framework to simulate fluids in parallel and the framework’s application to a matrix acidization simulation
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8812971/
https://www.ncbi.nlm.nih.gov/pubmed/35113859
http://dx.doi.org/10.1371/journal.pone.0261134
work_keys_str_mv AT wuyuanqing afieldbasedgeneralframeworktosimulatefluidsinparallelandtheframeworksapplicationtoamatrixacidizationsimulation
AT sunshuyu afieldbasedgeneralframeworktosimulatefluidsinparallelandtheframeworksapplicationtoamatrixacidizationsimulation
AT wuyuanqing fieldbasedgeneralframeworktosimulatefluidsinparallelandtheframeworksapplicationtoamatrixacidizationsimulation
AT sunshuyu fieldbasedgeneralframeworktosimulatefluidsinparallelandtheframeworksapplicationtoamatrixacidizationsimulation