cellQuality Class Reference

Class calculates cell quality measures. More...

Public Member Functions

 cellQuality (const polyMesh &mesh)
 Construct from mesh. More...
 
tmp< scalarFieldnonOrthogonality () const
 Return cell non-orthogonality. More...
 
tmp< scalarFieldskewness () const
 Return cell skewness. More...
 
tmp< scalarFieldfaceNonOrthogonality () const
 Return face non-orthogonality. More...
 
tmp< scalarFieldfaceSkewness () const
 Return face skewness. More...
 

Detailed Description

Class calculates cell quality measures.

Source files

Definition at line 51 of file cellQuality.H.

Constructor & Destructor Documentation

◆ cellQuality()

cellQuality ( const polyMesh mesh)

Construct from mesh.

Definition at line 34 of file cellQuality.C.

Member Function Documentation

◆ nonOrthogonality()

Foam::tmp< Foam::scalarField > nonOrthogonality ( ) const

Return cell non-orthogonality.

Definition at line 42 of file cellQuality.C.

References Foam::acos(), forAll, Foam::mag(), Foam::max(), Foam::min(), Foam::radToDeg(), tmp< T >::ref(), s(), and Foam::Zero.

Referenced by optMeshMovement::writeMeshQualityMetrics().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ skewness()

Foam::tmp< Foam::scalarField > skewness ( ) const

Return cell skewness.

Definition at line 104 of file cellQuality.C.

References forAll, Foam::mag(), Foam::max(), n, tmp< T >::ref(), and Foam::Zero.

Referenced by optMeshMovement::writeMeshQualityMetrics().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ faceNonOrthogonality()

Foam::tmp< Foam::scalarField > faceNonOrthogonality ( ) const

Return face non-orthogonality.

Definition at line 183 of file cellQuality.C.

References Foam::acos(), forAll, Foam::mag(), Foam::min(), Foam::radToDeg(), tmp< T >::ref(), and s().

Here is the call graph for this function:

◆ faceSkewness()

Foam::tmp< Foam::scalarField > faceSkewness ( ) const

Return face skewness.

Definition at line 243 of file cellQuality.C.

References forAll, Foam::mag(), n, and tmp< T >::ref().

Referenced by polyMeshGeometry::checkFaceSkewness(), primitiveMesh::checkFaceSkewness(), and polyMeshTools::faceSkewness().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: