JuliaFEM / Gmsh.jl

Gmsh.jl contains API for Gmsh: a three-dimensional finite element mesh generator. With the help of Gmsh.jl, it is possible add parametric model construction and/or automatic mesh generation to a FEM pipeline.
MIT License
53 stars 13 forks source link

troubles in running occ functions #20

Closed avigliotti closed 2 years ago

avigliotti commented 3 years ago

Hi,

I am having troubles using occ functions, for example I was trying to run the example t16 from here t16.jl but I got this error

import Gmsh: gmsh gmsh.initialize() gmsh.model.add("t16") gmsh.model.occ.addBox(0,0,0, 1,1,1, 1)

gmshModelOccAddBox returned non-zero error code: 1

could you please help me finding out what am I doing wrong here?

many thanks, Andrea

avigliotti commented 3 years ago

i downloaded libgmsh.so.4.8.4 from https://gmsh.info/bin/ and replaced libgmsh.so.4.4.1 in eps/usr/lib, that fixed the access to occ functions.

However there is still something not working as if I try to open the gui gmsh.fltk.run() it crashes

Andrea

koehlerson commented 2 years ago

Works now with the new gmsh_jll version