You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load a rat head model (.inp abaqus file) using meshio to convert to a gmsh22 file, but when I load the model it seems some of the information is not being loaded by meshio. The .inp file contains element sets, which may be the source of the issue (#493):
When trying to save to gmsh22 format, using mesh.write('/home/mbellvila/Downloads/ratmodeloxford/rathead_gmsh22.msh', file_format="gmsh22")
I get the error:
"Warning: Appending zeros to replace the missing physical tag data.
Warning: Appending zeros to replace the missing geometrical tag data."
The meshio file does seem to load some of the information correctly, as the mesh object contains:
Number of points: 597752
Number of cells:
tetra: 3408851
Cell sets: BRAIN, CSF, SKULL, WHITE_MATTER, WHOLE_HEAD
The text was updated successfully, but these errors were encountered:
However, the mesh.point_sets is empty, as is mesh.cell_data, and mesh.point_data, though mesh.points does contain the point location information, and mesh.cells_dict contains the point information for each cell.
I am trying to load a rat head model (.inp abaqus file) using meshio to convert to a gmsh22 file, but when I load the model it seems some of the information is not being loaded by meshio. The .inp file contains element sets, which may be the source of the issue (#493):
*Node
*Element, type=C3D4
*Elset, elset=BRAIN, generate
*Elset, elset=CSF, generate
*Elset, elset=SKULL, generate
*Elset, elset=WHITE_MATTER, generate
*Elset, elset=WHOLE_HEAD, generate
** Section: Section-1-WHOLE_HEAD
*Solid Section, elset=WHOLE_HEAD, controls=EC-1, material=WHOLE_HEAD
** Section: Section-2-BRAIN
*Solid Section, elset=BRAIN, controls=EC-2, material=BRAIN
** Section: Section-3-SKULL
*Solid Section, elset=SKULL, controls=EC-2, material=SKULL
** Section: Section-4-WHITE_MATTER
*Solid Section, elset=WHITE_MATTER, controls=EC-2, material=WHITE_MATTER
** Section: Section-5-CSF
*Solid Section, elset=CSF, controls=EC-3, material=CSF
** MATERIALS
**
*Material, name=BRAIN
*Material, name=CSF
*Material, name=SKULL
*Material, name=WHITE_MATTER
*Material, name=WHOLE_HEAD
When trying to save to gmsh22 format, using
mesh.write('/home/mbellvila/Downloads/ratmodeloxford/rathead_gmsh22.msh', file_format="gmsh22")
I get the error:
"Warning: Appending zeros to replace the missing physical tag data.
Warning: Appending zeros to replace the missing geometrical tag data."
The meshio file does seem to load some of the information correctly, as the mesh object contains:
Number of points: 597752
Number of cells:
tetra: 3408851
Cell sets: BRAIN, CSF, SKULL, WHITE_MATTER, WHOLE_HEAD
The text was updated successfully, but these errors were encountered: