Aortic inflow waveform
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Aortic inflow waveform
Hello everyone,
I have one more question.
In coronary normal tutorial, why inlet Aortic inflow waveform is negative? Are there mathematical formula for negative profiles. It would be great If anyone refers any document or links. Thanks
I have one more question.
In coronary normal tutorial, why inlet Aortic inflow waveform is negative? Are there mathematical formula for negative profiles. It would be great If anyone refers any document or links. Thanks
- David Parker
- Posts: 1716
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Aortic inflow waveform
Hi Sajeda,
The direction of inlet flow is relative to the normal of the inlet face geometry. The normal vector at the aortic inlet is pointing outwards so negative flow will be going into the aortic inlet.
Have a look at the SimVascular documentation (http://simvascular.github.io/clinicalCase3.html#sim and http://simvascular.github.io/docsFlowSo ... l#inflowbc).
Cheers,
Dave
The direction of inlet flow is relative to the normal of the inlet face geometry. The normal vector at the aortic inlet is pointing outwards so negative flow will be going into the aortic inlet.
Have a look at the SimVascular documentation (http://simvascular.github.io/clinicalCase3.html#sim and http://simvascular.github.io/docsFlowSo ... l#inflowbc).
Cheers,
Dave
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Model path length
Hello everyone!!!!!
I would like to know about the length of model path. How can I measure model length by using model path?
Thank you advanced!!!!!
Sajeda
I would like to know about the length of model path. How can I measure model length by using model path?
Thank you advanced!!!!!
Sajeda
- David Parker
- Posts: 1716
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Aortic inflow waveform
Hi Sajeda,
You can compute a path length using the SV Python API. The API is not documented, I'm in the process of modifying it and will document it after that. I've attached a Python script named path_length.txt (SimTK won't let you upload a file with a .py suffix), change the .txt to .py after downloading.
I've put a short document on https://github.com/ktbolt/cardiovascula ... erface.pdf describing how to use the API.
Cheers,
Dave
You can compute a path length using the SV Python API. The API is not documented, I'm in the process of modifying it and will document it after that. I've attached a Python script named path_length.txt (SimTK won't let you upload a file with a .py suffix), change the .txt to .py after downloading.
I've put a short document on https://github.com/ktbolt/cardiovascula ... erface.pdf describing how to use the API.
Cheers,
Dave
- Attachments
-
- path_length.txt
- (2.24 KiB) Downloaded 14 times
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Re: Aortic inflow waveform
Thank you very much David...I hope it will work. I will contact you soon...thanks again
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Re: Aortic inflow waveform
Dear Simvascular Developers,
I want to simulate 1D blood flow simulation in a right coronary artery model. The model has one inlet and one outlet. I tried several times to create simulation files but it has given that the generation of the solver input files failed. I do not understand where is my problem...I have attached an image for kind information.
Thanks in advanced
Sajeda
I want to simulate 1D blood flow simulation in a right coronary artery model. The model has one inlet and one outlet. I tried several times to create simulation files but it has given that the generation of the solver input files failed. I do not understand where is my problem...I have attached an image for kind information.
Thanks in advanced
Sajeda
- Attachments
-
- generation 1D solver failed.JPG (44.21 KiB) Viewed 622 times
- David Parker
- Posts: 1716
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Aortic inflow waveform
Hi Sajeda,
If you click on the Show Details button there will be some information about why the solver input file could not be generated. Post the information here so I can have a look.
You could also post a zip file of the contents of the project's Simulations1d directory so I can have a look at the centerlines.vtp file.
Cheers,
Dave
If you click on the Show Details button there will be some information about why the solver input file could not be generated. Post the information here so I can have a look.
You could also post a zip file of the contents of the project's Simulations1d directory so I can have a look at the centerlines.vtp file.
Cheers,
Dave
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Re: Aortic inflow waveform
Thank you very much David for your rapid reply.
I have attached the problem in a text file herewith. Please check the file on your convenient time...
Thanks in advanced.
Cheers,
Sajeda
I have attached the problem in a text file herewith. Please check the file on your convenient time...
Thanks in advanced.
Cheers,
Sajeda
- Attachments
-
- the generation of input file failed.txt
- (23.09 KiB) Downloaded 12 times
- David Parker
- Posts: 1716
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Aortic inflow waveform
Hi Sajeda,
If you look at the text file you posted you'll see the messages
This means just what it says: the format of the inflow file 'D:/CTA ImageData Analysis/CT dicom Data/SE 194 Steady/SE 194 - normal/RMA-flow1KB//RCAoneDsim/pressureProfileHyper.txt' is in the wrong format, instead of spaces or commas it has tabs (\t) separating value pairs. Replace the tabs with commas in the file.
I suppose I should add tabs as a valid separator for this file, users on Windows seem to be producing files with tabs.
Cheers,
Dave
If you look at the text file you posted you'll see the messages
Code: Select all
[generate-1d-mesh] INFO - Read inflow BC ...
[generate-1d-mesh] ERROR - The inflow file is in the wrong format, expecting space- or comma-separated value pairs.
[generate-1d-mesh] ERROR - could not convert string to float: '0.001372213\t99.99971412'
I suppose I should add tabs as a valid separator for this file, users on Windows seem to be producing files with tabs.
Cheers,
Dave
- Sajeda Akter
- Posts: 44
- Joined: Sun Feb 11, 2018 3:06 am
Re: Aortic inflow waveform
Dear David,
Thank you very much. Now the profiles work fine.
I have another problem that the one dimension simulation job finished. But convert results panel does not work properly i.e. there are no data and segment parts and convert button inactive.
I have attached an image for your kind information.
Thank you in advanced and I look forward hearing from you.
Cheers,
Sajeda
Thank you very much. Now the profiles work fine.
I have another problem that the one dimension simulation job finished. But convert results panel does not work properly i.e. there are no data and segment parts and convert button inactive.
I have attached an image for your kind information.
Thank you in advanced and I look forward hearing from you.
Cheers,
Sajeda
- Attachments
-
- convert results.JPG (53.36 KiB) Viewed 583 times