There has to be a way to visualize the surface Mach plot or Cp plot from a 2D simulation. I cannot figure out the feature set where I can either extract the data from a polyline or the feature to look at the surface profile on the wing. Attached is the vtk file for our perusal.
Hi, thank you so much. This does solve the issue and I am able to visualize the plots. If I could seek your attention again, I would love to understand -
What are the triangle-strips filter and clean filter doing?
The pvsm file that you mailed out would run into Errors on opening. Also, from my personal experience, I have noticed that if I rename the folder/file I run into similar issues. How does one use the save state feature and still be able to move the file around successfully?
What does save data as a pvd file do? Is this a better format to save the information and the plots in the Paraview format?
Thanks a lot. That does make ParaView more approachable for me.
Also, if I may pick your brain at this juncture, is there a way I can extract data of a polyline? The polyline itself being offset by 1cm or even 1 cell distance of the Boundary edge line data we are looking at here.
All filters included in the State file are required. The process performed in the State file is as follows:
Extraction of airfoil shapes (FeatureEdges1, Connectivity1)
To calculate the signed distance from the airfoil to each node in the analysis domain, extrude the airfoil in the z direction to create a 2D surface of the airfoil and calculate the normal vectors on the surface (LinearExtrusion1, GenerateSurfaceNormals1)
Calculate the signed distance: in the Pipeline Browser, select GenerateSurfaceNormals1, LinearExtrusion1 by holding down the Crtl key in that order, and then launch the Programmable Filter ( ProgrammableFilter1)
Extraction of offset line (Contour1)
Plot values on the offset line (TriangleStrip1, Clean1, PlotData)
I am using it on my 3d blade vtk file, it is somehow not working, maybe something needs to be adjusted since yours is I believe 2D?
To briefly explain what I am trying to do… I have two-phase simulation of a a centrifugal pump, an impeller with blades, and i want to find the gas volume fraction at an offset of say x cm each of the blades. So I want to slice the blades and offset it. And I am not sure how to edit your pvsm to make it work for my case.
Ok, so here is the file i created with a Slice filter, and here are the VTK files. I am not sure which one will work, since i tried the the blades and also the main VTK file and nothing is being plotted. Isosurfaces array in the Contour filter is somehow empty in my case.
Can you please advise? I would really like to plot the gas volume fraction an offset around my blades… (in the blade passages)
**** Is there another way to do it? maybe with a polyline? I have tried slicing along a polyline that but ended up failing… Maybe I will open a thread with it.
Attached are the needed state and VTK files. I am not sure which VTK is needed btw, maybe you can advise?
PlotOnSortedLines1 and ExtractSelection1 in the State file：
The Plot On Sorted Lines filter is useful because it automatically sorts the point sequence on the offset line (Countour1). Please note that if you change the amount of offsetting, you will need to re-select the IDs of the points for the target blade in PlotOnSortedLines1 using the Find Data tool and extract them again using the Extract Selection filter.
** What I would like to do is not really an offset, but rather take a polyline with exactly between two blades and plot against it. But I came across this thread and thought it might be an option, is there an easier way to do it? Since having an offset gives me two lines in the middle of the passages. Here is the thread i opened about it: