Multiple Inlets and Reverse Flow

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Joseph Muskat
Posts: 19
Joined: Wed Nov 09, 2016 1:30 pm

Multiple Inlets and Reverse Flow

Post by Joseph Muskat » Mon Apr 10, 2017 5:38 pm

Hello,

I'm trying to run a simulation that has 3 inlets and 5 outlets in a simple Circle of Willis.

I'm finding an issue with the solved pressure and velocities; it appears that SimVascular is regarding one of the carotid inlets to be an outlet.
C1.JPG
C1.JPG (199.65 KiB) Viewed 727 times
C2.JPG
C2.JPG (207.87 KiB) Viewed 727 times
I've scaled the velocity in the lower image to show all the "negative" flow equal to zero--just made it easier to see what I mean. I've run simulations with all the inlets being flipped to normal or not flipped while also running with the Inlet BC flow files having negative and positive values. I continue to see the issue arise. When I swapped the left carotid (negative) to be flipped normal, the simulation solved the right carotid (shown positive) to become the negative one while making the left carotid positive.

Shown above, the basilar artery inlet might have also been considered as an outlet***. I've tried making certain outlets have extremely low resistance in an attempt to pull flow out of the model, but I still saw these problems.

Any advice/tips on reviewing the simulation would be appreciated!

Joseph

Edit: ***

User avatar
Adam Updegrove
Posts: 236
Joined: Fri Aug 30, 2013 4:11 pm

Re: Multiple Inlets and Reverse Flow

Post by Adam Updegrove » Tue Apr 11, 2017 7:33 am

Hi Joseph,

How are you setting the multiple inlets in your simulation? Have you run a simulation with multiple inlets before?

Also, have you checked you bct.vtp files? Do the inflow vectors point the correct direction. This is always a good thing to check when you see flow going the opposite direction of what you expect?

Thanks!

SimVascular Development Team

User avatar
Joseph Muskat
Posts: 19
Joined: Wed Nov 09, 2016 1:30 pm

Re: Multiple Inlets and Reverse Flow

Post by Joseph Muskat » Tue Apr 11, 2017 7:40 am

Hi Adam,

To setup multiple inlets, I am assigning velocity profiles/inflows to each of my 3 desired locations. For the outlets, I am assigning resistance values. I haven't run with multiple inlets before, but I've worked with single inflow simulations in SimVascular already.

For the bct.vtp files, how would you recommend checking the profiles? I'm currently using the exported .vtu files with Stream-tracers in Paraview to determine which way velocity is traveling.

Thank you,

Joseph

User avatar
Joseph Muskat
Posts: 19
Joined: Wed Nov 09, 2016 1:30 pm

Re: Multiple Inlets and Reverse Flow

Post by Joseph Muskat » Tue Apr 11, 2017 8:19 am

As an update, Adam: I'm now viewing the bct.vtp files before running any simulations. I've tried to "flip normal" and add (-) signs to the flow file.

I continue to see a negative velocity profile created for the basilar artery.

User avatar
Hongzhi Lan
Posts: 125
Joined: Mon Aug 04, 2014 3:55 pm

Re: Multiple Inlets and Reverse Flow

Post by Hongzhi Lan » Wed Apr 12, 2017 12:54 pm

Hi Joseph,

Please make sure install the latest version (2017-04-09) including SimVascular and svSolver. the issue for the inlet flow direction has beed fixed. Make sure in your flow rate file, negative values means inward flow.

As Adam, it's always good to double check the direction visually, but load bct.vtp and mesh-complete/mesh-complete.exterior.vtp into Paraview to check the flow direction. If you still have issue, let us know. And you can send me the project.

SimVascular Development Team

User avatar
Joseph Muskat
Posts: 19
Joined: Wed Nov 09, 2016 1:30 pm

Re: Multiple Inlets and Reverse Flow

Post by Joseph Muskat » Fri Apr 14, 2017 9:35 am

Hello both,

I ended up getting the simulations to run through random combinations and looking at the bct.vtp files. That tip was very helpful.

I'll install the latest version, but I'm all finished up with this project for now. Thank you for the advice!

Joseph

POST REPLY