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?
Flow File
- Hongzhi Lan
- Posts: 125
- Joined: Mon Aug 04, 2014 3:55 pm
Re: Flow File
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
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
- Taehak Kang
- Posts: 39
- Joined: Thu Jun 22, 2017 7:03 pm
Re: Flow File
Thanks a lot! That really helped!
- Taehak Kang
- Posts: 39
- Joined: Thu Jun 22, 2017 7:03 pm
Re: Flow File
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...
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...