SimVascular / svZeroDSolver-Archived

A Python lumped-parameter solver for blood flow and pressure in hemodynamic networks
Other
12 stars 15 forks source link

Closed-loop circulation model #68

Open menon-karthik opened 2 years ago

menon-karthik commented 2 years ago

Currently we can only model open-loop models, i.e. models that terminate with prescribed distal boundary conditions (like a distal pressure). I am adding the following:

Any suggestions on better/different tests?

Refs: [1] Sankaran, S. et al. (2012).Patient-specific multiscale modeling of blood flow for coronary artery bypass graft surgery. Annals of Biomedical Engineering, 40(10), 2228–2242. [2] Tran, J. S., et al. (2017). Automated tuning for parameter identification and uncertainty quantification in multi-scale coronary simulations. Computers and Fluids, 142, 128–138. [3] Tran, J. S., et al. (2019). Uncertainty quantification of simulated biomechanical stimuli in coronary artery bypass grafts. Computer Methods in Applied Mechanics and Engineering, 345, 402–428.

menon-karthik commented 2 years ago

Updates:

  1. I have finished implementing the model in ref. [1] above.
  2. The new blocks are closed-loop RCR outlets, closed-loop coronary outlets, and the heart/pulmonary circulation model.
  3. Added two git test cases for closed-loop models: (i) a single vessel with RCR outlet connected on either side to the closed-loop heart model; (ii) a system with 4 parallel vessels, two with RCR outlets, one with left coronary outlet, and one with right coronary outlet, all connected on either side to the heart model. The test cases compare results with solvers used in refs. [2]-[3] mentioned above.
  4. The heart model requires specific initial conditions, which have also been added. The steady state initial condition does not work for the heart model.
mrp089 commented 1 year ago

Now merged into https://github.com/StanfordCBCL/svZeroDSolver

mrp089 commented 1 year ago

Reopening as @menon-karthik is also implementing a Python version of the boundary condition in this repository