How to read the .inp file generated in gmsh for extracting the Nodal coordinates and element connectivity of the mesh.
I have a 2D structured mesh of a 2D domain, as shown, generated by gmsh, an open source meshing software. After generating the mesh, I exported the file as .inp file, which I have attached.
From the line no. 373 to 596, are the element nodal connectivity. which I have to extract
From line no. 4 to 272, are the (x,y) coordinate of each node. which also have to be extracted.
kindly help me on extracting these info and placing them in an array variables.I have a 2D structured mesh of a 2D domain, as shown, generated by gmsh, an open source meshing software. After generating the mesh, I exported the file as .inp file, which I have attached.
From the line no. 373 to 596, are the element nodal connectivity. which I have to extract
From line no. 4 to 272, are the (x,y) coordinate of each node. which also have to be extracted.
kindly help me on extracting these info and placing them in an array variables. I have a 2D structured mesh of a 2D domain, as shown, generated by gmsh, an open source meshing software. After generating the mesh, I exported the file as .inp file, which I have attached.
From the line no. 373 to 596, are the element nodal connectivity. which I have to extract
From line no. 4 to 272, are the (x,y) coordinate of each node. which also have to be extracted.
kindly help me on extracting these info and placing them in an array variables. file handling, matrix, finite element method, mathematics, meshing, machine learning, arrays MATLAB Answers — New Questions