This video demonstrates how to implement arbitrary user-defined lumped parameter networks (LPNs) as boundary conditions via GenBC (General BCs) in SimVascular. Video created by Ingrid Lan of the Cardiovascular Biomechanics Computation lab at Stanford University (https://cbcl.stanford.edu/).
Note 2 typos:
1) solver.inp - List of Dirichlet Surfaces
2) USER.f - f(1:nNeumannSrfs) = Q(1:nNeumannSrfs) / C(1:nNeumannSrfs) -
& ( x(1:nNeumannSrfs) - Pd ) / (Rd(1:nNeumannSrfs) * C(1:nNeumannSrfs) )