# Difficulty with Stream Lines Representation plugin

**URL:** https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485
**Category:** ParaView Support
**Created:** [February 2, 2020, 4:31pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485 "2020-02-02T16:31:40Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 2, 2020, 4:31pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/1 "2020-02-02T16:31:40Z")

</div>

Hi All -

I am trying to apply the streamlines representation plugin to streamlines and having some trouble getting the animation applied to the data within the case.

[![Google Photos](https://discourse.paraview.org/uploads/default/original/2X/c/c3d762f4697808dd24b1f69bc2006b773713401d.png "New photo by Nick Raffel") ](https://photos.google.com/share/AF1QipMwkO4YAZSooM2pjKOsQEXDX5fpR6UUsvkufmKPVhGT8eBshhjZDXGwhDcoDGIY1g?key=ZVA5ZmJlU1kyLXFtdUdtcEYxOGpsZVdxdC1RSlp3)

Please let me know if I can provide additional settings.

Thanks,

Nick

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [February 2, 2020, 9:26pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/2 "2020-02-02T21:26:12Z")

</div>

Nick, welcome to the ParaView community.

I’m not sure I understand the problem you are seeing. Could you say what you expect to see?

Thanks,  
Cory

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 2:44am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/3 "2020-02-03T02:44:10Z")

</div>

Hey Cory, thanks for the welcome. I am hoping to animate the streamlines within the simulation (in the image, the blue particle particle streams in the room). Does this make more sense?

---

<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: [February 3, 2020, 2:51am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/4 "2020-02-03T02:51:48Z")

</div>

You have three possibilities here :

1. With streamlines filter, since this filter is not really adapted to animation, you can only use a simple work around to animate the streamlines. See here : [https://www.paraview.org/Wiki/Advanced\_Tips\_and\_Tricks#Animating\_a\_static\_vector\_field](https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field)

2. You can use the “Streamlines representation” plugin very easily. See here :  
[https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/](https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/)

3. You could use the more complex workflow of using the particle tracer, but it requires your data to have timesteps within, it does not seems to be the case.

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 10:16am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/5 "2020-02-03T10:16:09Z")

</div>

Hey Mathieu, I am trying to use the steam lines animation plugin (option #2 in your advice) but am having trouble applying the animated lines to the actual streamlines in the simulation. Instead (as in the image posted) they float outside of the model. Does this make sense?

---

<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: [February 3, 2020, 10:23am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/6 "2020-02-03T10:23:28Z")

</div>

You are not supposed to apply the animated lines to the streamlines in the simulation.

Please add a screenshot.

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 3:11pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/7 "2020-02-03T15:11:00Z")

</div>

![Screen Shot 2020-02-03 at 9.05.33 AM](https://discourse.paraview.org/uploads/default/original/2X/9/97b47084903a8bb0d401c15805b6d0a2f3213c18.png)

This is the model, the model is a room and the blue lines are particle streams representing airflow through the HVAC and into the interior space. It is a sealed room so the airflow recirculates indefinitely. I am trying to represent this closed loop of airflow. There are different time steps but I am more interested in trying to animate this single state- to give motion to these particle streams in hope they will show how the air looping through the system.

---

<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: [February 3, 2020, 3:13pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/8 "2020-02-03T15:13:17Z")

</div>

- Load the Streamlines representation plugin
- Hide the streamtracer output.
- Click on the foam reader
- Open a new view
- Show the foam reader in the new view
- Switch to “Streamlines Representation”

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 3:28pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/9 "2020-02-03T15:28:24Z")

</div>

When you say “open a new view” is that a new “layout” tab?

---

<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: [February 3, 2020, 3:29pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/10 "2020-02-03T15:29:30Z")

</div>

That works.

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 3:30pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/11 "2020-02-03T15:30:45Z")

</div>

And where am I able to switch to streamlines representation?

---

<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: [February 3, 2020, 3:38pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/12 "2020-02-03T15:38:22Z")

</div>

![Peek 2020-02-03 17-13](https://discourse.paraview.org/uploads/default/original/2X/6/6e294a534951ee0bc32bd1f6494c17d2541f5fbe.gif)

---

<div class="post-metadata">

### Author: ![Nick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/f9ae1b/32.png) [@Nick](https://discourse.paraview.org/u/Nick)
#### Post date: [February 3, 2020, 4:09pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/13 "2020-02-03T16:09:04Z")

</div>

Thanks, got it. The way I am able to configure the settings so far, the particle traces generate from their source, trace their path and then dissapear. To show the perpetual looping of the whole system is there a way to show motion within a fixed moment in time? IE in the earlier screen shot, apply an animation to the blue streamlines so that have dashes that move along their paths in the direction of their flow? Does this make sense?

---

<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: [February 4, 2020, 4:18am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/14 "2020-02-04T04:18:17Z")

</div>

That would be solution 1.

---

<div class="post-metadata">

### Author: ![Alphaoo1](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alphaoo1/32/5736_2.png) [@Alphaoo1](https://discourse.paraview.org/u/Alphaoo1)
#### Post date: [January 21, 2021, 11:44am UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/15 "2021-01-21T11:44:11Z")

</div>

Hello ParaView community,

My first post on the ParaView discourse group.

The answers so far from @mwestphal are very helpful.  
I was able to make it run for the `simpleFoam` Motorcycle tutorial case.  
It behaves perfectly and as expected.

I tried using the same filter for an `interFoam` case (multiphase), but the streamlines are all over the place and make no sense. (It is a water jet inside a nozzle surrounded by air).

They do work though. (Which I had issues for a while).

What might the issue here?  
Does it only work for data that is usually available from single phase solvers?  
or is it something else entirely.

Thank you. 🙂

---

<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: [January 21, 2021, 12:13pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/16 "2021-01-21T12:13:34Z")

</div>

Please open your own topic.

---

<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: [January 21, 2021, 12:13pm UTC](https://discourse.paraview.org/t/difficulty-with-stream-lines-representation-plugin/3485/17 "2021-01-21T12:13:37Z")

</div>


