Skip to content

Mesh Refinement โ€‹

Says where Mesh Solid and Mesh Surface make smaller elements: near a point, a curve, a surface or a mesh. The elements are Size at the geometry and grow back to the mesh's own size away from it.

๐Ÿ”ง Grasshopper component โ€‹

Mesh RefinementAlpaca4d โ–ธ 10_Utility
Mesh Refinement component
Inputs
GeometryGenericA point, curve, surface, Brep or mesh near which the elements are smaller.
A list of them makes a refinement each.
SizeNumberThe edge length of the elements at the geometry, in m.
ReachNumber(empty)How far from the geometry the elements are back to the mesh's size, in m.
Empty: they grow by about 30 % a ring, a gentle grading, which reaches the mesh's size at (mesh size โˆ’ Size) / 0.3.
Outputs
RefinementGenericConnect to the Refinements of Mesh Solid or Mesh Surface.

๐Ÿ“ˆ When to use it โ€‹

  • Where stresses change quickly: round holes and openings, at re-entrant corners, at columns and point loads, along a fillet.
  • Several at once: wire them all into Refinements. Where they overlap, the smallest size wins.

๐Ÿ’ก What it does โ€‹

A refinement only asks for smaller elements near its geometry: the mesh need not follow the geometry, nor have nodes on it. For a node exactly at a point, give the point to the mesher's Points, and for a line of nodes along a curve, Mesh Surface's Curves. To have both, wire the same geometry into both.

gmsh measures the distance from points only, so the geometry is kept as points on it, half an element apart. The distance is then out by a quarter of an element at most.

Note

A Reach shorter than Size makes the elements jump from Size to the mesh's size within one of them, and a remark says so. Leave it empty for a smooth grading.

๐Ÿ’ก Examples โ€‹

  • The Slab with Openings refines round its columns and along its openings' edges.
  • The Free-form Canopy refines along the edges of the holes cut through a curved surface.
  • The Pile Cap refines round a column's foot and the piles' tops, where the stress gathers.
  • The Femur refines along the bone's neck.