Page 1 of 1

Flow File

Posted: Wed Aug 16, 2017 2:10 am
by rkdxogkr94
Hello.
I am quite new to simvasuclar and am wondering whether I can set a new inflow condition in the flow.txt files.
In the file "const_inlet" from Coronary Project Example, it has only
0 0
1 -100
something like that. I read the meaning of these that the initial 0 and 1 are just for user information and 0 and -100 are actual inlet conditions. In the example, it is said to put the period as 1.
Would it be possible for me to increase the period to 5 and just change the conditions in this manner?
0 0
1 -100
2 -100
3 -100
4 -100
5 -100

Also I'd like to ask about the meaning of time steps, number of them. For example, does this setting : No. of them (500) time step (0.01) show you the first 5 seconds of the simulation?

Re: Flow File

Posted: Wed Aug 16, 2017 11:31 am
by lanhz
Hi Taehak,

Before trying simulation, you can check out our simulation guide
http://simvascular.github.io/docsFlowSolver.html
It provides more details to help you set up boundary conditions and run simulations.

For your question: you only need to specify flow rate for one period. For a steady flow, since it's constant, you only need to provide flow rate at the beginning and end of a period, such as the example below. Its period is 1.0 second.

# Time (sec) Flow (cc/sec)
0.0 -100.0
1.0 -100


Hongzhi
SimVascular Development Team

Re: Flow File

Posted: Wed Aug 16, 2017 5:45 pm
by rkdxogkr94
Thanks a lot! That really helped!

Re: Flow File

Posted: Wed Aug 16, 2017 5:54 pm
by rkdxogkr94
Um. I have got another question.
How about pulsatile flow? Does it also need 1 period?
Also does simvascular utilize Navier-Stokes equation to evaluate the pressure/velocity profile of the model? In that case, wouldn't the 1st period be the very initial solution of NS equation which needs further iterations?
Sorry... don't know much...had to ask...