side effect of "Mesh 3" in geo file when meshing in batch
I'm using gmsh 4.12.2 and I need to execute in batch, so I use: gmsh.exe Mesh_script.geo -3 -format inp if I don't put the -3 -format inp but I put the equivalent command in the geo file, the GUI pops up and stays open. With the attached geo file. it produces a inp with: *ELEMENT, type=CPS4, ELSET=Surface9 *ELEMENT, type=C3D8, ELSET=Volume1 *ELSET,ELSET=Clamp *ELSET,ELSET=Volume // (Full) *NSET,NSET=Clamp
if I uncomment the line with Mesh 3; and still run in batch (with -3), my inp file contains: *ELEMENT, type=CPS4, ELSET=Surface9 // Missing: *ELEMENT, type=C3D8, ELSET=Volume1 *ELSET,ELSET=Clamp *ELSET,ELSET=Volume // empty set *NSET,NSET=Clamp