SimVascular / svOneDSolver

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

What should I do in order to modify the Minor loss coefficient K if I want to add the stenosis and bifurcation loss in the control equation in the svoneDSolver? #113

Open Throneyjy opened 2 months ago

Throneyjy commented 2 months ago

Problem

I want to simulate both stenosis and bifurcations in svoneDSovler but as your document says , the variables delta and N are constant and couldn't be modified, how should I do to solve this in order to redefine the variables loss coefficient K? (by the way , the 1d solver document don't say the detailed information for the setting about stenosis, ow does the solver take the stenosis factor into account and calculate it?(I'm sorry to interrupt. Thank you very much for listening to my question.)

Solution

image

Additional context

No response

Code of Conduct

mrp089 commented 1 month ago

The stenosis factor is an input to the solver and is derived from the geometry of the blood vessel. To generate an input file, you can use the SimVascular ROM simulation tool. Also, have a look at this test case including a stenosis.

Throneyjy commented 1 month ago

Thanks a lot, I've already tested the stenosis case, and I wonder how to use the bifurcation factor in the test case because I see that you give the bifurcation options in the segment minor loss type but don't give a test case including the bifurcation.(I modify the minor loss to bifurcation but it seems don't work, just the same result as the case with minor loss option with NONE)

So what should I do to make the bifurcation cases work?(Thank you very much!)

image

mrp089 commented 1 month ago

The bifurcation factor is not tested right now. It might still be in the code, but I would consider it experimental with no guarantee that it works as intended.

Throneyjy commented 3 weeks ago

ok , thanks a lot!