mymesh.converter.tet2quadratic#
- mymesh.converter.tet2quadratic(NodeCoords, Tet4NodeConn, cleanup=True)[source]#
Converts a 4 node tetrahedral mesh to 10 node tetrahedral mesh. A new node is placed at the midpoint of each edge.
- Parameters:
NodeCoords (array_like) – List of nodal coordinates.
Tet4NodeConn (array_like) – Nodal connectivities for a 4-node tetrahedral mesh
cleanup (bool) – Cleanup/merge duplicate nodes created during the process, by default True
- Returns:
NodeCoords (np.ndarray) – New list of nodal coordinates.
Tet10NodeConn (np.ndarray) – Nodal connectivities for the 10-Node tetrahedral mesh