Dear SimVascular community,
I would like to know if there is a command line (Linux Ubuntu 18.04.1) that allows me to create the file "all_results-averages.txt" using svpost.
Thank you for your valuable support.
Kind regards,
Maria Nicole
Creating "all_results-averages.txt" using command line in Ubuntu
- Maria Nicole Antonuccio
- Posts: 19
- Joined: Fri Nov 30, 2018 3:36 am
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Hi Maria Nicole,
The file all_results-averages.txt is created by code in SimVascular, this functionality is not in svpost.
Cheers,
Dave
The file all_results-averages.txt is created by code in SimVascular, this functionality is not in svpost.
Cheers,
Dave
- Maria Nicole Antonuccio
- Posts: 19
- Joined: Fri Nov 30, 2018 3:36 am
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Dear Dave,
I am very grateful to you for your answer. Please, can you explain what I should do to get that file without using GUI?
Many thanks in advance,
Maria Nicole
I am very grateful to you for your answer. Please, can you explain what I should do to get that file without using GUI?
Many thanks in advance,
Maria Nicole
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Hi Maria Nicole,
I have created a program called create-flow-files that creates the all_results-averages.txt flow files you want from the command line.
You can download the program source using
git clone https://github.com/ktbolt/cardiovascular.git
The program is in the create-flow-files directory. There is a README.md that explains how to compile the program and how to use it. I also put an Ubuntu 18 executable in the create-flow-files/bin directory in case you have trouble building. You will still need to install VTK as explained in the README.
Cheers,
Dave
I have created a program called create-flow-files that creates the all_results-averages.txt flow files you want from the command line.
You can download the program source using
git clone https://github.com/ktbolt/cardiovascular.git
The program is in the create-flow-files directory. There is a README.md that explains how to compile the program and how to use it. I also put an Ubuntu 18 executable in the create-flow-files/bin directory in case you have trouble building. You will still need to install VTK as explained in the README.
Cheers,
Dave
- Maria Nicole Antonuccio
- Posts: 19
- Joined: Fri Nov 30, 2018 3:36 am
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Thank you, Dave! I really appreciated your effort in the helping with this matter.
I have installed SimVascular version 2019-01-27 from binaries (I did not compile it on my machine).
I would be tempted to install your program from binary as well (since it was built from the same Linux distribution as mine). Please, could you tell me in which directory I should place your executable. For example, should it be placed here: /usr/local/sv/simvascular/2019-01-27/bin?
If this does not work, do you think there will be an incompatibility between your compiled code "reate-flow-files" and my binaries from SimVascular?
Many thanks for your help.
Kind regards,
Maria Nicole
I have installed SimVascular version 2019-01-27 from binaries (I did not compile it on my machine).
I would be tempted to install your program from binary as well (since it was built from the same Linux distribution as mine). Please, could you tell me in which directory I should place your executable. For example, should it be placed here: /usr/local/sv/simvascular/2019-01-27/bin?
If this does not work, do you think there will be an incompatibility between your compiled code "reate-flow-files" and my binaries from SimVascular?
Many thanks for your help.
Kind regards,
Maria Nicole
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Hi Maria Nicole,
The create-flow-files binary does not depend on SimVascular so you can put it anywhere. You can create a $HOME/bin directory and put it there and use it like $HOME/bin/create-flow-files or add $HOME/bin to your PATH environment variable in your .bashrc like this
export PATH=$PATH:$HOME/bin:
You will need to have VTK installed to run create-flow-files. You can install VTK like this
sudo apt-get install libvtk6-dev
Cheers,
Dave
The create-flow-files binary does not depend on SimVascular so you can put it anywhere. You can create a $HOME/bin directory and put it there and use it like $HOME/bin/create-flow-files or add $HOME/bin to your PATH environment variable in your .bashrc like this
export PATH=$PATH:$HOME/bin:
You will need to have VTK installed to run create-flow-files. You can install VTK like this
sudo apt-get install libvtk6-dev
Cheers,
Dave
- Maria Nicole Antonuccio
- Posts: 19
- Joined: Fri Nov 30, 2018 3:36 am
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Dear Dave,
I followed your advice to run create-flow-file and this works fine. I appreciated your valuable support and I thank you a lot.
Kind regards,
Maria Nicole
I followed your advice to run create-flow-file and this works fine. I appreciated your valuable support and I thank you a lot.
Kind regards,
Maria Nicole
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Creating "all_results-averages.txt" using command line in Ubuntu
Hi Maria Nicole,
Great that it works! I think this tool will be useful to other users.
Cheers,
Dave
Great that it works! I think this tool will be useful to other users.
Cheers,
Dave