Skip to content

comp-medicine-uc/alveolar-perfusion-transport-modeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modeling lung capillary perfusion and gas exchange in alveolar microstructures

Bastián Herrera & Daniel Hurtado, @comp-medicine-uc

Computational simulations of microscale pulmonary perfusion and O$_2$-CO$_2$ gas transport on 3D alveolar meshes reconstructed from $\mu$-CT murine lung images.

Abstract

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$_2$-CO$_2$ and haemoglobin are simplified. However, these models fail to capture the complex chemical reactions that take place in pulmonary capillary blood and overlook the effect of the porous alveolar structure. In this work, we develop a coupled perfusion and gas exchange model that reflects gas and haemoglobin dynamics in pulmonary capillaries. To this end, we formulate a system of two coupled nonlinear convection-diffusion boundary value problems. We derive the equations from continuum balance laws, incorporating an experimentally validated relationship between gas partial pressures and haemoglobin saturations through a fully coupled Hill equation-like model. We numerically solve this boundary value problem in Python using the finite element method in a simple slab capillary domain, considering a physiological range of blood flow velocity fields and blood pH values. Moreover, we perform numerical simulations in a 3D alveolar domain reconstructed from $\mu$-CT rat lung images, which was morphologically altered to simulate various levels of emphysema. Numerical perfusion experiments agree with expected blood pressure drops and velocity fields in the lung capillary domain. Additionally, numerical gas exchange simulations reconstruct physiological dynamics of gas partial pressure and haemoglobin saturation in the capillary domain. Furthermore, these simulations replicate the Bohr effect and provide a framework to determine the whole-lung diffusing capacity for O$_2$ and CO$_2$, which diminishes as emphysema severity increases. We envision that this model broadens potential applicability of computational lung simulations in clinical settings, particularly in exercise and pathological conditions that affect perfusion dynamics and the overall gas exchange function of the lungs.

Directories

  • 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.

Results

We now present the main results of this article. Single-capillary perfusion and gas exchange in a simple slab-like domain are shown below.

Single-capillary perfusion and gas exchange.

We performed sensitivity analysis of gas exchange dynamics, varying the inlet blood velocity $u_{in}$ and the blood pH.

Gas exchange under different values of $u_{in}$. Gas exchange under different values of blood pH.

We developed a meshing algorithm to reconstruct lung RVEs of $225$ $\mu m$ of side length from $\mu$-CT murine lung images. We further progressively erode the images to reproduce emphysematous lung features, by increasing lung porosity $\phi$.

Meshing protocol

In these geometries, we now perform numerical simulations microscale perfusion and gas exchange.

Microscale perfusion and gas exchange results.

Finally, we extrapolate our microscale results to the whole-lung, and calculate total lung diffusing capacities for O$_2$ and CO$_2$ as $$DL_{O_2} = \frac{V_{lung}}{V_{RVE}}\frac{1}{p_{O_2}^{air} - p_{O_2}^{in}}\int_{S_{air}} \frac{d_{O_2}^{b-a}\beta_{O_2}}{h^{b-a}}\left(p_{O_2}^{air}-p_{O_2}\right)ds.$$ Numerical estimations of $DL_{O_2}$ under different degrees of emphysema are shown below.

Microscale perfusion and gas exchange results.

Dependencies

Source code is written and runs in Python 3.12 and in MATLAB R2023a. The following libraries are employed: