# Vmtkflowextensions

**URL:** https://discourse.slicer.org/t/vmtkflowextensions/19656
**Category:** VMTK
**Created:** [September 14, 2021, 6:20am UTC](https://discourse.slicer.org/t/vmtkflowextensions/19656 "2021-09-14T06:20:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ames](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ames/32/8989_2.png) [@ames](https://discourse.slicer.org/u/ames)
#### Post date: [September 14, 2021, 6:20am UTC](https://discourse.slicer.org/t/vmtkflowextensions/19656/1 "2021-09-14T06:20:37Z")

</div>

I am using vmtkflowextensions to add short flow extensions to the inlet and outlets of my 3D model. In the attached screencapture it can be seen that the flow extension does not fit nicely to the domain.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/9/b96cdf0124e320391ec912d3aa7fa7a2e8d5864e.png)

vmtksurfacereader -ifile inputfile --pipe vmtkcenterlines -seedselector openprofiles --pipe vmtkflowextensions -extensionratio 2 -normalestimationratio 1 -ofile ouptutfile

I am using the above line of code. Where does the problem with the flow extension come from?

---

<div class="post-metadata">

### Author: ![kayarre](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kayarre/32/3606_2.png) [@kayarre](https://discourse.slicer.org/u/kayarre)
#### Post date: [November 4, 2021, 9:10pm UTC](https://discourse.slicer.org/t/vmtkflowextensions/19656/2 "2021-11-04T21:10:04Z")

</div>

What does the outlet look like before you add the flow extensions?

check the surface normal direction, and the radius value its calculating.

I believe there is also a flag that tapers the extension.
