Model.sliversfixfe#

Model.sliversfixfe(edge1, edge2, widthThreshold)#

Fixes sliver edges of FE geometry surfaces. In the first step, the sliver portion of the edges is identified based on the specified widthThreshold value. Then, all elements lying between the sliver portion of the edges are removed. Finally, the sliver portion of the edges is stitched.

Parameters:
  • edge1 (hwIntList) – List of node IDs from the first edge.

  • edge2 (hwIntList) – List of node IDs from the second edge.

  • widthThreshold (double) – Threshold value specifying the stitching portion of the edges.

Example#

Stitch an edge with node IDs 7, 2, 6, 4, and 5 with an edge with node IDs 10, 47, and 59 using a threshold of 0.0001#
import hm
import hm.entities as ent

model = hm.Model()

model.sliversfixfe(edge=[7, 2, 6, 4, 5], edge2=[10, 47, 59], widthThreshold=0.0001)