[Paraview] Make XDMF Sets work in Multi-block Inspector

David E DeMarle dave.demarle at kitware.com
Thu Aug 13 22:32:05 EDT 2015


Actually I can see what you mean on a sample I have here (attached).

Sets in xdmf identifying some portion of the geometry/topology of another
mesh so that you can add arbitrary attributes to that subset without
affecting the whole thing. As you've surmised in practice the VTK reader
just makes a new unstructured grid for the subset. The subset block has has
very little relationship to the whole that it was extracted from. (Supposed
we could have a not set complement and then you could get at it.)

I think what you want is a plain old collection instead. See the attached
example (xmf portion only, the h5 part is to big for email but you can find
it in the VTK/ParaView regression test data suite).

hth

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Aug 13, 2015 at 10:06 PM, David E DeMarle <dave.demarle at kitware.com>
wrote:

> Ondrej,
>
> Do you have a small example that I can use to reproduce the problem?
>
> thankyou
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Mon, Aug 10, 2015 at 10:02 AM, Ondřej Čertík <ondrej.certik at gmail.com>
> wrote:
>
>> Hi,
>>
>> We would like to use the Multi-block inspector to turn solutions on
>> and off on a given subdomain (set of blocks). Just like it works if
>> you load an Exodus file. We use XDMF and we were told to use Sets to
>> designate subdomains. We did that and indeed they appear in the
>> Multi-block inspector, but unfortunately they do not work to turn
>> solutions on and off. For some reason, they only appear to add
>> geometry *over* the solutions, so you don't see any solutions at all.
>> Only if you turn them off, then you can see the solution on the whole
>> mesh. In particular, you can't use those to turn off a solution on
>> just part of it.
>>
>> Essentially it looks like if Sets created a new geometry without any
>> solutions associated with it (and allow to turn parts of this geometry
>> on and off, as expected), and then visualized it on top of the
>> original mesh+solutions.
>>
>> Any ideas how to resolve that?
>>
>> I tested ParaView 4.3.1.
>>
>> Thanks,
>> Ondrej Certik
>> Los Alamos National Laboratory
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150813/d62d26bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set.xmf
Type: application/octet-stream
Size: 2019 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150813/d62d26bc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test1.h5
Type: application/octet-stream
Size: 15072 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150813/d62d26bc/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Iron_Protein.ImageData.Collection.xmf
Type: application/octet-stream
Size: 9726 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150813/d62d26bc/attachment-0002.obj>


More information about the ParaView mailing list