|
[Sponsors] |
October 19, 2013, 08:55 |
paraview streamline length
|
#1 |
New Member
Alessandro Ciani
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
Hi,
does anybody know how to compute the length of a streamline in paraview?I need to compute tortuosity. Thank you in advance. |
|
October 19, 2013, 12:58 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Alessandro and welcome to the forum!If you only have a single streamline and you want to calculate the total length, then:
Bruno
__________________
|
|
October 24, 2013, 11:37 |
|
#3 |
New Member
Alessandro Ciani
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
Thanks a bunch Bruno! Finally I've succeded to compute tortuosity strting directly from the velocity field, without the aid of paraview. Anyway it will be useful in future!
Best regards Alessandro |
|
February 25, 2016, 21:19 |
|
#4 | ||
New Member
Join Date: Feb 2016
Posts: 8
Rep Power: 10 |
Quote:
Could you tell me how to calculate tortuosity by paraview step by step? I only know how to draw the streamlines. Thank you! Best, Rosa Quote:
If I got a bunch of streamlines, how to get the length of each one? Best regards, Rosa Last edited by wyldckat; March 6, 2016 at 10:57. Reason: merged posts that were a few minutes apart |
|||
March 28, 2016, 17:06 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Rosa,
Quote:
The quickest solution I could figure out will only allow the calculation of each individual line length within ParaView:
As for doing this automatically for all lines, you will have to export the data from the streamtracer (menu File -> Save Data) to a CSV file and do the calculations with some other application, such as LibreOffice Calc. Best regards, Bruno
__________________
|
||
March 29, 2016, 22:39 |
|
#6 | |
New Member
Join Date: Feb 2016
Posts: 8
Rep Power: 10 |
Quote:
Thank you Bruno ^_^ |
||
April 2, 2016, 19:34 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
April 29, 2016, 12:13 |
Streamline Length
|
#8 |
New Member
Zango
Join Date: Apr 2016
Posts: 3
Rep Power: 10 |
Hello Bruno,
I found this discussion about streamline length. However, I do not manage to get it. Here is my problem. I imported a .vtk file of a streamline from star ccm+. I applied the Integrate Variables Filter to it. On the spreadsheet you mentionned, I changed the option "Attribute" to "Cell Data". Yet, I do not have the "Length" Column. Do you know the reason ? Than you in advance Best regards, Zango Ps : pdf files are actually screenshots of paraview |
|
May 1, 2016, 20:00 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: Can you share an example VTK file with which this can be reproduced?
Because the problem seems to be that you applied the "Integrate Variables" filter to something that is not a polygonal line and is instead a mesh. Perhaps you exported a tube-shaped streamline? |
|
May 2, 2016, 04:31 |
|
#10 |
New Member
Zango
Join Date: Apr 2016
Posts: 3
Rep Power: 10 |
Thank you for your quick answer.
I enclosed the vtk file for which I wanted to apply the "Integrate Variables" filter to. I do not know whether it is a tube shaped streamline or a polygonal line. |
|
May 8, 2016, 16:49 |
|
#11 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
You will need to change the way you created the streamlines. If you cannot, then I'm not even sure how we can extract only one of the long edges of the surface... |
||
May 10, 2016, 05:40 |
|
#12 |
New Member
Zango
Join Date: Apr 2016
Posts: 3
Rep Power: 10 |
Ok thank you for your answer
|
|
February 27, 2020, 06:43 |
|
#13 |
New Member
rasoul
Join Date: Mar 2015
Posts: 24
Rep Power: 11 |
Hi Foamers,
Choose in "Threshold" to use the scalar "SeedIds" and the values minimum and maximum, for example between 1 to 10 to calculate total length of these 10 streamlines and then divide those by the straight lines (10*L) to measure tortuosity of your domain. Rasoul |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Length of streamline in CFD post | NewToAnsys | CFX | 3 | May 8, 2019 09:16 |
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 | snak | ParaView | 0 | October 17, 2016 11:22 |
[General] Paraview Binary and OSPray plugin | Prapanchnair | ParaView | 0 | May 27, 2016 07:26 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
[OpenFOAM] points over streamline in paraView | cedric_duprat | ParaView | 0 | January 12, 2010 04:04 |