CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Too short streamlines in Paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2014, 09:39
Default Too short streamlines in Paraview
  #1
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hello,

I would like to create streamlines from results exported from STARCCM+ (polyhedral mesh) using the Ensight Gold format.

Here is a part of this data after the use of an ExtractCellsByRegion filter and exported in VTK format:

http://www.share-large-files.com/upl...mline_test.zip

The problem is that streamlines are very short (Paraview 4.1.0, 3.98.0 and 3.14.1 on Linux).

In STARCCM+, they are normal.

Any help would be appreciated.

Best regards,

William
Attached Images
File Type: jpg streamline_test.jpg (18.2 KB, 279 views)
taalf is offline   Reply With Quote

Old   July 29, 2014, 03:42
Default
  #2
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 13
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
Hi William,

Have you tried changing the integrator type in the StreamTracer filter? Check what integrator node is used for creating the streamlines in StarCCM+.

Tip: Once you add the streamlines, you can add the Tube filter in ParaView to view the streamlines much clearly. Streamlines are 1D lines whereas tubes are 2D surfaces around the streamlines. You have a similar option in StarCCM+ as well.

Hope this helps !

Best,
Rahul
rrr311 is offline   Reply With Quote

Old   July 29, 2014, 04:17
Default
  #3
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Quote:
Originally Posted by rrr311 View Post
Hi William,

Have you tried changing the integrator type in the StreamTracer filter? Check what integrator node is used for creating the streamlines in StarCCM+.

Tip: Once you add the streamlines, you can add the Tube filter in ParaView to view the streamlines much clearly. Streamlines are 1D lines whereas tubes are 2D surfaces around the streamlines. You have a similar option in StarCCM+ as well.

Hope this helps !

Best,
Rahul
Hello Rahul Thank you for the tubes

Unfortunately, I tried to change everything in the filter properties. It changes always a bit the result, but streamlines are always very shorter than they should.

Thank you anyway for your time and interest.

Best regards,

William
taalf is offline   Reply With Quote

Old   July 29, 2014, 05:24
Default
  #4
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 13
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
William,

I'm sorry I couldn't help but I'm sure someone will come up with a reason/solution for your problem. Good luck !

Best,
Rahul
rrr311 is offline   Reply With Quote

Old   July 29, 2014, 08:45
Default
  #5
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Okay, here is the solution.

As I though, the problem came from the polyhedral nature of the mesh.

The use of the Tetrahedralize filter allowed to convert it into a tetra mesh, on which the Stream Tracer filter works perfectly.



Best regards,

William
JR22 and peppino like this.
taalf is offline   Reply With Quote

Old   July 29, 2014, 11:37
Default
  #6
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 13
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
William,

Yeah I tried this and it worked. Sweet

Btw did you notice the number of cells increase from 15k to 926k. I believe we might have to extract a particular region and then apply tetrahedralize for complex data.

Best,
Rahul
rrr311 is offline   Reply With Quote

Old   July 29, 2014, 16:20
Default
  #7
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Quote:
Originally Posted by rrr311 View Post
William,

Yeah I tried this and it worked. Sweet

Btw did you notice the number of cells increase from 15k to 926k. I believe we might have to extract a particular region and then apply tetrahedralize for complex data.

Best,
Rahul
You're totally right, dear Rahul

Have a nice... day/night/evening

Best regards,

William
taalf is offline   Reply With Quote

Old   November 12, 2015, 00:33
Default
  #8
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Dear all,

I want to visualize stream lines in Paraview but they are too short. I have tried Tehraherdalize filter as well but they are still short. Actually I think the filter did not work. Anybody has any idea about this problem?

Thanks,
Elham
Elham is offline   Reply With Quote

Old   November 16, 2015, 08:16
Default
  #9
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13
Flowkersma is on a distinguished road
Hi Elham,

Could you be more specific? Could you provide a sample of your data or a figure of your problem? Does your mesh consist of polyhedral cells? Have you tried different settings in the Stream Tracer filter?

Regards,
Mikko
Flowkersma is offline   Reply With Quote

Old   November 18, 2015, 22:15
Default
  #10
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
[QUOTE=Flowkersma;573512]

Hi Flowkersma,

Sorry for late reply. My case was in 3D and I firstly created a slice then tried to view the streamlines which caused the short streamlines. Then I tried to view streamlines in 3D which was ok. I still wondering if I could visualize streamlines of a 3D model in a 2D plane?
I also tried to create U_XY=UXi+UYj but I couldn't get what I really wanted.

Thanks,
Elham
Elham is offline   Reply With Quote

Old   February 25, 2016, 04:37
Default
  #11
New Member
 
Join Date: Feb 2016
Posts: 8
Rep Power: 10
Rosa Zhou is on a distinguished road
Quote:
Originally Posted by Elham View Post
Dear all,

I want to visualize stream lines in Paraview but they are too short. I have tried Tehraherdalize filter as well but they are still short. Actually I think the filter did not work. Anybody has any idea about this problem?

Thanks,
Elham
Hi Elham
Did you figure the too short stuff out? I want a 3D streamline as well, but they are too short. It's a porous media with a area source for seeds. Thank you in advance!

Rosa
Rosa Zhou is offline   Reply With Quote

Old   February 25, 2016, 04:40
Default
  #12
New Member
 
Join Date: Feb 2016
Posts: 8
Rep Power: 10
Rosa Zhou is on a distinguished road
Quote:
Originally Posted by taalf View Post
Okay, here is the solution.

As I though, the problem came from the polyhedral nature of the mesh.

