hi
thanks for your reply. I´m going to try this.
meanwhile i got a hint to use the calculator filter to add an radius column to each point an then use the contour filter for only showing data at a certain radius.
after i got that i flattened the "slice" with an caltulater doing something like this

here I export my result on a cyliner surface to a vtk file by "sample" utility. what I got is data in cell so I convert it to the point. so if you just load OF result directly, you just need to comment some of same

here I export my result on a cyliner surface to a vtk file by "sample" utility. what I got is data in cell so I convert it to the point. so if you just load OF result directly, you just need to comment some of same

Hi all,
first of all, i am a beginner in using paraview.
here at work i have to do some postprocessing for a motor flow simulation. Actually i have to test how to slice with a geometry. I have seen and also successfully tried to cylinder-slice the flow using the programmable filter as shown at the beginning of this thread.
Since the programmable filter can not handle complex geometries i am wondering if i can use a CAD-Geometry (the bend cylinder is an .stl geometry file) to slice with.

Unfortunatly it doesn't work out. I have tried in a Windows 7 system and in a Debian base computer. What happen is that when executing the paraview.simple import this messages appears: "<string>:1: SyntaxWarning: import * only allowed at module level" and the result of GetAnimationScene().TimeKeeper.Time is 0.0 . Before writing in this forum I tried another sentences that requieres this definition and this error always appears. If I don't write that sentece, if I only try to get the time an error appears informing that 'GetAnimationScene' is not defined.

On the other hand, I was thinking on define a variable in the python code so I can later modified through the "Animation View". It would consume more memory to make de animations (I think) but it will probably work equally to what I was trying. Is there a way of doing this? Sorry if I changed the issue of the Thread too much.

Thank you very much for your answer!

Last edited by gerble; February 12, 2014 at 12:47.
Reason: spelling mistake

hi Bruno
i have also try this scirpt, but in my case is not working. My output is in ensight format and i had to modify the script in order to deal with Multiblock Dataset. With the following script i don't get any error but the output is empty.

Dear Bruno
thanks very much for your replay. I check the centre, radius and axis and all are ok (The axis is z and the radius should be between 0.029 and 0.05).
I also try to use the filter merge block and after i applied your filter that posted at the top and still the result is the same of the input with no cut.
I manage to get something similar to what i was looking for using a coordinate transformation from Cartesian to cylindrical and after using the plane cut on the new geometry. but, in any case, would be nice to have also this filter working.
In attachment the small case as you have requested and if you manage to get something let me know. In the input there is only the mesh, but no variables.
Just to be clear at the moment i'm using Paraview 4.0 and i don’t know if the version is the source of the problem.
Thanks very much for your help

Which command here is for defining the axis direction of the cylindrical slice before is it flattened? Thanks.

Quote:

Originally Posted by wyldckat

Greetings Alex and welcome to the forum!

It's possible, but it requires two things:

That you are using ParaView 3.12 or 3.14, including the Python capabilities inside ParaView. The reason for this is that in ParaView 3.98, the necessary VTK filter is not present.

That you use the "Programmable Filter" instead of the normal "Slice" filter. The reason for this is because the "Cylinder" is an implicit function that for some reason they forgot to include in ParaView