upxo.meshing.gbconformant.fm_steel_abaqus.interfaces module

The triangles of a tetrahedral mesh that separate one feature from another.

A triangle is an interface when the two tetrahedra that share it carry different feature labels. Triangles of the box faces (one tetrahedron only) are not interfaces. Areas are in mesh coordinates. A hexahedral mesh ((M, 8) connectivity) gives quadrilaterals, faces (K, 4) in cyclic order.

class upxo.meshing.gbconformant.fm_steel_abaqus.interfaces.Interfaces(faces: ndarray, labels: ndarray, area: ndarray)[source]

Bases: object

faces (K, 3) node indices, labels (K, 2) the two features (ascending), area (K,).

faces: ndarray
labels: ndarray
area: ndarray
pairs()[source]

(pairs, inverse): the distinct label pairs (P, 2) and, for every face, the index of its pair.

upxo.meshing.gbconformant.fm_steel_abaqus.interfaces.boundary_node_mask(elements, label, n_nodes, chunk=200000)[source]

Boolean per node: the node is used by elements of two or more labels (the only nodes an interface can touch).

upxo.meshing.gbconformant.fm_steel_abaqus.interfaces.interface_faces(points, tetrahedra, tet_label)[source]

The Interfaces of a mesh; tet_label is one feature label per tetrahedron.