logoalt Hacker News

Bloodflowtrixi.jl – 1D and 2D blood flow models for arterial circulation

70 pointsby darboux02/15/202511 commentsview on HN

Comments

kelseyfrog02/20/2025

In the same vein[1], there's actually a lumped parameter model of the cardiovascular system[2]. ie: there is an analogous electrical model for how our blood flows.

1. intended

2. https://en.wikipedia.org/wiki/Lumped_parameter_model_for_the...

show 2 replies
darboux02/15/2025

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 focus on cardiovascular pathologies such as aneurysms and stenosis.

d3ckard02/19/2025

Of all the languages, it often seems like Julia has the coolest libraries. Great work!

yolhan02/20/2025

Thanks a lot for making this forum I hope people try the package and don't hesitate issuing and/or make PR for what they want to see inside it.

SubiculumCode02/20/2025

Good for brain hemodynamics?

show 1 reply
kjrfghslkdjfl02/20/2025

If the author is reading...

Why specify compat in this manner? https://github.com/yolhan83/BloodFlowTrixi.jl/blob/03a78be28...

Normally you want to specify "up to which major version" or "up to which (major, minor) version" your lib is compatible with, while allowing that all minor or path respectively are automatically upgraded.

EDIT: To the person who said "Of all the languages, it often seems like Julia has the coolest libraries"

It's just a very good language for writing libraries. Which is a crazy thing to say, because you're think that being good for writing libraries is something that every language would want to get exactly right, but it appears not.

show 1 reply