Image file from t4.geo
Hi! I was wondering how to invoke gmsh on the cmdline, to run tutorials/t4.geo and produce t4_image.png. In general, I haven't been able to figure out how to create an image file from the command line for any input. Is there a example that shows the correct incantations? Thanks!
$ gmsh -2 ./t4.geo
Info : Running '/data/1/mjm/gmsh/build/gmsh -2 ./t4.geo' [Gmsh 4.11.0-git-5aea61f4c, 1 node, max. 1 thread]
Info : Started on Tue Dec 13 19:54:48 2022
Info : Reading './t4.geo'...
Info : Done reading './t4.geo'
Info : Meshing 1D...
Info : [ 0%] Meshing curve 1 (Line)
Info : [ 10%] Meshing curve 2 (Line)
Info : [ 10%] Meshing curve 3 (Circle)
Info : [ 20%] Meshing curve 4 (Line)
Info : [ 20%] Meshing curve 5 (Line)
Info : [ 30%] Meshing curve 6 (Line)
Info : [ 30%] Meshing curve 7 (Line)
Info : [ 40%] Meshing curve 8 (Circle)
Info : [ 40%] Meshing curve 9 (Line)
Info : [ 50%] Meshing curve 10 (Line)
Info : [ 50%] Meshing curve 11 (Line)
Info : [ 60%] Meshing curve 12 (Circle)
Info : [ 60%] Meshing curve 13 (Line)
Info : [ 70%] Meshing curve 14 (Line)
Info : [ 70%] Meshing curve 15 (Line)
Info : [ 80%] Meshing curve 16 (Circle)
Info : [ 80%] Meshing curve 17 (Circle)
Info : [ 90%] Meshing curve 18 (Circle)
Info : [ 90%] Meshing curve 19 (Circle)
Info : [100%] Meshing curve 20 (Line)
Info : Done meshing 1D (Wall 0.0117397s, CPU 0.01174s)
Info : Meshing 2D...
Info : [ 0%] Meshing surface 22 (Plane, Frontal-Delaunay)
Info : [ 50%] Meshing surface 24 (Plane, Frontal-Delaunay)
Info : Done meshing 2D (Wall 0.0268786s, CPU 0.026877s)
Info : 787 nodes 1633 elements
Info : Writing './t4.msh'...
Info : Done writing './t4.msh'
Info : Stopped on Tue Dec 13 19:54:48 2022 (From start: Wall 0.0426122s, CPU 0.041226s)
$ ls -l t4_image.png
ls: cannot access 't4_image.png': No such file or directory