Skip to content
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

Error loading simple mesh #61

Open
manueldeljesus opened this issue Sep 30, 2022 · 0 comments
Open

Error loading simple mesh #61

manueldeljesus opened this issue Sep 30, 2022 · 0 comments

Comments

@manueldeljesus
Copy link

I have created a simple mesh with Gmsh (I include the file here). I export the mesh to a .msh file and get the following error when using GmshDiscreteModel to load it.

model = GmshDiscreteModel("[...]ArbolUnico.msh")

Info    : Reading '[...]ArbolUnico.msh'...
Info    : 14 entities
Info    : 436 nodes
Info    : 436 elements
Info    : Done reading '[...]ArbolUnico.msh'

ERROR: This line of code cannot be reached

Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] macro expansion
   @ ~/.julia/packages/Gridap/TyUsh/src/Helpers/Macros.jl:47 [inlined]
 [3] _setup_nodes_and_vertices_periodic(gmsh::Module, dimTags::Vector{Tuple{Int32, Int32}}, nnodes::Int64)
   @ GridapGmsh ~/.julia/packages/GridapGmsh/ES9WT/src/GmshDiscreteModels.jl:64
 [4] _setup_nodes_and_vertices(gmsh::Module, node_to_coords::Vector{Gridap.TensorValues.VectorValue{2, Float64}})
   @ GridapGmsh ~/.julia/packages/GridapGmsh/ES9WT/src/GmshDiscreteModels.jl:40
 [5] GmshDiscreteModel(mshfile::String; renumber::Bool)
   @ GridapGmsh ~/.julia/packages/GridapGmsh/ES9WT/src/GmshDiscreteModels.jl:25
 [6] GmshDiscreteModel(mshfile::String)
   @ GridapGmsh ~/.julia/packages/GridapGmsh/ES9WT/src/GmshDiscreteModels.jl:6
 [7] top-level scope
   @ REPL[2]:1

I am using Julia 1.8.1 in Fedora Linux 36, with GridapGmsh v0.6.1.

Your help is much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant