Cargando…
A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics
ABSTRACT: We present a user-friendly and intuitive C++ expression system to implement numerical simulations of continuum biological hydrodynamics. The expression system allows writing simulation programs in near-mathematical notation and makes codes more readable, more compact, and less error-prone....
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer Berlin Heidelberg
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8460516/ https://www.ncbi.nlm.nih.gov/pubmed/34554349 http://dx.doi.org/10.1140/epje/s10189-021-00121-x |
_version_ | 1784571772537929728 |
---|---|
author | Singh, Abhinav Incardona, Pietro Sbalzarini, Ivo F. |
author_facet | Singh, Abhinav Incardona, Pietro Sbalzarini, Ivo F. |
author_sort | Singh, Abhinav |
collection | PubMed |
description | ABSTRACT: We present a user-friendly and intuitive C++ expression system to implement numerical simulations of continuum biological hydrodynamics. The expression system allows writing simulation programs in near-mathematical notation and makes codes more readable, more compact, and less error-prone. It also cleanly separates the implementation of the partial differential equation model from the implementation of the numerical methods used to discretize it. This allows changing either of them with minimal changes to the source code. The presented expression system is implemented in the high-performance computing platform OpenFPM, supporting simulations that transparently parallelize on multi-processor computer systems. We demonstrate that our expression system makes it easier to write scalable codes for simulating biological hydrodynamics in space and time. We showcase the present framework in numerical simulations of active polar fluids, as well as in classic simulations of fluid dynamics from the incompressible Navier–Stokes equations to Stokes flow in a ball. The presented expression system accelerates scalable simulations of spatio-temporal models that encode the physics and material properties of tissues in order to algorithmically study morphogenesis. GRAPHICABSTRACT: [Image: see text] |
format | Online Article Text |
id | pubmed-8460516 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Springer Berlin Heidelberg |
record_format | MEDLINE/PubMed |
spelling | pubmed-84605162021-10-07 A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics Singh, Abhinav Incardona, Pietro Sbalzarini, Ivo F. Eur Phys J E Soft Matter Regular Article - Flowing Matter ABSTRACT: We present a user-friendly and intuitive C++ expression system to implement numerical simulations of continuum biological hydrodynamics. The expression system allows writing simulation programs in near-mathematical notation and makes codes more readable, more compact, and less error-prone. It also cleanly separates the implementation of the partial differential equation model from the implementation of the numerical methods used to discretize it. This allows changing either of them with minimal changes to the source code. The presented expression system is implemented in the high-performance computing platform OpenFPM, supporting simulations that transparently parallelize on multi-processor computer systems. We demonstrate that our expression system makes it easier to write scalable codes for simulating biological hydrodynamics in space and time. We showcase the present framework in numerical simulations of active polar fluids, as well as in classic simulations of fluid dynamics from the incompressible Navier–Stokes equations to Stokes flow in a ball. The presented expression system accelerates scalable simulations of spatio-temporal models that encode the physics and material properties of tissues in order to algorithmically study morphogenesis. GRAPHICABSTRACT: [Image: see text] Springer Berlin Heidelberg 2021-09-23 2021 /pmc/articles/PMC8460516/ /pubmed/34554349 http://dx.doi.org/10.1140/epje/s10189-021-00121-x Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Regular Article - Flowing Matter Singh, Abhinav Incardona, Pietro Sbalzarini, Ivo F. A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title | A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title_full | A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title_fullStr | A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title_full_unstemmed | A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title_short | A C++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
title_sort | c++ expression system for partial differential equations enables generic simulations of biological hydrodynamics |
topic | Regular Article - Flowing Matter |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8460516/ https://www.ncbi.nlm.nih.gov/pubmed/34554349 http://dx.doi.org/10.1140/epje/s10189-021-00121-x |
work_keys_str_mv | AT singhabhinav acexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics AT incardonapietro acexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics AT sbalzariniivof acexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics AT singhabhinav cexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics AT incardonapietro cexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics AT sbalzariniivof cexpressionsystemforpartialdifferentialequationsenablesgenericsimulationsofbiologicalhydrodynamics |