Can the corner-point grid be converted to a format usable in libmesh? #3646
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Based on the Wikipedia article it sounds like a type of structured hexahedral mesh, so, yes I think you could write some code that would import such a mesh relatively easily. On the libMesh side, the mesh would of course be treated as unstructured HEX8, HEX20, or HEX27 elements. It would be simplest if the grid you want to read is in an ASCII format, and not a binary blob. You can look at one of the other ASCII-based mesh readers like AbaqusIO to get some ideas on how to read from a file and add Nodes/Elems to the Mesh. |
Beta Was this translation helpful? Give feedback.
Based on the Wikipedia article it sounds like a type of structured hexahedral mesh, so, yes I think you could write some code that would import such a mesh relatively easily. On the libMesh side, the mesh would of course be treated as unstructured HEX8, HEX20, or HEX27 elements. It would be simplest if the grid you want to read is in an ASCII format, and not a binary blob. You can look at one of the other ASCII-based mesh readers like AbaqusIO to get some ideas on how to read from a file and add Nodes/Elems to the Mesh.