Hi,
I have created a pipe line to define some cell clusters. (pipe line in image)
I want to remove any cell clusters where a cluster member is on a selected patch (the patch is shown as a pink wire frame in the image). Meaning that the regionID=0 (navey blue “L” shaped region) should be removed from the selected data.
I am trying to obtain a list of all cells on the patch, then I could obtain the region IDs present and remove these from my analysis. However, I can’t work out how to obtain all cells on a patch, I’ve not found an Extract XXXX filter that does this. Note this is imported as a multi-block domain, and then merged during my pipeline.
I’m sure there are other ways to do this but can’t work them out. eg. obtain lists of all cell ID numbers on the surface, then scan all clusters, and if an ID matches remove the cluster. Again I’m stuck in how to obtain a list of the cell IDS.
I’m happy for any answer to be filter based or use python scripting.
Mathieu,
Thanks for the help, what you propose should work, however when I try and select the cells with Find Data I get an error. This is for a simple case where i import my multi-block data and then try to select the cells on the Block ID associated with my patch (Block ID = 7).
Mathieu,
I tried to install paraview on ubuntu run on windows. I get some graphics driver errors which I’ve not been able to solve.
Therefore I tried installing paraview on windows. Eventually I will want to run it on Linux, but at the point I need to do this I should have more support to resolve the driver/environment variable issues i’m having.
I’m having some issues with the windows installation. I had assumed that scripts which worked on the linux (paraFoam) would also work on the windows install, but i’m having problems.
a) a script (“TEST.py”) ran on the linux install now gives the error on the windows install:
SyntaxError: invalid syntax
b) If I reduce the “TEST.py” script to just importing the data (lines 1-23). When I view the imported data in the GUI the screen turns to this as soon as I hit the view (eye icon). Making it impossible to use any of the menus. I get exactly the same result no matter what size I set the view to (renderView1.ViewSize = [800, 400])
Blockquote
**I’ve got the windows graphics issue resolved with an update of the graphics card driver ** Weird display resolution
On the positive side it seems that the python selection module is not importing correctly. Its just hard for me to visually confirm my script is working with the GUI issue.
Mathieu,
Thanks for digging into this.
Its not clear to me how I can work around this with the connectivity filter. My data is multi-block. Once merged I can select the connectivity filter. However I’m not able to select the Block ID. Do you have any further pointers on how to get around this with the connectivity filter?