mymesh.converter.pyramid2faces#

mymesh.converter.pyramid2faces(NodeCoords, NodeConn)[source]#

Extract triangular and quadrilateral faces from all elements of a purely 5-Node pyramidal mesh. All faces will be ordered such that the nodes are in counter-clockwise order when viewed from outside of the element. Best practice is to use solid2faces, rather than using pyramid2faces directly.

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

  • NodeConn (list) – List of nodal connectivity.

Returns:

Faces – List of nodal connectivity of the mesh faces.

Return type:

list