|
[Sponsors] |
January 29, 2020, 06:22 |
Plot over curved lines
|
#1 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8 |
Hi All,
I need to extract the temperature profile along nozzle walls (attached image). There is the filter "plot over a line" to my knowledge but it plots only over a straight line, while I need to plot over a curved line. Any suggestions? Thanks in advance. Tommy |
|
February 3, 2020, 15:25 |
|
#2 |
Member
Join Date: Nov 2015
Posts: 38
Rep Power: 11 |
1. Create a .csv file of the XYZ points that defines the curve
2. Import .csv file into Paraview 3. Apply Filter "Table to Points" to the .csv file 4. Create a polyline of the points (got this from another post awhile back but I don't have link to it): Apply Filter "Programmable Filter". Code:
output.Points = inputs[0].Points numPoints = len(output.Points) pointIds = vtk.vtkIdList() pointIds.SetNumberOfIds(numPoints) for i in range(numPoints): pointIds.SetId(i, i) output.Allocate(1, 1) output.InsertNextCell(vtk.VTK_POLY_LINE, pointIds) There may be a more streamlined approach to this workflow but this has worked for me. |
|
February 4, 2020, 14:30 |
|
#3 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 8 |
Hi,
Thanks for your help. It works! I have just founded another way that seems to be more simple. I import in Paraview only the "wall" patch and then I use the filter "Plot over intersections" putting the plane to intersect the patch. Anyway your method can be applied to a generic polyline and it can be used for example to extract the velocity profile around a turbomachine. Thanks again, Tommy |
|
December 23, 2020, 15:45 |
|
#4 |
New Member
Lila
Join Date: Nov 2019
Posts: 7
Rep Power: 7 |
Hello,
I tried this method but I don't know how to get data over the spline created. Any help please? Thanks Lili |
|
September 16, 2021, 16:46 |
|
#5 | |
New Member
M.H
Join Date: Dec 2013
Posts: 11
Rep Power: 13 |
Quote:
Once you created your slice over poly line, just use the filter "plot on intersection curves" to plot the data. You can export the data using file>save data. |
||
September 25, 2021, 17:52 |
|
#6 | ||
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 |
Quote:
Quote:
|
|||
March 12, 2022, 18:30 |
Help !
|
#7 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Hey,
I am also trying to plot on curved blades, the problem is there are 6 blades in an impeller and I dont know how to get plots for each of the blades and also to be able to differentiate between the left intersection and right intersection sides of the plane with the wall. I imported the blades VTK and used plot on intersection. However all I get is only one plot and not sure how to make different plots for each blade and each side of the 3D blade respectively. Here is a photo of what I was able to do till now. Thanks! |
|
March 13, 2022, 17:55 |
|
#8 |
Member
Join Date: Nov 2015
Posts: 38
Rep Power: 11 |
I'd suggest using what you have and then applying Clip filters (probably will take multiple) to isolate the area of interest.
|
|
March 17, 2022, 21:03 |
|
#9 | |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Quote:
I have actually used the vtk file and used extractSurfaces, Connectivity (to closest), Slice and plot Data. It worked Any idea how I could plot it along arc length of the blade? right now, its just pointId or index. Thanks! |
||
April 7, 2022, 14:41 |
|
#10 |
New Member
Mihir
Join Date: Dec 2021
Posts: 2
Rep Power: 0 |
1. Create a list of x,y,z points of the polyline in excel sheet.
2. In paraview go to filters -->Poly Line Source 3. You will get options to add your co-ordinates, Increase the number of coordinates till you want for your polyline and then directly copy paste the coordinates, then click on apply. 4. Go to filter --> Slice along polyline, then for database select your geometry and for polyline select PolyLineSource and then apply. 5. Finally select filter --> plot on Intersection Curve, If your geometry is in x-y plane, select z normal for the new Plane and then click on Apply. |
|
April 7, 2022, 17:36 |
|
#11 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
actually i just used append to arc length and it worked.
|
|
April 6, 2023, 04:32 |
problem of slice orientation
|
#12 |
New Member
Join Date: Apr 2023
Posts: 11
Rep Power: 3 |
hello,
i m trying to do a slice along polyline on a heicoidale pipe, but i have a problem with the orientation of my plan (see picture). i would like to have a plan with z normal.. is this possible with this filter ? or i have to change my method ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
plot Cp over curved line in bend wall using fluent or cfd post | hesham | Visualization & Post-Processing | 1 | September 7, 2022 09:07 |
generating 2d-planar contour plots from a contour plot on a curved surface | alinik | CFX | 3 | May 21, 2016 07:17 |
plot pressure profile along curved pipe | Amar Kad | CFX | 1 | March 20, 2016 19:46 |
How to plot contour lines in Tecplot 360 using Excel file | Iqbal | Tecplot | 1 | May 30, 2012 20:22 |
plot vectors perpendicular to curved surface | azmir | Siemens | 3 | October 19, 2004 02:48 |