CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Bidomain equations for the heart

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2010, 05:39
Default Bidomain equations for the heart
  #1
New Member
 
Join Date: Aug 2009
Posts: 3
Rep Power: 16
pepgma is on a distinguished road
Has anyone attempted to implement the bidomain equations (*) for the heart in OpenFOAM?

These equations model the flow of current of a heart inside a conductive medium, making it an inner domain problem where the flow among the domains is determined by set of ODE's.

Is there any related flow problem where boundary conditions determined by ODE's are simultaneously solved?

Thanks!
-----------
*Here is a more extensive description of the model

The bidomain equations model the electrical activity of the heart inside a conductive medium. Each of two domains (conductive medium, heart) is basically a Laplace domain (div(s*grad(Phi)) = 0) where Phi is the potential, s the conductivity. The most interesting part is however the interface of the two (a membrane) where the flow (current) is:
a. Conserved: the flow leaving one domain is identical to the one entering the other

div(s*grad(Phi_e)) = -div(s*grad(Phi_i))

and,

b. Dependent on the potential difference: the potential difference at any point in the membrane (difference of the potential at the same point inside and outside V=Phi_i - Phi_e) determines the flow from one domain to the other.

Item b. can be considered a "dynamic" boundary condition, which is a system of ODEs of the form:

div(s*grad(Phi_e)) = f(dV/dt, V, u)
du/dt = g(u)

u a vector of states of the membrane.
pepgma is offline   Reply With Quote

Old   June 27, 2023, 10:12
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
This is an old thread, but in case others are interested, I have implemented a basic mono-domain model in OpenFOAM using the available ODE solver class. You can find the code at https://github.com/solids4foam/cardiacFoam where the method is (will be) described at the 18th OpenFOAM Workshop (https://openfoamworkshop.org).

Maybe others have created similar implementations; in that case, I am also interested to see them.
bigphil is offline   Reply With Quote

Reply

Tags
bidomain, biomedical, electric field, interface, potential


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
Guide: Writing Equations in LaTeX on the CFD Online Forums pete Site Help, Feedback & Discussions 27 May 19, 2022 03:19
Maths problem when deriving conservation of energy equations. Demonwolf Main CFD Forum 1 June 15, 2009 14:21
Bidomain Stokes flow bluemoth OpenFOAM Running, Solving & CFD 0 December 28, 2005 23:36
? fluctuating equations for homogenous shear turb. ff_fan Main CFD Forum 1 September 20, 2002 07:39
Euler equations? Jan Ramboer Main CFD Forum 2 August 19, 1999 01:58


All times are GMT -4. The time now is 11:48.