Re: [Gmsh] Gmsh Non-interactive

2015-08-14 Thread Jake Brantley
gmsh myscript.geo -2 works. Thank you!!

On Wednesday, August 12, 2015 at 5:38:05 PM UTC-6, Jake Brantley wrote:
>
> How do I generate a mesh file without ever opening Gmsh GUI? As of right 
> now, I have to run my script and press the mesh button within the GUI.
>
> Thanks,
>
> Jake
>
>___
gmsh mailing list
gmsh@geuz.org
http://www.geuz.org/mailman/listinfo/gmsh


Re: [Gmsh] Gmsh Non-interactive mesh generation

2015-08-13 Thread david . colignon


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
 
___
gmsh mailing list
gmsh@geuz.org
http://www.geuz.org/mailman/listinfo/gmsh


Re: [Gmsh] Gmsh Non-interactive

2015-08-13 Thread lukshuntim

On 08/13/2015 07:38 AM, Jake Brantley wrote:

How do I generate a mesh file without ever opening Gmsh GUI? As of right now, I 
have to run my script and press the mesh button within the GUI.

Thanks,

Jake


Maybe this can help.
http://www.geuz.org/gmsh/doc/texinfo/gmsh.html#Non_002dinteractive-mode

Regards,
ST
--


___
gmsh mailing list
gmsh@geuz.org
http://www.geuz.org/mailman/listinfo/gmsh