nschloe/meshio

[BUG] ELSET is not read correctly when it is defined independently

vryy opened this issue · 0 comments

vryy commented

Describe the bug
When ELSET is defined as an independent field in Abaqus .inp file, the parser does not read the correct element set.

To Reproduce
The bug can be reproduced using the attached cubehex8.zip and:

mesh = meshio.read("cubehex8.inp")
print("EB4:", mesh.cell_sets["EB4"])

The result is empty:

EB4: [array([], dtype=int32), array([], dtype=int32), array([], dtype=int32)]

Diagnose

> pip freeze | grep meshio
meshio==5.3.4