Bastián Herrera & Daniel Hurtado, @comp-medicine-uc
Computational model and simulations of microscale pulmonary perfusion and O
Pulmonary capillary perfusion and gas exchange are the fundamental physical processes that enable respiration to occur at the microscale. Present-day computational simulations of these phenomena are often based on low-dimensional mathematical models on idealized alveolar geometries, where the chemical reactions between O
manuscript: Latest version of the article.raw-data: Raw images and sources for pulmonary RVE simulations.results-data: Numerical simulation results.src: Python and MATLAB source files.tests: Main files that implement examples and tests.
We now present the main results of this article. Single-capillary perfusion and gas exchange in a simple slab-like domain are shown below.
We performed sensitivity analysis of gas exchange dynamics, varying the inlet blood velocity
We developed a meshing algorithm to reconstruct lung RVEs of
In these geometries, we now perform numerical simulations microscale perfusion and gas exchange.
Finally, we extrapolate our microscale results to the whole-lung, and calculate total lung diffusing capacities for O
Source code is written and runs in Python 3.12 and in MATLAB R2023a. The following libraries are employed:
iso2meshfor MATLAB, 2018.1.9.6 Lion's Headnumpy1.26.0scipy1.13.0matplotlib3.8.4FEniCSx0.7.2TetGen bindigs for Python0.6.1Trimesh4.3.0PyVista0.43.5mpi4py3.1.3PyMeshFix0.16.3, a Python/Cython wrapper forMeshFix.meshio5.3.5petsc4py3.15.1os,sys
@article{HerreraHurtado2025,
title = {Modeling pulmonary perfusion and gas exchange in alveolar microstructures},
journal = {Computer Methods in Applied Mechanics and Engineering},
volume = {433},
pages = {117499},
year = {2025},
issn = {0045-7825},
doi = {https://doi.org/10.1016/j.cma.2024.117499},
url = {https://www.sciencedirect.com/science/article/pii/S0045782524007539},
author = {Bastián Herrera and Daniel E. Hurtado}
}





