Skip to content

[BUG] converting a med file to inp (Abaqus) FAIL #1488

@dautuan88

Description

@dautuan88

Description
We are using meshio and I want to convert a mesh in MED format to inp format Abaqus.
When trying to write to inp, it fails with the following error:

meshio_to_abaqus_type[cell_type] if translate_cell_names else cell_type

KeyError: 'pyramid'

meshio mesh object

Number of points: 146705
Number of cells:
hexahedron: 104804
pyramid: 4138
quad: 79783
line: 3562
tetra: 3272
triangle: 2982
Point data: point_tags
Cell data: cell_tags

Thanks for yours helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions