Static Public Member Functions | List of all members
polyMeshTools Class Reference
Inheritance diagram for polyMeshTools:
Inheritance graph
[legend]
Collaboration diagram for polyMeshTools:
Collaboration graph
[legend]

Static Public Member Functions

static tmp< scalarFieldfaceOrthogonality (const polyMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs)
 Generate orthogonality field. (1 for fully orthogonal, < 1 for. More...
 
static tmp< scalarFieldfaceSkewness (const polyMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs)
 Generate skewness field. More...
 
static tmp< scalarFieldfaceWeights (const polyMesh &mesh, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs)
 Generate interpolation factors field. More...
 
static tmp< scalarFieldvolRatio (const polyMesh &mesh, const scalarField &vol)
 Generate volume ratio field. More...
 
- Static Public Member Functions inherited from primitiveMeshTools
static tmp< scalarFieldfaceOrthogonality (const primitiveMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs)
 Generate non-orthogonality field (internal faces only) More...
 
static void facePyramidVolume (const primitiveMesh &mesh, const pointField &points, const vectorField &cellCtrs, scalarField &ownPyrVol, scalarField &neiPyrVol)
 Generate face pyramid volume fields. More...
 
static tmp< scalarFieldfaceSkewness (const primitiveMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs)
 Generate skewness field. More...
 
static void cellClosedness (const primitiveMesh &mesh, const Vector< label > &meshD, const vectorField &areas, const scalarField &vols, scalarField &openness, scalarField &aratio)
 Generate cell openness and cell ascpect ratio field. More...
 
static tmp< scalarFieldfaceConcavity (const scalar maxSin, const primitiveMesh &mesh, const pointField &p, const vectorField &faceAreas)
 Generate face concavity field. Returns per face the (sin of the) More...
 
static tmp< scalarFieldfaceFlatness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &faceAreas)
 Generate face flatness field. Compares the individual triangles'. More...
 
static tmp< scalarFieldedgeAlignment (const primitiveMesh &mesh, const Vector< label > &directions, const pointField &p)
 Generate edge alignment field. Is per face the minimum aligned edge. More...
 
static tmp< scalarFieldcellDeterminant (const primitiveMesh &mesh, const Vector< label > &directions, const vectorField &faceAreas, const PackedBoolList &internalOrCoupledFace)
 Generate cell determinant field. More...
 
static scalar faceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label faceI, const point &ownCc, const point &neiCc)
 Skewness of single face. More...
 
static scalar boundaryFaceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label faceI, const point &ownCc)
 Skewness of single boundary face. More...
 
static scalar faceOrthogonality (const point &ownCc, const point &neiCc, const vector &s)
 Orthogonality of single face. More...
 

Detailed Description

Definition at line 50 of file polyMeshTools.H.

Member Function Documentation

Foam::tmp< Foam::scalarField > faceOrthogonality ( const polyMesh mesh,
const vectorField fAreas,
const vectorField cellCtrs 
)
static

Generate orthogonality field. (1 for fully orthogonal, < 1 for.

non-orthogonal)

Definition at line 35 of file polyMeshTools.C.

References polyMesh::boundaryMesh(), polyPatch::coupled(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMeshTools::faceSkewness(), forAll, primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), scalarField(), and polyPatch::start().

Here is the call graph for this function:

Foam::tmp< Foam::scalarField > faceSkewness ( const polyMesh mesh,
const pointField points,
const vectorField fCtrs,
const vectorField fAreas,
const vectorField cellCtrs 
)
static

Generate skewness field.

Definition at line 90 of file polyMeshTools.C.

References polyMesh::boundaryMesh(), polyPatch::coupled(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMeshTools::faceWeights(), forAll, primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), scalarField(), Foam::skew(), and polyPatch::start().

Referenced by polyMeshTools::faceOrthogonality().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::tmp< Foam::scalarField > faceWeights ( const polyMesh mesh,
const vectorField fCtrs,
const vectorField fAreas,
const vectorField cellCtrs 
)
static

Generate interpolation factors field.

Definition at line 175 of file polyMeshTools.C.

References polyMesh::boundaryMesh(), polyPatch::coupled(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, Foam::mag(), Foam::min(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), scalarField(), polyPatch::start(), and polyMeshTools::volRatio().

Referenced by polyMeshTools::faceSkewness().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::tmp< Foam::scalarField > volRatio ( const polyMesh mesh,
const scalarField vol 
)
static

Generate volume ratio field.

Definition at line 233 of file polyMeshTools.C.

References polyMesh::boundaryMesh(), polyPatch::coupled(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), forAll, Foam::max(), Foam::min(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), scalarField(), and polyPatch::start().

Referenced by polyMeshTools::faceWeights().

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: