2021
DOI: 10.1140/epje/s10189-021-00121-x
|View full text |Cite
|
Sign up to set email alerts
|

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. 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 … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
3
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
5
2

Relationship

1
6

Authors

Journals

citations
Cited by 8 publications
(3 citation statements)
references
References 44 publications
0
3
0
Order By: Relevance
“…Finally, we perform a strong scaling benchmark of the computation time with increasing numbers of CPU cores with both codes implemented in the parallel computing library OpenFPM [11,26] in C++ and run on the same hardware. The results in Fig.…”
Section: Resultsmentioning
confidence: 99%
“…Finally, we perform a strong scaling benchmark of the computation time with increasing numbers of CPU cores with both codes implemented in the parallel computing library OpenFPM [11,26] in C++ and run on the same hardware. The results in Fig.…”
Section: Resultsmentioning
confidence: 99%
“…Differential operators are discretized with second-order accu-racy using Discretization-Corrected Particle Strength Exchange (DC-PSE) [22]. The force balance is solved at every time step with a pressure correction scheme to impose incompressibility [23,24]. For the hydrodynamic boundary conditions, we enforce stress freeness (σ tot xy = σ tot yz = 0) at the x = y = 0 and x = y = L planes and fix the integration constant by imposing zero flow velocity at x = L/2, y = L/2.…”
mentioning
confidence: 99%
“…More simulation details can be found in supplementary information. The simulation computer code is implemented using the scalable computing library OpenFPM [25] and a template expression language for partial differential equations [23].…”
mentioning
confidence: 99%