Change UNV pyr to type 119?

ideasUnvToFoam.C does not read edges. As we can see line 308, edges (elements with feID == 11) are skipped.

It does not deal with group of edges neither. All groups are considered as groups of faces. As we can see in the example Mesh_hexa_edges.zip (691 Octets) where all_edges is a group of edges, the log shows:

0: all_edges is faceZone

When dealing with groups, it tries to find elements id for each group. For edges, as no element has been created, it does not find the element, and raise an error.

3 not found in table. Valid entries: 6(16 17 18 13 14 15)

To avoid this, we can store the edges ids and skip the groups of edges when reading the groups. I have made the modifications in ideasUnvToFoam.C.patch (2,8 Ko). It works well for the unv samples I have.

In the meanwhile, before it is being integrated, a simple workaround is to delete group of edges in SALOME before exporting to unv.

Christophe

1 Like