|
[Sponsors] |
February 19, 2019, 07:13 |
1D FEM solver for blood flow
|
#1 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hello everyone,
At the moment I am implementing a one-dimensional FEM solver for blood flow, that is, 1D Navier-Stokes flow in a network of elastic tubes. Considering the large number of publications on this subject, I have a feeling I'm sort of reinventing the wheel, writing my own code from scratch. Is anyone here aware of the existence of freeware/commercial code for this purpose? Thanks in advance! Sita P.S. I'm already using SimVascular for 3D simulations, but I'm looking for something more lightweight to use alongside of that, which is why I started implementing this one-dimensional solver. Last edited by sita; February 21, 2019 at 04:12. Reason: Additional info |
|
February 19, 2019, 07:29 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
What are you doing exactly? The 1D constraint drives the continuity equation (for incompressible flow) to give you only u=constant... |
||
February 19, 2019, 07:51 |
|
#3 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi,
Thanks for getting back so soon! Sorry, apparently I wasn't quite clear: we're looking at flow in an elastic tube here, so cross-sectional area is one of the variables. The equations are: dA/dt + dQ/dx = 0, dQ/dt + d/dx(alpha*Q^2/A) + A/rho dp/dx + k*Q/A = 0, where alpha and k are constants, related to the shape of the velocity profile and viscous loss, respectively. This system is complemented with a constitutive relation between p and A. Alternatively these equations can be written in terms of A and u, p and Q, or p and u. Sita |
|
February 19, 2019, 10:43 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
In this case you will get practically the Euler equations not the NSE. The flow coupled with the elastic tube will show the character of hyperbolicity and the wave will travel at supersonic velocity |
||
February 19, 2019, 11:17 |
|
#5 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Filippo,
Thanks, that's at least partly right (the waves won't travel at supersonic speed though, see e.g. refs below), but that's not my question. I have this system of equations, which I'm trying to solve numerically using FEM, and since I'm not the first person doing this, I was hoping there might be existing code somewhere out there, saving me the effort of coding from scratch. Are you aware of any? Sita J.C. Stettler, P. Niederer, and M. Anliker, Theoretical analysis of arterial hemodynamics including the influence of bifurcations. part i: Mathematical model and prediction of normal pulse patterns. Ann. Biomed. Eng., 9 (1981) 145–164. J.C. Stettler, P. Niederer, and M. Anliker, Theoretical analysis of arterial hemodynamics including the influence of bifurcations, part ii: Critical evaluation of theoretical model and comparison with noninvasive measurements of flow patterns in normal and pathological cases. Ann. Biomed. Eng., 9 (1981) 165–175. |
|
February 19, 2019, 12:25 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
No, I am not aware of FEM software for hyperbolic equations. At the best of my knowledge, the elastic waves travel at supersonic velocity (of course, you need to define the sound velocity of the liquid and that of the elastic material separately) |
||
February 19, 2019, 13:17 |
|
#7 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Ah, that's too bad, hopefully someone else knows.
For physiological conditions the flow is subcritical, with the characteristic system having one positive and one negative eigenvalue. Lucky for us humans |
|
February 22, 2019, 02:44 |
|
#8 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
In the meantime someone tipped me about Firedrake, a package for the solution of PDEs using FEM (similar to FreeFEM++). This is very helpful, so I thought I'd post it here, in case others are looking for something like this too.
Other tips are still most welcome though. Last edited by sita; February 22, 2019 at 02:46. Reason: Additional info |
|
February 22, 2019, 03:46 |
|
#9 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
At 1D level FEM and FDM are same. Why are you looking for 1D FEM tool. It is easy to develop a simple 1D FDM code which can give same accuracy.
|
|
February 22, 2019, 04:17 |
|
#10 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Thanks, yes, I'm aware of that. The main reason that I'm looking for a FEM solver is that for my particular application (cardiovascular flow) there are lots of publications using FEM. So I thought, before I go into coding and debugging and the whole lot, there might actually be code available somewhere, either freeware or commercial.
|
|
December 16, 2020, 06:53 |
|
#11 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Sorry, this is a rather old post, but I'm posting here anyway, so that hopefully others looking for 1D cardiovascular flow solvers may find this link faster than I did:
http://haemod.uk/nektar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to add massless particles to an incompressible flow at solver level? | LauraSumner | OpenFOAM Running, Solving & CFD | 1 | September 30, 2019 18:13 |
Why can i use a laminar solver for a turbulent flow? [Heat transfer problem] | blackbow | CFX | 1 | November 22, 2016 05:42 |
PimpleFoam: Solver Crashes for simple laminar flow | mayank.dce2k7 | OpenFOAM Running, Solving & CFD | 0 | May 1, 2014 21:53 |
Inviscid solver : separation of the flow | Jean-Marie Cavet | FLUENT | 1 | September 2, 2003 13:32 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |