I want to extract the data from the boundary surface of a cylinder (in a .vtu
file) and plot it onto a plane, where the coordinates are theta (rotation angle) and Z(height) of the cylinder. I know that this could be done in many ways, but i am looking for a simple clean solution, using Paraview, python or both (i.e. a python macro in paraview)
I tried using the
ExtractSurface
option to export the outer points with their data, but for some reason, some "volume" points (i mean points not on the domain boundary) are also exportedI wrote a Python script using the
VTK
package to parse my input data file,then grab the cartesian coordinates, transform it to polar coordinates and finally take the boundary points using a condition on the radius. Although this works, it is not flawless because boundary points are not positioned "exactly" on the maximum radius but rather within an radius interval (diffuse interface)
Is there any way to use paraview filters to get the job done ? I also checked the Programmable filter
option, tried some tutorial examples, but I find it complicated somehow.
Any suggestions or ideas ?