mymesh.converter.tet102tet4#

mymesh.converter.tet102tet4(NodeCoords, Tet10NodeConn)[source]#

Converts a 10-node tetradehdral mesh to a 4-node tetradehedral mesh. Assumes a 10-node tetrahedral numbering scheme where the first 4 nodes define the tetrahedral vertices, the remaining nodes are thus neglected.

Parameters:
  • NodeCoords (array_like) – List of nodal coordinates.

  • Tet10NodeConn (array_like) – Nodal connectivities for a 10-Node tetrahedral mesh

Returns:

  • NodeCoords (array_like) – List of nodal coordinates (unchanged from input).

  • Tet4NodeConn (np.ndarray) – Nodal connectivities for the equivalent 4-Node tetrahedral mesh