Page 1 of 1

Time dependent outlet boundary condition

Posted: Tue Oct 06, 2020 6:03 pm
by sohrabsim
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

Re: Time dependent outlet boundary condition

Posted: Wed Oct 07, 2020 12:48 pm
by davep
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

Re: Time dependent outlet boundary condition

Posted: Wed Oct 07, 2020 1:34 pm
by mohammads
Great. Thanks so much Dave

Re: Time dependent outlet boundary condition

Posted: Mon Oct 12, 2020 5:44 pm
by sohrabsim
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

Re: Time dependent outlet boundary condition

Posted: Mon Oct 12, 2020 8:34 pm
by davep
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

Re: Time dependent outlet boundary condition

Posted: Mon Oct 12, 2020 10:55 pm
by sohrabsim
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

Re: Time dependent outlet boundary condition

Posted: Tue Oct 13, 2020 12:24 pm
by davep
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

Re: Time dependent outlet boundary condition

Posted: Tue Oct 13, 2020 12:50 pm
by mohammads
Hi Dave,

Great. I got. thanks
Sohrab