mymesh.quality.InverseOrthogonalQuality#

mymesh.quality.InverseOrthogonalQuality(NodeCoords, NodeConn, verbose=False)[source]#

Calculates element inverse orthogonal quality for each element in the mesh. For tetrahedral, wedge, and pyramidal elements, inverse orthogonal quality is calculated as the maximum of skewness and inverse orthogonality. For hexahedral elements, inverse orthogonal quality is simply the inverse orthogonality.

Inverse orthogonal quality ranges from 0 to 1, with 0 being the best element quality and 1 being the worst.

This definition of Inverse 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:

iorthoq – Array of inverse orthogonal quality for each element.

Return type:

np.ndarray