[Gmsh] Midnodes with command line meshing from STP

Hansen Michael Michael.Hansen at andritz.com
Wed Dec 8 16:25:11 CET 2010

I mesh from a .stp file with the following command:
gmsh script_1.geo project.stp mesh_script.geo -order 2 -3 -optimize
-format msh -o mesh.msh
The first script only defines some variables and the second defines the
physicals and caracteristic lengths.
My problem is that when doing so, the resulting mesh has linear second
order nodes (not on the geometry). When I do exactly the same in the
GUI, the midside nodes are OK ! The variable Mesh.SecondOrderLinear is
set to 0 in scirpt_1.
Thank-you for any help !
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101208/fca851b4/attachment.html>