[Paraview] xdmf & polygons

Xavier Garnaud xgarnaud at gmail.com
Mon Oct 16 10:48:01 EDT 2017


Hello,

I have a polygonal mesh stored in a cgns file and I am tryng to write the
corresponding xdmf files (to be more flexible than with a cgns reader).
I attached 3 simple examples: test_mixed works fine.xdmf works fine, the
other two do not.
In order to have a xdmf file that corresponds to the hdf/cgns dataset, I
would need to have the connectivity stored as
<Topology NumberOfElements="2" Type="Polygon">
          <DataItem Format="XML" DataType="Int" Dimensions="10">
          5 1 2 3 4 5 3 3 6 4
          </DataItem>
        </Topology>

- is it possible to define a topology with Type="Polygon" ?
- is it possible to use baseOffset with a polygonal mesh?

Thank you very much for your help.
Best regards,

Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171016/4baddb30/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mixed.xdmf
Type: application/octet-stream
Size: 836 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171016/4baddb30/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mixed_offset.xdmf
Type: application/octet-stream
Size: 851 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171016/4baddb30/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_polygon.xdmf
Type: application/octet-stream
Size: 834 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171016/4baddb30/attachment-0002.obj>


More information about the ParaView mailing list