A concrete canopy 6 m by 4 m and 150 mm thick is a doubly curved NURBS surface: it rises 0.8 m in the middle and twists a little. A round hole 1 m across and a rounded slot 1.2 m long are cut through it. It stands on its four corners and on two columns inside them, and carries its own weight and 1 kN/m² of snow. Mesh Surface meshes it with gmsh on the NURBS surface itself. The two inner columns are its inclusion Points, so the mesh has a node exactly on each. Two curves drawn on the surface are its Curves: an isocurve near one long edge and a circle. The mesh has a line of nodes along each, where a beam or a wall would stand on the shell. A Mesh Refinement makes the quads smaller along the holes' edges. Use it as a template for a free-form roof of your own: its surface, the points and curves the mesh has to follow, and a size for each.
Mesh Surface runs gmsh, which you install yourself: see Setup.
The model ​
| Group | What it does |
|---|---|
| 1 - Geometry | The sliders: the canopy's length, width and rise, the round hole and the slot. A Python component builds the surface through a grid of points and cuts the two holes through it from above. It gives two points and two curves on the surface, the holes' edges, the six columns and the surface's area. |
| 2 - Concrete | A Mesh Refinement makes the quads 0.05 m along the holes' edges. Mesh Surface meshes the surface in quads of 0.2 m, with the two points as Points and the two curves as Curves. A panel lists each element's Quality. Concrete is an nD material in a Plate Fiber Section 150 mm thick, on ASD Shells. |
| 3 - Supports | A Support at each column, the four corners and the two points. Each holds X, Y and Z and leaves the shell free to turn. |
| 4 - Loads | The canopy's own weight, a Gravity Load, and 1 kN/m² of snow down on every shell, a Mesh Load, in one Load Pattern. |
| 5 - Analysis | Assemble, with a Tolerance of 1 mm, and Run Analysis. The default tolerance, 1 cm, is near the smallest elements and would weld their nodes together. |
| 6 - Results | A Model View of the canopy deflected 200 times, coloured in bands by how far it moves, with a Legend. A second one draws the supports and the loads. |
| 7 - Check | Reaction Forces at the columns, added up, beside the canopy's area times its weight and the snow. |
The mesh ​
Mesh Surface meshes the curved surface itself, not a flattened copy of it, so every node lies on the NURBS surface. All 1 771 of its elements are quads. They are 0.2 m across away from the holes and 0.05 m along the holes' edges, and they grow back gradually in between. Each inner column is a node, and so is each corner, where the surface's edges meet. Along the isocurve and round the circle, the quads' edges follow the curve: a beam drawn on either curve shares the shell's nodes.
What it shows ​
The canopy deflects most along its long free edges, between the columns, but less than half a millimetre: its double curvature makes it stiff. Over the columns and at the corners it stays put. The six columns carry 110.7 kN between them. That is the load on the canopy: its area without the holes, 23.66 m², times its weight,
Try Triangles from Mesh Surface's right-click menu, a larger rise, or a smaller mesh size at the holes.


