Class calculates cell quality measures. More...
Public Member Functions | |
cellQuality (const polyMesh &mesh) | |
Construct from mesh. More... | |
tmp< scalarField > | nonOrthogonality () const |
Return cell non-orthogonality. More... | |
tmp< scalarField > | skewness () const |
Return cell skewness. More... | |
tmp< scalarField > | faceNonOrthogonality () const |
Return face non-orthogonality. More... | |
tmp< scalarField > | faceSkewness () const |
Return face skewness. More... | |
cellQuality | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 27 of file cellQuality.C.
Foam::tmp< Foam::scalarField > nonOrthogonality | ( | ) | const |
Return cell non-orthogonality.
Definition at line 35 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().
Foam::tmp< Foam::scalarField > skewness | ( | ) | const |
Return cell skewness.
Definition at line 97 of file cellQuality.C.
References forAll, Foam::mag(), Foam::max(), n, tmp< T >::ref(), and Foam::Zero.
Referenced by optMeshMovement::writeMeshQualityMetrics().
Foam::tmp< Foam::scalarField > faceNonOrthogonality | ( | ) | const |
Return face non-orthogonality.
Definition at line 176 of file cellQuality.C.
References Foam::acos(), forAll, Foam::mag(), Foam::min(), Foam::radToDeg(), tmp< T >::ref(), and s.
Foam::tmp< Foam::scalarField > faceSkewness | ( | ) | const |
Return face skewness.
Definition at line 236 of file cellQuality.C.
References forAll, Foam::mag(), n, and tmp< T >::ref().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.