All examples

Truss Node.

Where a node of a space truss needs its steel, found by SIMP, BESO and Multi-Material side by side.

Topology
Try it Three nodes side by side, found by SIMP, BESO and Multi-Material where nine members of a space truss meet, Multi-Material's in steel and aluminium GHtruss-node.ghGrasshopper file · 60 KBDownload

Try it

Move the inputs · drag to turn · pinch or Ctrl/⌘ + scroll to zoom

The definition

Drag to move · pinch or Ctrl/⌘ + scroll to zoom · hover a component

Where a node of a space truss needs its steel, found three ways side by side, by the three methods of Topology Optimisation: SIMP, BESO and Multi-Material. Nine members meet at a cube of steel bricks, 1 m a side, coming at it from every side, so the node is shaped in three dimensions, not in a plane:

  • two chords along x, in tension: 450 kN on one side, 250 kN on the other;
  • two chords along y, in compression: 300 kN on one side, 150 kN on the other;
  • a post on top, bringing 600 kN down;
  • four diagonals leaving from the bottom corners, held at their feet: the supports.

As in a real space truss, the chord forces differ on either side of the node, and the diagonals take the difference as well as the post's load. (With equal chord forces the chords would only need a bar between them, joined to nothing else.)

Each member is a stub of bricks, 0.2 m square and 0.2 m long, kept solid whatever the optimisation finds; its force is shared evenly over the nodes of its end.

INFO

Without a license, Topology Optimisation runs on models of up to 500 elements. At 2 bricks per 10 cm this one has 8 576, so it needs one; at 1, 1 072 bricks, it still does.

The model ​

Group What it does
1 - How fine Bricks per 10 cm, 1 to 3, the same every way, so that every member's edges fall on the grid: 1 000, 8 000 or 27 000 bricks in the cube.
2 - The node The cube, 1 m a side: its plan meshed once with Mesh Plane, copied up level by level and made into bricks by Mesh Series to Brick, as SSP Bricks named Node.
3 - The members The nine stubs, each a box of bricks, all through one chain of components, each in a branch of its own: their sizes in the panels, their plans in Rectangle 3Pt. The bricks are named Member.
Materials Steel, E=210 GPa, for every brick, and aluminium, E=70 GPa, for Multi-Material to choose.
4 - Supports and loads The ends of the members, each meshed with Mesh Plane to find its nodes: the diagonals' feet held by a Support; each loaded end's force divided among its nodes as Point Loads.
5 - Assemble Model Assemble. Model View is disabled: enable it to see the supports and loads.
6 - Three ways Three Topology Optimisation components on the same model, one on each method. Keep names the members. SIMP and BESO keep 12% of the cube (VolumeFraction); Multi-Material up to 4% in steel and 8% in aluminium. Each has its Run, Iterations and Step, and a panel of its compliance.
7 - Side by side SIMP's design moved 4 m to the left and BESO's 2 m; Multi-Material draws its own, in its materials' colours, where the model is. Each is named with a Text Tag 3D.
8 - Each design analysed For each method, Run Analysis on its AlpacaModel and a Model View in Von Mises stress, with a Legend; locked to start with.

Running it ​

  1. Set Run SIMP, Run BESO and Run Multi-Material to true, together or one after the other. Each run goes on its own thread and its design draws in its place in group 7. Run together at 2 bricks per 10 cm on an Apple M2 Pro, BESO ends in about a minute, SIMP in about two - it runs to its 200 iterations, its densities still moving a little - and Multi-Material in three to four.
  2. Drag a Step slider back to watch that run again; BESO's goes through the node at every volume, from the whole cube down.
  3. Once a run has stopped, enable its Run Analysis and Legend in group 8 to see its design in Von Mises stress, where the model is. Lock them again before enabling another's.

WARNING

BESO at 1 brick per 10 cm. At the coarsest fineness the legs are two bricks thick by the time the cube is down to 12%, and BESO cuts one through after 76 iterations and never mends it: it says so in a warning, and Converged stays false. Use 2 bricks per 10 cm, the default, or 3. SIMP and Multi-Material find the whole node at all three.

BESO's node in Von Mises stress

What it shows ​

All three find a node every member is joined to: a body in the middle where the chords meet, the post's load coming down through it, and four legs from it into the diagonals, which carry the post's 600 kN and what the chords leave over - 200 kN along x, 150 kN along y. The chord pulling with 450 kN is joined most strongly. Seen from any side the node is different: no plane through it would show the whole of it.

Iterations Compliance
SIMP 200 0.134
BESO 115 0.091
Multi-Material, 4% steel and 8% aluminium 260 0.158

BESO's node is the stiffest: every brick of it is solid, where SIMP's design still has densities between 0 and 1 counting for less than they would solid. Multi-Material's is softer because two thirds of its volume is aluminium, a third as stiff as steel. It puts the aluminium into the body and the chords, where there is room for thickness, and the steel into the four legs, which have to be slender.