Cut/Clip cylinder instead of sphere/plane?
Dear Foamers,
I would like to make a cut in paraview with the form of a cylinder. Is there any way I can do this? When using the cut command, I can only choose sphere or plane, but would like to have cylinder surface. Thanks all. |
Sorry for digging this thread from so far in the past.
But since this shows up in the top Google search results when looking for this question, I'll leave a note to the recent solution: http://www.cfd-online.com/Forums/ope...tml#post428465 |
Cylinder clip
Quote:
The link above gives solution for cylinder-"slice". I am looking for cylinder-"clip" like "box" or "sphere" option. I need the entire data that is enclosed in the cylinder. Please help. Thanks. Nisha |
Greetings Nisha,
Very good point! Back when I figured out how to use the "Cylinder" for slicing the results, I didn't properly read that this thread was about clipping and not slicing! OK, basing myself on my other post, here goes... It requires two things:
Bruno |
Works like charm! Thanks wlydckat !!
|
Quote:
does this method work on paraview which is Windows version? And the VTK is created by OF-2.2.2, I find that the paraview 3-14 can't open this VTK file.Do you know why? best regards, Zhiyuan |
Greetings Zhiyuan,
Quote:
And the reported Python code should work on any Operating System that can run ParaView 3.14. Best regards, Bruno |
Thanks to this thread: http://www.cfd-online.com/Forums/par...-cylinder.html - here are the revised instructions for ParaView 4.1.0:
|
All times are GMT -4. The time now is 13:40. |