[Gmsh] Gmsh Non-interactive mesh generation

david.colignon at gmail.com david.colignon at gmail.com
Thu Aug 13 08:32:25 CEST 2015



On Thursday, August 13, 2015 at 6:48:34 AM UTC+2, Jake Brantley wrote:
>
> I understand how to write a script to generate a structured mesh, however 
> I am only able to generate the mesh by loading the script within the GUI 
> and pressing the mesh button. Is there a way to generate a mesh file in 
> pure Non-interactive mode without ever opening Gmsh? 
>
> Thank you! 
>
> Respectfully, 
>
> Jake


Hi Jake, 

on the command line, 

gmsh myscript.geo -2 

(-2 for a 2D mesh, -3 for a 3D mesh) should do it. 

Regards, 

Dave 


-- 
David Colignon, Ph.D. 
1er logisticien de recherche 
Université de Liège 
ACE - Applied & Computational Electromagnetics 
Sart-Tilman B28 
10, Grande Traverse 
4000 Liège - BELGIQUE 
Tél: +32 (0)4 366 37 32 
http://www.ulg.ac.be/nic4
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150812/4c72923c/attachment.html>