[Paraview] Multiple Domains with XDMF

David E DeMarle dave.demarle at kitware.com
Fri Jul 11 11:50:27 EDT 2014


ParaView hasn't handled multiple XDMF Domains well in a _long_ while or
maybe ever (Two.4 might have). This is because ParaView doesn't like it
when the high level structure of the data changes. This could happen when
you pick a different domain and suddenly the reader has to switch from
producing a single structured grid to a multi block containing tens of
unstructured grids for example.

I can think of two alternatives:
* After you read in the data you have, use the extract block filter to
choose which of the two grids you want to work with.
* Write two separate files and read each one in turn.


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


On Wed, Jun 25, 2014 at 1:20 PM, Truman Ellis <truman at ices.utexas.edu>
wrote:

> I essentially have two grids with different solution variables defined on
> each one. I am using the XDMF format to output the data. When I create a
> spatial collection of the two grids, the solution variables show up as
> "partial" data in Paraview. Say solution variable u lives on grid 1 while f
> lives on grid 2. If I color by u, grid 2 shows up as some solid color that
> doesn't go away unless I turn off the block that corresponds to grid 2. And
> vice versa for f.
>
> I read that XDMF supports multiple domains, which sounded like it might be
> the right solution for this problem. But when I load such a mesh into
> Paraview, it only picks up on the last defined domain. It seems like having
> different solution variables on different grids is a common problem, so I'm
> wondering if anyone has a cleaner solution than selectively turning on and
> off the blocks corresponding to the solution variable I am currently
> considering.
> _______________________________________________
> 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
>
> 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/20140711/0545ef40/attachment.html>


More information about the ParaView mailing list