mymesh.converter.solid2surface#

mymesh.converter.solid2surface(NodeCoords, NodeConn, return_SurfElem=False)[source]#

Extract the 2D surface elements from a 3D volume mesh

Parameters:
  • NodeCoords (list) – List of nodal coordinates. Ex. [[x0,y0,z0],[x1,y1,z1],…]

  • NodeConn (list) – Nodal connectivity list. Ex. [[n1,n2,n3,n4],[n2,n3,n4,n5],…]

Returns:

SurfConn – Nodal connectivity list of the extracted surface. Node IDs correspond to the original node list NodeCoords

Return type:

list