[vtkusers] How to extract nodesets and sidesets for Exodus data

Slaughter, Andrew E andrew.slaughter at inl.gov
Fri Jan 29 11:12:37 EST 2016


I have been working on this for sometime and still haven't come up with a
solution, is there anyone who could help me find a solution, if it is
possible?

I will provide another description of what I am trying to accomplish:

(1) I would like to read an ExodusII file that contains BLOCKS, SIDE_SETS,
and NODE_SETS. When reading the file I want to enable everything
(SetAllArrayStatus enabled for each type).

(2) I would like to extract the various parts (each BLOCK, SIDE_SET,
NODE_SET) so that I can create a unique geometry->mapper->actor objects.
This will enable me to show any combination of the parts, each with a
different colormap, etc., but with only a single reader open.

I was able to get number (2) working using vtkExtractBlock for BLOCKS, but
I can't figure out how to also extract out the SIDE_SET and NODE_SET. One
idea I have was to use vtkExtractCell, but was unable to find the correct
methodology for that idea.

Is this type extraction possible? If so, any hint in the correct direction
would be greatly appreciated.

Thanks,
Andrew








On Tue, Dec 8, 2015 at 9:02 PM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:

> I am creating a visualization tool for Exodus data capable of displaying
> any combination of nodeset, sideset, and subdomain information from an
> ExodusII file. I would like to be able to have a single reader object and
> multiple renderers for showing the nodesets, sidesets, and/or subdomains.
>
> However, I am unable to figure out how to enable all of the above in
> vtkExodusIIReader but limit what is shown in the renderer.
>
> I have attached a script (OSX with VTK6.3) that I would like to have
> display the nodesets on the left-side of the screen and the subdomains on
> the right, but I am unable to get the desired result.
>
> I would appreciate any help that could be provided.
>
> Thanks,
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160129/d1aaf836/attachment.html>


More information about the vtkusers mailing list