mymesh.quality.tet_vol_skewness#
- mymesh.quality.tet_vol_skewness(NodeCoords, NodeConn, V=None)[source]#
Calculates element skewness for each tetrahedral element in the mesh using the equilateral volume skewness method.
Skewness ranges from 0 to 1, with 0 being the best element quality and 1 being the worst.
- Parameters:
NodeCoords (array_like) – List of nodal coordinates.
NodeConn (list, array_like) – List of nodal connectivities.
V (array_like, optional) – Volume of tetrahedra. If not provided, the volumes will be calculated.
- Returns:
skew – Array of skewness for each element.
- Return type:
np.ndarray