# Prepare a coronary artery model for CFD simulation.

**URL:** https://discourse.slicer.org/t/prepare-a-coronary-artery-model-for-cfd-simulation/22370
**Category:** Support
**Created:** [March 8, 2022, 3:02pm UTC](https://discourse.slicer.org/t/prepare-a-coronary-artery-model-for-cfd-simulation/22370 "2022-03-08T15:02:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Chengxi\_Li](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@Chengxi\_Li](https://discourse.slicer.org/u/Chengxi_Li)
#### Post date: [March 8, 2022, 3:02pm UTC](https://discourse.slicer.org/t/prepare-a-coronary-artery-model-for-cfd-simulation/22370/1 "2022-03-08T15:02:58Z")

</div>

Hi There,

I am trying to prepare a coronary model for CFD simulation which requires to cut the branches of coronary artery nicely. **The aim is to get the model as shown below** :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/7/4758e9211114e5ad1ba6ccdbf757e62e241455b8.jpeg)

As you can seen every branches have been clipped. When i try to do achieve this function in VMTK i used command line in Pype as:

vmtksurfacereader -ifile C:/Users/31860/Desktop/ModelProcessing/3-7/CoronaryArtery.stl --pipe vmtkcenterlines --pipe vmtkendpointextractor --pipe vmtkbranchclipper -ifile C:/Users/31860/Desktop/ModelProcessing/3-7/CoronaryArtery.stl --pipe vmtksurfaceconnectivity -cleanoutput 1 --pipe vmtksurfacewriter --pipe vmtksurfacecapper -ofile C:/Users/31860/Desktop/ModelProcessing/3-7/CoronaryArtery\_capped.vtp -interactive 0

I have selected source and target as shown below:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/c/7c2fe85aaf06af5709c5750bd88d92b9b1faeb9a.jpeg)

**The actural result is shown below:**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/a/5a8e81d17f7cd0e5f7d63831c4ade6c576cf7749.jpeg)

As you can see, the coronary branches are good but the aortic root is not cut correctly. Let me know how can i imporve. Many thanks!

For any one who wanna have a try at the model, please find link attrached.  
[CoronaryArtery.stl](https://liveuclac-my.sharepoint.com/:u:/g/personal/ucemmly_ucl_ac_uk/EXZ8d20_3XhGhzLq-n3tjlgBxbwyL8i_vCaoVAJ3HgfH5w?e=wMneJi)

Cheers,  
Chengxi

Operating system:Windows  
Slicer version:Slicer 4.11.20210226  
Expected behavior:Mentioned above  
Actual behavior:Mentioned above
