mymesh.quality.OrthogonalQuality#
- mymesh.quality.OrthogonalQuality(NodeCoords, NodeConn, verbose=False)[source]#
Calculates element orthogonality for each element in the mesh. For all element types, orthogonal quality is calculated as 1-InverseOrthogonalQuality.
Orthogonal quality ranges from 0 to 1, with 1 being the best element quality and 0 being the worst.
This definition of Orthogonal Quality comes from Ansys.
- Parameters:
NodeCoords (list) – List of nodal coordinates.
NodeConn (list) – List of nodal connectivities.
verbose (bool, optional) – If true, will print min, max, and mean element quality, by default False.
- Returns:
orthoq – Array of orthogonal qualities for each element.
- Return type:
np.ndarray