BloodFlowTrixi.jl is a Julia package that implements one-dimensional (1D) and two-dimensional (2D) blood flow models for arterial circulation. These models are derived from the Navier-Stokes equations and were developed as part of my PhD research in applied mathematics, focusing on cardiovascular pathologies such as aneurysms and stenoses.
This package provides:
-
1D Blood Flow Model: This model describes blood flow along compliant arteries in a single spatial dimension. It was derived under the assumption of axisymmetric flow and accounts for arterial compliance, inertia, and frictional losses.
More details about this model can be found in my corresponding publication:
[Article 1D] -
2D Blood Flow Model: The 2D model extends the Navier-Stokes equations under the thin-artery assumption, allowing for simulations in complex arterial geometries using curvilinear coordinates. It captures both longitudinal and angular dynamics, making it more accurate than classical 1D models while being less computationally expensive than full 3D models.
This model is described in detail in:
[Article 2D]
Both models were designed to be used with Trixi.jl, a flexible and high-performance framework for solving systems of conservation laws using the Discontinuous Galerkin (DG) method.
- 1D and 2D models for arterial blood flow.
- Derived from the Navier-Stokes equations with appropriate assumptions for compliant arteries.
- Compatible with Trixi.jl for DG-based numerical simulations.
- Support for curvilinear geometries and compliant wall dynamics.
- Validated through peer-reviewed research articles.
To install BloodFlowTrixi.jl, use the following commands in Julia:
julia> ]
pkg> add Trixi
pkg> add https://github.com/your-repo/BloodFlowTrixi.jl
This package is licensed under [Your License].
This package was developed as part of my PhD research in applied mathematics, focusing on mathematical modeling and numerical simulation of blood flow in arteries. Special thanks to the developers of Trixi.jl, whose framework was invaluable in implementing and testing these models.