I have constructed a truss and want to optimize the placing of the diagonals for minimum mass. The problem is that I cannot find a way to limit Galapagos so that I don’t get too high deformations. I have put in a C# script, that adds 1000000kg if the solution is not within the limit of deformation. Galapagos still doesn’t want to throw away the solutions with too high deformations, and forms rectangles instead of triangles.
It will multiply fitness number by 100 if deflection is overreached and therefore disadvantage the gene in galapagos so it should be kicked out of pool.
For the other things… Pay attantion to buckling lengths! As default, they are considered for lengths between connection points, not between your lateral supports. You can tell by checking details on your calculations. Ncry = Ncrz which means if symetrical cross section is used that buckling lengths are same in both directions. Correct me if Im wrong… @karamba3d could comment on that.
As from the previous post, it seems you could model lateral beams in the position of lateral supports to get the correct buckling lengths. But I would recommed to verify by checking on details of utilisation for buckling lengths.
Other option would be to use buckling mode as initial shape for structure , calculate with second order effects and check on stresses.
you can manually set the element buckling length via the ‘Modify Element’-component in the submenu ‘2nd Order’.
By default the buckling length of an element is calculated as the distance between the two nearest nodes with more than two elements connected. See the manual for details.