[Paraview] [EXTERNAL] Extracting cells by label

Carlson, Neil nnc at lanl.gov
Fri Apr 22 10:12:11 EDT 2016


Ken,  Thanks so much for this suggestion.  I've given it a
brief try, and it looks like it is going to work for us.  Longer
term we may try to write a filter expressly designed for this
use case, but this is workable until then.  Thanks!  -Neil

________________________________
From: Moreland, Kenneth [kmorel at sandia.gov]
Sent: Thursday, April 21, 2016 9:07 AM
To: Carlson, Neil; Scott, W Alan; paraview at paraview.org
Subject: Re: [Paraview] [EXTERNAL] Extracting cells by label

Neil,

You can do it with the “Find Data” selection mechanism (Section 6.3 of the ParaView Guide). Open the Find Data dialog and make a selection of where the block id field “is one of” a comma separated list of block ids you want. When you run the selection query, you should see the cells of those blocks outlined. Then hit the extract selection button that will add a threshold-like filter that will extract those selected blocks.

-Ken

From: ParaView <paraview-bounces at paraview.org> on behalf of "Carlson, Neil" <nnc at lanl.gov>
Date: Thursday, April 21, 2016 at 9:01 AM
To: Walter Scott <wascott at sandia.gov>, "paraview at paraview.org" <paraview at paraview.org>
Subject: Re: [Paraview] [EXTERNAL] Extracting cells by label

Sort of, but not exactly.  Threshold would allow me to remove
blocks below a min value and above a max value.  But what I
want is to be able to select (via a checkbox list, for example)
exactly which blocks I want to see, not limited to those in a
range.  And to reiterate, "block n" consists of all cells with
value n in a cell-centered data field.
________________________________
From: Scott, W Alan [wascott at sandia.gov]
Sent: Wednesday, April 20, 2016 5:00 PM
To: Carlson, Neil; paraview at paraview.org
Subject: RE: [EXTERNAL] [Paraview] Extracting cells by label
You mean like the threshold filter?  Threshold out those blocks you don’t want…

Alan

From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Carlson, Neil
Sent: Wednesday, April 20, 2016 4:13 PM
To: paraview at paraview.org
Subject: [EXTERNAL] [Paraview] Extracting cells by label

I have a grid (unstructured and not multi-block) and a cell-centered
data field on the grid.  The field has integer values that serve to
group the cells into conceptual blocks: cells with value 1 form block 1,
and so forth.  Is there some filter that can use such data to actually
extract blocks in such a way that paraview can control their loading
individually, like with the multiblock inspector or the ExtractBlock
filter?

Thanks, Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160422/3fd7ac01/attachment.html>


More information about the ParaView mailing list