nschloe / meshio

:spider_web: input/output for many mesh formats
MIT License
1.94k stars 399 forks source link

Problem when converting ansys meshes (.msh) to vtu #576

Open kuateric opened 4 years ago

kuateric commented 4 years ago

I am trying to convert a full tetmesh created with ansys workbench and exported as .msh-file to .vtu via meshio. Unfortunately, i get the following warning messages:

C:\Users\toshiba\AppData\Roaming\Python\Python38\Scripts>meshio-convert e:\meshio\testmodell_5.msh e:\meshio\testmodell_5_msh.vtu --input-format ansys
WARNING:root:Unknown index '4'. Skipping.
WARNING:root:Zone specification not supported yet ('wall', 'wall-geom-volumenk-rper'). Skipping.
WARNING:root:Zone specification not supported yet ('interior', 'interior-geom-volumenk-rper'). Skipping.
WARNING:root:Zone specification not supported yet ('solid', 'geom-volumenk-rper'). Skipping.
<meshio mesh object>
  Number of points: 144767
  Number of elements:
    triangle: 1663263

Although a .vtu file is created by meshio at the end of the conversion process but the material or group ids are missing so that one can see just one material or group. Bild1 The msh.-file is here:

testmodell_5.zip

I would be grateful for any help or suggestion

Thank you

nschloe commented 4 years ago

Etiquette: Don't screenshot error messages. (They are not searchable.) Copy-and-paste please.

nschloe commented 4 years ago

You can edit your post, too.

nschloe commented 4 years ago

Please use triple ticks for code blocks.