[Gmsh] How to use the plugin crack from the command line

2020-05-04 Thread Rosicley JĂșnio Rodrigues Rosa
Hello, I'm a Master student and I use Gmsh to solve fracture mechanic problems. >From the interactive mode, I have used the plugin crack to generate a crack in a surface, but I need to use this plugin from the command line. Is it possible? I usually use the script bellow: gmsh -2 -clscale 1.

[Gmsh] GMsh python API: all all point tags of volume

2020-05-04 Thread Tian Xia
Hi, First of all, I'd like to thank you for the great software. It saved me a lot of time. I am trying to define a mesh size field based on the distance to the volume. I knew that there is a command "PointsOf(volume #)" for geo file. Is there a similar function in the python API? Thanks! -- Tia