gmah in a "for" loop. once it fails, gmsh won't work in all the following iterations
I'm trying touse gmsh in a "for" loop. It can generate mesh in the beginnig. But if mesh generation failed for only one time, the following gmsh operations would fail. It won't work after it fail once. How to solve this problem?