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

Christophe Geuzaine cgeuzaine at uliege.be
Tue May 5 15:57:11 CEST 2020



> On 4 May 2020, at 23:04, Rosicley Júnio Rodrigues Rosa <rosicley at usp.br> wrote:
> 
> 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?
> 

Here's an example:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ok.geo
Type: application/octet-stream
Size: 1257 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200505/04ba7c41/attachment.geo>
-------------- next part --------------


Christophe


> Thank you for your help. 
> 
> Best regards, 
> Rosicley 
> <temp.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine





More information about the gmsh mailing list