top | item 43063140

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

70 points| darboux | 1 year ago |github.com | reply

11 comments

order
[+] kelseyfrog|1 year ago|reply
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...

[+] yolhan|1 year ago|reply
Yes for now i only added 2 models for 1D and 1 for 2D i plan to add some more : 1. Noslip + polynomial profile driven models 2. Other complex profile and pressure laws 3. Visco elastic case 4. Radius layered models 5. Obviously but the hardest full 3D FSI with wall model and/or immersed body methods (will need help on that one)
[+] fecal_henge|1 year ago|reply
Having good quality valves is how you die old. How come there is no source in the model?
[+] darboux|1 year ago|reply
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.
[+] d3ckard|1 year ago|reply
Of all the languages, it often seems like Julia has the coolest libraries. Great work!
[+] yolhan|1 year ago|reply
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.
[+] SubiculumCode|1 year ago|reply
Good for brain hemodynamics?
[+] yolhan|1 year ago|reply
Missing branching, however 2D model supports non-axisymetric aneurysm really well and you can give a parametrised curve to the visualisation in last release, give it a try. I will add examples for aneurysm and stenosis soon enough
[+] kjrfghslkdjfl|1 year ago|reply
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.

[+] yolhan|1 year ago|reply
It's my first package and I had no idea how to properly write that aqua.jl helped a lot not making crazy decisions but I will change compact I just need to look at other packages exemples, also I just realised registrator bot updates make auto pr for those compact so no need for those ^ things, at first it was because Trixi is still in production and version comes up often