Closed rustamNSU closed 2 years ago
I don't know what the issue is, but here is a workaround.
1d0
< load "gmsh"
11,12c10,13
< verbosity = 100;
< Th = gmshload("test.msh2");
---
> load "PETSc"
> DM dm("test.msh2", communicator = mpiCommSelf);
> Th = dm;
> plot(Th);
Instead of using the Gmsh plugin, it will use PETSc DMPlex, and it works. It also support Gmsh format version 4. You need to run your script with ff-mpirun load_gmsh.edp -wg
.
Thank you very much! This solution solved the problem!
Dear FreeFem++ developers,
I am trying to load mesh in FreeFem script from gmsh generator. For this, I'm using python script with gmsh=4.10.5 (but it is same result with gmsh=4.8.4) and writing mesh in "test.msh2" file. This python script I'm calling in FreeFem edp-file via system() command and then I use "gmsh" plugin for
But the gmshload function interrupts in the middle of the process with error
To recreate this error, I added scripts and requirements.txt for creating python venv. loadgmsh_error.zip Could you please have a look and help? Thanks!