The use of the Tetrahedralize filter allowed to convert it into a tetra mesh, on which the Stream Tracer filter works perfectly.



Best regards,

William
Hello William,

Could you post the screenshot of Tetrahedralize filter treatment? Tetrahedralize filter seems doing nothing on my simulation result

Thanks,
Rosa
Rosa Zhou is offline   Reply With Quote

Old   February 25, 2016, 05:02
Default
  #13
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi all,

I have not followed this thread for a long time. Now I see that the Elham's problem was maybe that she was trying to generate streamlines on a cut surface.

The problem is that, if the flow has a components being not tangent to the surface, streamlines go outside of it and then disappear.

I personally don't know how to force streamlines to stay confined into a cut surface...
Elham likes this.
taalf is offline   Reply With Quote

Old   February 25, 2016, 05:23
Default
  #14
New Member
 
Join Date: Feb 2016
Posts: 8
Rep Power: 10
Rosa Zhou is on a distinguished road
Quote:
Originally Posted by taalf View Post
Hi all,

I have not followed this thread for a long time. Now I see that the Elham's problem was maybe that she was trying to generate streamlines on a cut surface.

The problem is that, if the flow has a components being not tangent to the surface, streamlines go outside of it and then disappear.

I personally don't know how to force streamlines to stay confined into a cut surface...
William
It's nice that you come back. My case is to draw the streamlines in a cube. However, after I set a plane (inlet) as the seed source, the streamline couldn't run through the computational domain. I've tried the Tetrahedralize which you told us, but it seem doing nothing. could you give me a hand?

Thank you!
Rosa

Rosa Zhou is offline   Reply With Quote

Old   February 25, 2016, 05:36
Default
  #15
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Quote:
Originally Posted by Rosa Zhou View Post
William
It's nice that you come back. My case is to draw the streamlines in a cube. However, after I set a plane (inlet) as the seed source, the streamline couldn't run through the computational domain. I've tried the Tetrahedralize which you told us, but it seem doing nothing. could you give me a hand?

Thank you!
Rosa
Hello,

I followed your link but there is no picture visible (unless you give a login and password, maybe).*

The Tetrahedralize filter was needed for me only because I had polyhedrons. If your mesh has only conventional cells (tetra, hexa, pyramids, prisms,etc.) I think this filter cannot help and that the problem is somewhere else...

Since you could specify a custom source, I guess you used the Stream Tracer With Custom Source Filter, right? What if you try the Stream Tracer instead?

Best regards,

William

* -- EDIT -- Now I see it
taalf is offline   Reply With Quote

Old   February 25, 2016, 05:41
Default
  #16
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
It seems not so bad.

Maybe you can play with parameters of the filter to increase the length of streamlines:

Maximum Step Length,
Maximum Steps,
Maximum Streamline Length,
...

Hope this helps,

Best regards,

William
taalf is offline   Reply With Quote

Old   February 25, 2016, 06:25
Default
  #17
New Member
 
Join Date: Feb 2016
Posts: 8
Rep Power: 10
Rosa Zhou is on a distinguished road
Quote:
Originally Posted by taalf View Post
It seems not so bad.

Maybe you can play with parameters of the filter to increase the length of streamlines:

Maximum Step Length,
Maximum Steps,
Maximum Streamline Length,
...

Hope this helps,

Best regards,

William
Thank you, William
How to fix the parameters like Maximum Step Length, Maximum Steps, Maximum Streamline Length... in Stream Tracer With Custom Source Filter?
Because the StreamTracer could only set point source and line source, so I need the Stream Tracer With Custom Source Filter.

Best,
Rosa
Rosa Zhou is offline   Reply With Quote

Old   February 25, 2016, 06:36
Default
  #18
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Quote:
Originally Posted by Rosa Zhou View Post
Thank you, William
How to fix the parameters like Maximum Step Length, Maximum Steps, Maximum Streamline Length... in Stream Tracer With Custom Source Filter?
Because the StreamTracer could only set point source and line source, so I need the Stream Tracer With Custom Source Filter.

Best,
Rosa
Hello,

For me, both filters offer similar options (in the "Properties" tab, visible at the left of your screenshot, beside "Information").

I am using Paraview 4.3.1.

Hope this helps...

Best regards,

William
taalf is offline   Reply With Quote

Old   February 25, 2016, 07:09
Default
  #19
New Member
 
Join Date: Feb 2016
Posts: 8
Rep Power: 10
Rosa Zhou is on a distinguished road
Quote:
Originally Posted by taalf View Post
Hello,

For me, both filters offer similar options (in the "Properties" tab, visible at the left of your screenshot, beside "Information").

I am using Paraview 4.3.1.

Hope this helps...

Best regards,

William
I haven't found it, where is it? I use Paraview 5.0.0
Rosa Zhou is offline   Reply With Quote

Old   February 25, 2016, 16:44
Default
  #20
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13
Flowkersma is on a distinguished road
Hi,

Enable the advanced settings from the filter (gear icon right to the search panel).

Regards,
Mikko
Flowkersma is offline   Reply With Quote

Reply

Tags
paraview, streamline


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] ParaView - limited Streamlines Kappa ParaView 7 July 5, 2019 15:27
[General] Generating streamlines in paraview ahirekar10 ParaView 0 November 1, 2017 08:01
streamlines too short JohnJohn8 OpenFOAM Post-Processing 1 November 28, 2016 17:31
[OpenFOAM] Streamlines through cyclic patches in Paraview kornickel ParaView 3 January 28, 2016 07:59
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 14:46.