[Paraview] [EXTERNAL] RE: [EXT] Re: Any way to select nodes that are inside a volume

Moreland, Kenneth kmorel at sandia.gov
Tue Oct 25 11:58:54 EDT 2016


OK, I think I misinterpreted your question. I thought you were asking how to extract the truss part out of a blob of elements. I guess you are asking to clip one set of elements (the truss) with another set of elements (the blob).

I don’t think there is any way of clipping the truss by a surface. I believe there is an algorithm in VTK to do it, but it is very fragile and often fails. It is better to start with the blob as solid elements and intersect the two.

Unfortunately, I do not think there is a filter to intersect two data sets. (Perhaps someone else can point one out.) However, you should be able to get close with the following steps. First, run the Resample With Dataset filter with the blob set as “Input” and the truss set as “Source”. This filter will add a field named vtkValidPointMask. Second, run the Clip filter on the output of Resample With Dataset. Set Clip Type to Scalar, the Scalars to vtkValidPointMask, and the Value to something more than 1.

-Ken


From: Dennis Conklin <dennis_conklin at goodyear.com>
Date: Tuesday, October 25, 2016 at 8:05 AM
To: "Moreland, Kenneth" <kmorel at sandia.gov>, "Paraview (paraview at paraview.org)" <paraview at paraview.org>
Subject: RE: [EXTERNAL] RE: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

Ken,

I might be a little dense here, but I missed the part where I clip the truss elements by the surface of the solid before writing them out.

Dennis

From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
Sent: Monday, October 24, 2016 5:33 PM
To: Dennis Conklin <dennis_conklin at goodyear.com>; Paraview (paraview at paraview.org) <paraview at paraview.org>
Subject: Re: [EXTERNAL] RE: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

So the “Extract Block” filter should do the trick. Extract the blocks with the truss elements and write that out to a mesh file.

-Ken


From: Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>>
Date: Monday, October 24, 2016 at 4:33 PM
To: "Moreland, Kenneth" <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>, "Paraview (paraview at paraview.org<mailto:paraview at paraview.org>)" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: RE: [EXTERNAL] RE: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

Ken,

Actually, I want to get just the truss elements that are embedded in the hex elements and write them out to a mesh file.  I’ve been playing in Patran, but I still end up with some trusses sticking out of the solid.

So, not rendering, I want to make a new element block which is clipped by the surface of the solid mesh.   So any truss element with a node outside the surface should be excluded when I write out the trimmed truss mesh.

I hope this is a little clearer.

Thanks for looking at this
Dennis

From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
Sent: Monday, October 24, 2016 4:28 PM
To: Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>>; Paraview (paraview at paraview.org<mailto:paraview at paraview.org>) <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [EXTERNAL] RE: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

Having the data in multiblock format is good. It is pretty easy to turn blocks on and off.

The easiest way to turn of the visibility of a block is to right click it in the 3D view and selected “Hide Block” from the pop-up menu.

For somewhat more sophisticated controls, use the Multi-block Inspector. From the menu bar, select View -> Multi-block Inspector. The Multi-block Inspector by default is placed underneath the Properties panel. The Multi-block Inspector allows you to quickly select blocks as well as turn their visibility on and off. (It’s also the only way to make visible blocks that are hidden with the pop-up menu.)

Note that both of these techniques only change what data is being rendered. If for some reason you need to extract the rebar blocks so that they can be independently proceed by filters, you can use the Extract Block filter.

-Ken


From: Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>>
Date: Monday, October 24, 2016 at 7:47 AM
To: "Moreland, Kenneth" <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>, "Paraview (paraview at paraview.org<mailto:paraview at paraview.org>)" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] RE: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

Ken,

Yes it is a multiblock dataset and the rebar blocks are different than the hex blocks.

Dennis

From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
Sent: Friday, October 21, 2016 10:56 PM
To: Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>>; Paraview (paraview at paraview.org<mailto:paraview at paraview.org>) <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXT] Re: [Paraview] Any way to select nodes that are inside a volume

Is there any feature of your data that distinguishes the rebar from the larger blob? Do you have a multiblock data with one or more blocks containing only rebar? Do you have field data that might be unique to the rebar such as material type or density?

-Ken

From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>>
Date: Friday, October 21, 2016 at 2:47 PM
To: "Paraview (paraview at paraview.org<mailto:paraview at paraview.org>)" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] Any way to select nodes that are inside a volume

All,

I have a solid blob of elements.   Then I have a large cloud of embedded rebars that is much bigger than the solid blob.   I only want rebars that are inside the blob.    Is there anyway to select only the rebar (truss element) nodes that are inside the solid blob.   Like if I extract surfaces from the blob, is there any any way to clip the nodes using those surfaces.   I have gotten close using clips, but I just can’t get them perfectly arranged to do what I need.

Are there any plug-ins out there or something?  Any ideas?

Thanks

Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161025/51b76d13/attachment.html>


More information about the ParaView mailing list