mymesh.converter.hex202linear#

mymesh.converter.hex202linear(NodeCoords, Hex20NodeConn)[source]#

Converts a 20-node hexahedral mesh to an 8-node hexahedral mesh. Assumes a 20-node hexahedral numbering scheme where the first 8 nodes define the hexahedral vertices, the remaining nodes are thus neglected.

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

  • Hex20NodeConn (array_like) – Nodal connectivities for a 20-Node hexahedral mesh

Returns:

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

  • Hex8NodeConn (np.ndarray) – Nodal connectivities for the equivalent 8-Node hexahedral mesh