-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writing out gmsh file after reading it in #614
Comments
So i've dug a little deeper, it doesn't seem like the meshio.read actually reads the files appropriately. I've written this to solve my problem, but i'm not sure if it's helpful for the library as a whole (as i don't throughly know the gmsh conventions, but thought i'd leave it here in case it is. (based on one of your old stack posts) https://stackoverflow.com/questions/41641505/read-formatted-data-from-part-of-a-file-fast-gmsh-mesh-format
|
So I've looked at the mesh now, trying to find out if this is still an issue. Turns out that not even Gmsh itself can read the file. Error:
The tags of the triangles are also weird:
The second tag ("geometrical entity") is different for every single triangle? That seems wrong. Anyway, can't say if this is/was an actual meshio issue. If OP can shed some light on this, that'd be great. If not, I'll close this at some point. |
@thesser1 Do you know anything more about the gmsh file for ww3 that would be helpful here? |
1 similar comment
@thesser1 Do you know anything more about the gmsh file for ww3 that would be helpful here? |
I'm trying to read a mesh in, then write it. I use meshio to read the file in then i go to write it out and get the below error.
PR #524 has the same error output, and the response suggests that the capability is not supported yet. I'm not too familiar with the different mesh types or conventions associated. Hopefully I'm not duplicating, but I used to be able to write them out so I'm thinking that something else is going on or I'm wondering if something has changed in the package (or maybe there is something else I'm missing). I've attached the mesh in a tarball.
Mesh_interp_Mar2018.msh.tar.gz
I appreciate any help!
The text was updated successfully, but these errors were encountered: