Exception raised during merge (python API version 4.8.4)
I am trying to prepare a boundary layer for a CFD simulation. This time I tried to export the boundary layer mesh so I could locally refine it, with a plan to import the merge in a separate script that combines different meshes.
The attached "20210705_building_boundary.py" generates a ~700 Mb .msh file in gmsh 4.1 format. When I try to load it with gmsh.merge() in "20210707_combine.py", it is giving me the following error:
E:>python 20210707_combine.py Debug : Decoded option name 'Mesh' . 'Algorithm' (index 0) Debug : Decoded option name 'Mesh' . 'Algorithm3D' (index 0) Debug : Decoded option name 'Geometry' . 'MatchMeshTolerance' (index 0) Debug : Decoded option name 'Geometry' . 'Tolerance' (index 0) Debug : Decoded option name 'Mesh' . 'AngleToleranceFacetOverlap' (index 0) Debug : Decoded option name 'Mesh' . 'ToleranceInitialDelaunay' (index 0) Debug : Decoded option name 'Mesh' . 'RandomFactor' (index 0) Info : Clearing all models and views... Debug : Destroying model test2 Debug : Destroying model Info : Done clearing all models and views Info : Reading 'E:\20210707_building.msh'... Info : 219 entities Info : 4497265 nodes Debug : Vertex numbering is dense Info : 9668016 elements Debug : Element numbering is dense Info : 13 parametrizations Traceback (most recent call last): File "20210707_combine.py", line 29, in <module> gmsh.merge(r"E:\NIAGARA\20210707_building.msh") File "C:\Users\\anaconda3\lib\site-packages\gmsh-git-Windows64-sdk\lib\gmsh.py", line 274, in merge raise Exception(logger.getLastError()) Exception
I tried merging the .msh file manually in the gmsh application and it works without any problem. I am not sure what is causing the exception in the python script.
Thanks for reading my issue. Regards, Jack