[Gmsh] Abaqus/Calculix, physical point not producing node set in output file, patch request

Justin Black justin.a.black at gmail.com
Fri Oct 31 16:57:49 CET 2014


Hello,
I am using gmsh to mesh geometry, and then solve a modle with Calculix.
To do this I'm outputting a .inp file form gmsh.

Everything works except for outputting nodes sets at physical points.
My geo file is:

Point(0) = {0.000000, 0.000000, 0.000000};
Point(1) = {4.000000, 0.000000, 0.000000};
Point(2) = {4.000000, 4.000000, 0.000000};
Point(3) = {0.000000, 4.000000, 0.000000};
Line(0) = {0,1};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,0};
Line Loop(0) = {0,1,2,3};
Plane Surface(0) = {0};
Physical Surface('PART0') = {0};
Physical Line('PART0_left') = {0};
Physical Line('PART0_right') = {2};
Physical Line('PART0_top') = {1};
Physical Line('PART0_bottom') = {3};
Physical Line('L0') = {0};
Physical Line('L1') = {1};
Physical Line('L2') = {2};
Physical Line('L3') = {3};
Physical Point('P0') = {0};
Physical Point('P1') = {1};
Physical Point('P2') = {2};
Physical Point('P3') = {3};
Mesh.CharacteristicLengthFactor = 1.0; //mesh fineness
Mesh.RecombinationAlgorithm = 1; //blossom
Mesh.RecombineAll = 1; //turns on quads
Mesh.SubdivisionAlgorithm = 1; // quadrangles
Mesh.CharacteristicLengthExtendFromBoundary = 1;
Mesh.CharacteristicLengthMin = 0;
Mesh.CharacteristicLengthMax = 1e+022;
Mesh.CharacteristicLengthFromCurvature = 0;
Mesh.CharacteristicLengthFromPoints = 1;
Mesh.Algorithm = 2; //delauny
Mesh.ElementOrder = 2; //linear or second set here
Mesh.SecondOrderIncomplete=1; //req for 2nd ord, no face node
Mesh.SaveGroupsOfNodes = 1; // save node groups

But the nodes at P01 to P3 are not saved in node sets. Instead, it appears
that we get element sets instead:
*ELSET,ELSET=P0
1,
*ELSET,ELSET=P1
2,
*ELSET,ELSET=P2
3,
*ELSET,ELSET=P3
4,

Can the next version of gmsh export node sets for physical nodes in .inp
files?
I would expect:
*NSET,NSET=P0
1,
*NSET,NSET=P1
2,
*NSET,NSET=P2
3,
*NSET,NSET=P3
4,

Thanks,
-Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20141031/f707832b/attachment.html>