<div dir="ltr"><div><div><div>Hello,<br>I am using gmsh to mesh geometry, and then solve a modle with Calculix.<br></div>To do this I'm outputting a .inp file form gmsh.<br><br></div>Everything works except for outputting nodes sets at physical points.<br></div>My geo file is:<br><br><div><div><div>Point(0) = {0.000000, 0.000000, 0.000000};<br>Point(1) = {4.000000, 0.000000, 0.000000};<br>Point(2) = {4.000000, 4.000000, 0.000000};<br>Point(3) = {0.000000, 4.000000, 0.000000};<br>Line(0) = {0,1};<br>Line(1) = {1,2};<br>Line(2) = {2,3};<br>Line(3) = {3,0};<br>Line Loop(0) = {0,1,2,3};<br>Plane Surface(0) = {0};<br>Physical Surface('PART0') = {0};<br>Physical Line('PART0_left') = {0};<br>Physical Line('PART0_right') = {2};<br>Physical Line('PART0_top') = {1};<br>Physical Line('PART0_bottom') = {3};<br>Physical Line('L0') = {0};<br>Physical Line('L1') = {1};<br>Physical Line('L2') = {2};<br>Physical Line('L3') = {3};<br>Physical Point('P0') = {0};<br>Physical Point('P1') = {1};<br>Physical Point('P2') = {2};<br>Physical Point('P3') = {3};<br>Mesh.CharacteristicLengthFactor = 1.0; //mesh fineness<br>Mesh.RecombinationAlgorithm = 1; //blossom<br>Mesh.RecombineAll = 1; //turns on quads<br>Mesh.SubdivisionAlgorithm = 1; // quadrangles<br>Mesh.CharacteristicLengthExtendFromBoundary = 1;<br>Mesh.CharacteristicLengthMin = 0;<br>Mesh.CharacteristicLengthMax = 1e+022;<br>Mesh.CharacteristicLengthFromCurvature = 0;<br>Mesh.CharacteristicLengthFromPoints = 1;<br>Mesh.Algorithm = 2; //delauny<br>Mesh.ElementOrder = 2; //linear or second set here<br>Mesh.SecondOrderIncomplete=1; //req for 2nd ord, no face node<br>Mesh.SaveGroupsOfNodes = 1; // save node groups<br><br></div><div>But the nodes at P01 to P3 are not saved in node sets. Instead, it appears that we get element sets instead:<br>*ELSET,ELSET=P0<br>1, <br>*ELSET,ELSET=P1<br>2, <br>*ELSET,ELSET=P2<br>3, <br>*ELSET,ELSET=P3<br>4, <br><br></div><div>Can the next version of gmsh export node sets for physical nodes in .inp files?<br></div><div>I would expect:<br>*NSET,NSET=P0<br>1, <br>*NSET,NSET=P1<br>2, <br>*NSET,NSET=P2<br>3, <br>*NSET,NSET=P3<br>4, <br><br></div><div>Thanks,<br></div><div>-Justin<br></div></div></div></div>