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