Time dependent outlet boundary condition

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Sohrab Tehrani
Posts: 17
Joined: Sun May 03, 2020 4:53 pm

Time dependent outlet boundary condition

Post by Sohrab Tehrani » Tue Oct 06, 2020 6:03 pm

Hello SV team,
Is it possible that we define the RCR type boundary condition at the outlets where the resistance R is not a constant and we set it as a function of time R(t) during a cardiac cycle?

Thanks for your response in advance.
Best
Sohrab

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Time dependent outlet boundary condition

Post by David Parker » Wed Oct 07, 2020 12:48 pm

Hi Sohrab,

You cab use the GenBC framework described here http://simvascular.github.io/docsGenBC.html to implement a transient RCR type boundary condition.

Cheers,
Dave

User avatar
Mohammad Sarabian
Posts: 4
Joined: Mon Mar 23, 2020 3:48 pm

Re: Time dependent outlet boundary condition

Post by Mohammad Sarabian » Wed Oct 07, 2020 1:34 pm

Great. Thanks so much Dave

User avatar
Sohrab Tehrani
Posts: 17
Joined: Sun May 03, 2020 4:53 pm

Re: Time dependent outlet boundary condition

Post by Sohrab Tehrani » Mon Oct 12, 2020 5:44 pm

Hello Dave,

In the link that you shared with me to implement transient outlet boundary condition, under the Cylinder Example Project, there is no directory that contains Fortran source files (GenBC.f, Modules.f and USER.f) and a Makefile. Could you please share those files that I can better understand how to apply that for my own problem?

Thanks so much,
Sohrab

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Time dependent outlet boundary condition

Post by David Parker » Mon Oct 12, 2020 8:34 pm

Hi Sohrab,

It looks like I will need to update the documentation web site!

You can download the GenBC Tutorial Example Files from https://simtk.org/frs/?group_id=188.

Cheers,
Dave

User avatar
Sohrab Tehrani
Posts: 17
Joined: Sun May 03, 2020 4:53 pm

Re: Time dependent outlet boundary condition

Post by Sohrab Tehrani » Mon Oct 12, 2020 10:55 pm

Hi Dave,
Thanks for sharing the files. But, still the same problem. This directory only contains 2 files namely "genbc_project.gz" and "genbc_source.gz". So I cannot find the Fortran source codes and make file to compile them.

Best,
Sohrab

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Time dependent outlet boundary condition

Post by David Parker » Tue Oct 13, 2020 12:24 pm

Hi Sohrab,

The genbc_source.gz file contains the GenBC.f, Makefile, Modules.f and USER.f files. You can extract the files using the command

Code: Select all

tar xvf genbc_source.gz
Cheers,
Dave

User avatar
Mohammad Sarabian
Posts: 4
Joined: Mon Mar 23, 2020 3:48 pm

Re: Time dependent outlet boundary condition

Post by Mohammad Sarabian » Tue Oct 13, 2020 12:50 pm

Hi Dave,

Great. I got. thanks
Sohrab

POST REPLY