Go to the documentation of this file.
37 #ifndef averageNeighbourFvGeometryScheme_H
38 #define averageNeighbourFvGeometryScheme_H
86 const scalar minRatio,
A class for managing temporary objects.
virtual void movePoints()
tmp< pointField > averageNeighbourCentres(const pointField &cellCentres, const vectorField &faceNormals, const scalarField &faceWeights) const
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
void makePyrHeights(const pointField &cellCentres, const vectorField &faceCentres, const vectorField &faceNormals, scalarField &ownHeight, scalarField &neiHeight) const
label clipFaceTet(const scalar minRatio, const vectorField &faceCentres, const vectorField &faceNormals, vectorField &faceCorrection) const
const fvMesh & mesh() const
label clipPyramids(const pointField &cellCentres, const vectorField &faceCentres, const vectorField &faceNormals, const scalarField &minOwnHeight, const scalarField &minNeiHeight, vectorField &correction) const
virtual ~averageNeighbourFvGeometryScheme()=default
void makeNonOrthoWeights(const pointField &cellCentres, const vectorField &faceNormals, scalarField &cosAngles, scalarField &faceWeights) const
surfaceVectorField faceNormals(mesh.Sf()/mesh.magSf())
Generic templated field type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Geometry calculation scheme to minimise non-orthogonality/.
tmp< pointField > averageCentres(const pointField &cellCentres, const pointField &faceCentres, const vectorField &faceNormals) const
Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells.
TypeName("averageNeighbour")