Skip to content

Problems using Gmsh #199

@Railon69

Description

@Railon69

Hey folks :)

I am trying to visualize my grid inside bempp or just use one of your standard examples. The problem is that gmsh does not work at all. When I import bempp.api, I get:
Could not find Gmsh.Interactive plotting and shapes module not available.

Therefore, I followed https://bempp.discourse.group/t/fail-to-import-the-package-bempp-api/127/2 using the command

bempp.api.GMSH_PATH = "full/path/to/gmsh/executable"

The error then changes from

RuntimeError: Gmsh is not found. Cannot generate mesh

to

Command 'C:/users/user/wdir/gmsh-4.11.1-Windows64 -2 C:\Users\user\AppData\Local\Temp\tmp9pusbz3w\tmp14z3ffao.geo' returned non-zero exit status 1.

The temp file changes every time I recall the bempp command.
I reinstalled gmsh already. Unfortunately, I couldn't find help neither in the gmsh documentation nor on your side.

bempp.api version = 0.3.0
Gmsh version = 4.11.1

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions