SimVascular / svOneDSolver

A C++ solver for blood flow and pressure in deformable 1D hemodynamic networks
Other
16 stars 19 forks source link

Pressure boundary condition not working #50

Closed mrp089 closed 4 years ago

mrp089 commented 4 years ago

The PRESSURE boundary condition doesn't work anymore. Test case 04_simpleArtery_Pressure.in crashes with ERROR: pressure information is not prescribed.

The error was caused by adding the following two lines in cvOneDMthModelBase.cxx in commit 6d67d26:

https://github.com/SimVascular/svOneDSolver/blob/017b42e578c813935bab0db1410eb2159865de7b/Code/Source/cvOneDMthModelBase.cxx#L163-L164

@jseo0 Can you please have a look at this?

vvedula22 commented 4 years ago

I had the same error even with 01_simpleArtery_Flow.in. I also got errors while compiling from source using both SuperLU and CSparse. With SuperLU, I had difficulty with some header files and for CSparse, I had trouble when including python.

mrp089 commented 4 years ago

@vvedula22 We fixed bugs in the code in 50edf9c. The test case you mention will probably be removed as the FLOW boundary condition is currently not supported. If you need that BC, please let us know.