Xdfm file with mixed element topology

Hi,

I have a question about opening mixed topology saved in Xdmf format in Paraview.

I am writing the the attribues in HDF files (.h5) and the I genetrate also the .xmf file. As I have a grid with different types of elements, I used the TopologyType=“Mixed”. Here’s a simple example with 2 elements, one triangle and one quad, written in XML format:

<Topology TopologyType="Mixed" NumberOfElements="2">
      <DataItem Format="XML" DataType="Int" Dimensions="9">
            4 0 1 4
            5 0 1 5 3
      </DataItem>
</Topology>

It works fine when the elements are written in XML Format, but I have more than 100,000 elements which results in huge .xmf files. I want to store these elements also in HDF format with Variable Length arrays (see below), but Paraview craches when it opens the file.

image

Is there any way to efficiently store girds with mixed topologies in Xdmf format ?

Thanks.