-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add interface to an LPN solver to define BCs #116
Labels
Comments
I've modified the C++ svZeroDSolver code to build a shared library that can be loaded programatically. https://github.com/ktbolt/svZeroDSolver/tree/convert_cpp. I've added a test for calling the LPN interface from Fortran. https://github.com/ktbolt/cardiovascular/tree/master/lpn-solver-interface/fortran |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The solver currently uses the General Boundary Conditions (GenBC) framework to define custom inlet and outlet boundary conditions for a simulation using a lumped parameter network (LPN).
The GenBC framework is implemented as an external executable Fortran program called by the SimVascular flow solver svSolver. The executable is called by svSolver during execution to provide values for custom boundary conditions. The GenBC framework has a couple of disadvantages
A better solution is to create an interface to an LPN solver that can load the LPN solver as a shared library and directly call its functions to return the BC values at a given time step.
The text was updated successfully, but these errors were encountered: