|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Nov 2023
Posts: 11
Rep Power: 2 ![]() |
Hello all,
I've made a streamtube in paraview following the steps from this post: Stream tube visualization Is there a way to calculate the cross-sectional area of this streamtube as a function of x? Also, is there a way to extract data that is enclosed within the streamtube? Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
Cross-sectional area: not sure how to get that, but first I am interested what your tubes look like? I assume most people use a fixed radius thus have constant area at each position of the steamline?
Get data from "inside": most of the filters in ParaView have more than one representation. Usually to get to the data, you can just open a Spreadsheet View (instead of a new render view) and activate the tube filter from the tree and see if it shows you any data. If it does, it is probably the data "inside" the tubes. You can export that to csv for example. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Nov 2023
Posts: 11
Rep Power: 2 ![]() |
Thanks for the reply.
My streamtube doesn't have a constant radius as I have it placed near a spatially varying heat source. Before the heat source the cross sectional area is constant, but around the heat source the streamlines are deflected which changes the cross sectional area of the streamtube. Haven't been able to get the data from inside the streamtube, but thank you for your suggestion I will try that. I have tried to use the extract enclosed points filter but it returns points that lie outside of the streamtube. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
Can you show an image of that? Steam tubes are a way to show stream lines in a "thickened" way, I assume ParaView just thickens up the line perpendicular to the local longitudinal direction of the line, making it uniform in thickness at all points. It feels like we talk about different things.
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Nov 2023
Posts: 11
Rep Power: 2 ![]() |
Sorry about the confusion. I've attached 2 images of the streamtube
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
So we talk about different things all right. A stream tube is one of those "lines" there. You seem to be looking for the volume enclosed by the "virtual surface" formed by the streamlines?
First, no idea how to get that, second but more importantly: why do you need that? What is your goal? The enclosed volume you seem to be looking for depends on where you spawn your streamlines (seed points). I cannot think of a way to get meaningful output of what you are trying to do. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Join Date: Nov 2023
Posts: 11
Rep Power: 2 ![]() |
I'm a bit confused, I thought the lines were the streamlines and the streamlines form the streamtube. What I am trying to do is compare the results of my simulation to a quasi-1D flow model with heat addition that I am developing.
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
A stream tube in Paraview is just a streamline thickened by a certain amount to give it a 3d appearance.
What you think of as stream tube, no idea what to call it - the main flow space? A jet? Anway, the space that is contained by the stream lines in your image is arbitrary and depends on where these streamlines are seeded. I don't know what method you used to create the seed points? Are they on a line? |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Join Date: Nov 2023
Posts: 11
Rep Power: 2 ![]() |
I seeded the points on a circle by creating an ellipse source with a radius ratio of 1. I then used the mask points to filter to sample points on the circle, which I used as the seed input to the stream tracer with custom source filter.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
Yeah and if you change the settings of the seeding, you get another volume of what you call "stream tube" ... so I still do not understand why you need that volume. It has no physical meaning, for a given flow it just depends on where the seedpoints are located.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Streamtube pressure calculation vortex lattice | lWiNdY | Main CFD Forum | 0 | June 7, 2022 05:48 |
Relation between vorticity and turbulence intensity in streamtube contraction | Lmath | Main CFD Forum | 3 | October 2, 2020 05:19 |
Wind Turbine in CFD - Streamtube Size | Sonja S | Main CFD Forum | 0 | February 1, 2008 15:10 |