Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steady state #8

Open
alemelis opened this issue Dec 8, 2017 · 3 comments
Open

Steady state #8

alemelis opened this issue Dec 8, 2017 · 3 comments
Labels

Comments

@alemelis
Copy link
Collaborator

alemelis commented Dec 8, 2017

Write a tutorial for steady state simulations

@alemelis alemelis added the Docs label Dec 8, 2017
@alemelis alemelis mentioned this issue Dec 8, 2017
@DeepaMahm
Copy link

Hi @alemelis I'm interested in performing a steady-state simulation using OpenBF. Could you please let me know if the tutorial for steady-state simulation is available?

@alemelis
Copy link
Collaborator Author

Hi @DeepaMahm

I haven't wrote a tutorial (yet..) but it very simple. In short, just create an inlet file as following

0.0 1e-8
0.5 1e-6
1.0 1e-4
10.0 1e-4

this is a simple piecewise function which uses the first second of the simulation to get from a very small flow (1e-8 ml/s) to the nominal steady state flow (1e-4 ml/s). Then you can set the cardiac period to 10 seconds in the config.yaml and run for a single cycle. This effectively fakes a steady state simulation and your result will be represented by the last time step in the entire simulation.

Hope this helps!

@DeepaMahm
Copy link

Hi @alemelis

Thanks a lot! I will give this a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants