38 #ifndef highAspectRatioFvGeometryScheme_H 39 #define highAspectRatioFvGeometryScheme_H
TypeName("highAspectRatio")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static void makeAverageCentres(const polyMesh &mesh, const pointField &points, const pointField &faceAreas, const scalarField &magFaceAreas, pointField &faceCentres, pointField &cellCentres)
Helper : calculate (weighted) average face and cell centres.
Default geometry calculation scheme. Slight stabilisation for bad meshes.
virtual void movePoints()
Do what is necessary if the mesh has moved.
virtual ~highAspectRatioFvGeometryScheme()=default
Destructor.
const fvMesh & mesh() const
Return mesh reference.
Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells.
void calcAspectRatioWeights(scalarField &cellWeight, scalarField &faceWeight) const
Calculate cell and face weight. Is 0 for cell < minAspect, 1 for.
Mesh data needed to do the Finite Volume discretisation.
Mesh consisting of general polyhedral cells.