mymesh.converter.wdg2quadratic#

mymesh.converter.wdg2quadratic(NodeCoords, NodeConn, cleanup=True)[source]#

Converts a 6 node wedge mesh to 15 node wedge 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 6-node wedge 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 15-Node wedge mesh