# Stream Lines too short / Tetrahedralize doesnt seem to work

**URL:** https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172
**Category:** ParaView Support
**Created:** [May 7, 2021, 3:07pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172 "2021-05-07T15:07:16Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 7, 2021, 3:07pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/1 "2021-05-07T15:07:16Z")

</div>

Hi there, I’m trying to produce some magnetic field lines, similar to the ones on this picture:

![lines_wanted](https://discourse.paraview.org/uploads/default/original/2X/c/cb718c30bbc4ab6957b11bdfce249c3a3b8939dd.png)

Obviously I cant really achieve such a wholesome picture:P but for starters I want to achieve the same lenght on magnetic lines, and I think I have the same kind of data (Basically the same simulation code: bhac).

Now, here is the list of Filters. (Ignore the Clip 1, its deactivated whatesoever). I show what I properties added to stream\_tracer. But as you can see the lines are “cut” in short way.

I have seen somewhere that Adding Tetrahedralize filter fixes the problem, but If I add it, it crushes.

 ![magn_lines](https://discourse.paraview.org/uploads/default/original/2X/7/76e8ccf6466c3a8c3f44a1ab51794364e4f684fe.png)

Even if I add it “manually” on python script, and run it on server. I still get some kind of bad results, although im not completely sure if the steamline is cut or going “downside” of the disk.

 ![301](https://discourse.paraview.org/uploads/default/original/2X/e/e7d978060bfa64a35fa85426fbd33f990bf4129f.jpeg)

Maybe you have some kind of tip to achieve streamlines like the 1st picture?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 10, 2021, 7:27am UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/2 "2021-05-10T07:27:23Z")

</div>

Can you share your .vtu file ?

---

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 10, 2021, 9:54am UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/3 "2021-05-10T09:54:05Z")

</div>

Is there a platform to upload the file? You guys use any certain website? (because its large enough, so It will take take, not to choose the wrong upload platform)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 10, 2021, 9:57am UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/4 "2021-05-10T09:57:43Z")

</div>

You can use wetransfer

---

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 10, 2021, 6:07pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/5 "2021-05-10T18:07:09Z")

</div>

Sorry for the delay. I uploaded a shortcut (0.8 GB) cuz the original is \>2 GB.

Thank you for your time in advance!

> **[190.vtu](https://wetransfer.com/downloads/b67475c54777090c418566335bf8c29420210510175516/b75cea)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 12, 2021, 2:27pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/6 "2021-05-12T14:27:25Z")

</div>

Have I done something wrong with the upload?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 12, 2021, 3:52pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/7 "2021-05-12T15:52:47Z")

</div>

Your dataset has many topological issues has you can see here:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/0/0ea63161cec54f9df01158317062f44082829f57.jpeg)

You can fix some of them using CleanToGrid filter, but you should fix your mesh generation.

---

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 12, 2021, 4:16pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/8 "2021-05-12T16:16:19Z")

</div>

Whats the problem with that? I will try that filter btw

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 14, 2021, 8:18am UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/9 "2021-05-14T08:18:38Z")

</div>

Basically, your cells are not considered to be neighbour as they do not have points in common.

---

<div class="post-metadata">

### Author: ![coreman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@coreman](https://discourse.paraview.org/u/coreman)
#### Post date: [May 14, 2021, 3:13pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/10 "2021-05-14T15:13:23Z")

</div>

But I use Cell to Point Data filter before Tetra. Isnt that efficient?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 14, 2021, 3:27pm UTC](https://discourse.paraview.org/t/stream-lines-too-short-tetrahedralize-doesnt-seem-to-work/7172/11 "2021-05-14T15:27:17Z")

</div>

unrelated. your dataset has topological errors.
