mymesh.converter.tri62linear#
- mymesh.converter.tri62linear(NodeCoords, NodeConn)[source]#
Converts a 6-node triangular mesh to a 3-node triangular mesh. Assumes a 6-node triangular numbering scheme where the first 3 nodes define the triangular vertices, the remaining nodes are thus neglected.
- Parameters:
NodeCoords (array_like) – List of nodal coordinates.
NodeConn (array_like) – Nodal connectivities for a 6-Node triangular mesh
- Returns:
NodeCoords (array_like) – List of nodal coordinates (unchanged from input).
NewConn (np.ndarray) – Nodal connectivities for the equivalent 3-Node triangular mesh