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

Rosicley Júnio Rodrigues Rosa rosicley at usp.br
Mon May 4 23:04:13 CEST 2020


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.0 temp.geo -o temp.msh -algo auto -order 3

I tried to add the following lines to the temp.geo file, but it didn't work.
     Plugin(Crack).Dimension = 1;
     Plugin(Crack).PhysicalGroup = 11;
     Plugin(Crack).Run;

What can I do to solve this problem?

Thank you for your help.

Best regards,
Rosicley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200504/7ec46ca0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.geo
Type: application/octet-stream
Size: 1124 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200504/7ec46ca0/attachment.geo>


More information about the gmsh mailing list