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.
virtual bool updateGeom(const pointField &points, const refPtr< pointField > &oldPoints, pointField &faceCentres, vectorField &faceAreas, pointField &cellCentres, scalarField &cellVolumes) const
Calculate geometry quantities using mesh topology and provided points. If oldPoints provided only doe...
A class for managing references or pointers (no reference counting)
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.