Questions tagged [meshio]
6 questions
2
votes
2 answers
How to load and inspect a gmsh mesh (*.msh file)
I want to programmatically inspect *.msh files (get a number of nodes and elements, possibly also edges and faces). How can I do this with either gmsh or pygmsh module? All tutorials I have found so far focus mostly on mesh generation. I can not…

abukaj
- 2,582
- 1
- 22
- 45
2
votes
0 answers
Need a package to exact data from .VTU file (appended)
I want to explore more in my VTU file

user18191392
- 33
- 3
1
vote
1 answer
How to add color array to mesh in meshio?
############points (108 ea)##################
[[362. 437. 0.]
[418. 124. 0.]
[452. 64. 0.]
...
[256. 512. 0.]
[ 0. 256. 0.]
[512. 256. 0.]]
##########triangles (205 ea)#################
[[ 86 106 100]
[104 95 100]
[ 41 104…

Lyrk
- 1,936
- 4
- 26
- 48
0
votes
0 answers
Inp(Abaqus) mesh file conversion into .msh file via meshio
I'm using meshio to convert an .inp mesh file into compatible form for Gmsh (.msh file type).Αlthough the conversion (meshio convert input.inp output.msh) generates a .msh file, Gmsh can't read it because it appears unusual characters. Please check…

dim
- 1
0
votes
1 answer
Generating triangular elements with gmsh and read with python
I'm trying to generate a triangular mesh with gmsh and then read it with python, for the python part I'm using meshio. But my problem is that the mesh elements are always readead as lines, not triangles.
Here is my…

efirvida
- 4,592
- 3
- 42
- 68
0
votes
1 answer
How to obtain the centroid of cells/elements in VTK?
I know how to get the coordinates of the points in an unstructured grid from this post: vtk to matplotlib using numpy
However, I am trying to find a function that takes the unstructured VTK grid and returns the coordinates of the "centers" of the…

Matthew Mullin
- 169
- 4