SimVascular / svZeroDSolver-Archived

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

Use steady state initial conditions for 0d simulations #18

Closed JonathanPham closed 3 years ago

JonathanPham commented 3 years ago

Add functionality to run pulsatile 0d models with an initial condition of steady-state/mean flow. To do this, we need to:

  1. Extract the mean flow value for the 0d model's pulsatile inflow boundary condition
  2. Simulate the 0d model to steady state, but with the following parameters: zero initial conditions, a coarse number of time steps, constant mean flow at inlet
  3. Use the steady-state solution obtain in the previous step as the initial condition for the original 0d model with the pulsatile inflow boundary condition