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.
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.I am using Julia 1.8.1 in Fedora Linux 36, with GridapGmsh v0.6.1.
Your help is much appreciated.