fem.faces_from_nodes

fem.faces_from_nodes(mesh, nodes)

Boundary quads spanned by a node set (all four corners selected).

The bridge from node selections to area-integrated boundary conditions (tractions, heat fluxes): a boundary quad carries the load exactly when every one of its corner nodes belongs to nodes.

Parameters

Name Type Description Default
mesh HexMesh The hex mesh. required
nodes Any Node indices (any integer array-like). required

Returns

Name Type Description
A FaceGroup class:FaceGroup of the spanned faces (possibly empty).