CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

1D FEM solver for blood flow

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By sita

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2019, 07:13
Default 1D FEM solver for blood flow
  #1
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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
sita is offline   Reply With Quote

Old   February 19, 2019, 07:29
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sita View Post
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

What are you doing exactly? The 1D constraint drives the continuity equation (for incompressible flow) to give you only u=constant...
FMDenaro is offline   Reply With Quote

Old   February 19, 2019, 07:51
Default
  #3
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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
sita is offline   Reply With Quote

Old   February 19, 2019, 10:43
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sita View Post
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



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
FMDenaro is offline   Reply With Quote

Old   February 19, 2019, 11:17
Default
  #5
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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.
sita is offline   Reply With Quote

Old   February 19, 2019, 12:25
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by sita View Post
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.





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)
FMDenaro is offline   Reply With Quote

Old   February 19, 2019, 13:17
Default
  #7
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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
sita is offline   Reply With Quote

Old   February 22, 2019, 02:44
Default
  #8
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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
sita is offline   Reply With Quote

Old   February 22, 2019, 03:46
Default
  #9
Senior Member
 
duri
Join Date: May 2010
Posts: 245
Rep Power: 17
duri is on a distinguished road
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.
duri is offline   Reply With Quote

Old   February 22, 2019, 04:17
Default
  #10
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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.
sita is offline   Reply With Quote

Old   December 16, 2020, 06:53
Default
  #11
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
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
sita is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:28.