Geometry calculation scheme that implements face geometry calculation using normal-component-of-area weighted triangle contributions. More...
#include <stabilisedFvGeometryScheme.H>


Public Member Functions | |
| TypeName ("stabilised") | |
| Runtime type information. | |
| stabilisedFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. | |
| virtual | ~stabilisedFvGeometryScheme ()=default |
| Destructor. | |
| virtual void | movePoints () |
| Do what is necessary if the mesh has moved. | |
| 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 does local update. Returns true if anything changed, false otherwise. | |
| Public Member Functions inherited from basicFvGeometryScheme | |
| TypeName ("basic") | |
| Runtime type information. | |
| basicFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. | |
| virtual | ~basicFvGeometryScheme ()=default |
| Destructor. | |
| virtual tmp< surfaceScalarField > | weights () const |
| Return linear difference weighting factors. | |
| virtual tmp< surfaceScalarField > | deltaCoeffs () const |
| Return cell-centre difference coefficients. | |
| virtual tmp< surfaceScalarField > | nonOrthDeltaCoeffs () const |
| Return non-orthogonal cell-centre difference coefficients. | |
| virtual tmp< surfaceVectorField > | nonOrthCorrectionVectors () const |
| Return non-orthogonality correction vectors. | |
| Public Member Functions inherited from fvGeometryScheme | |
| TypeName ("fvGeometryScheme") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (tmp, fvGeometryScheme, dict,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| fvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. | |
| virtual | ~fvGeometryScheme ()=default |
| Destructor. | |
| const fvMesh & | mesh () const |
| Return mesh reference. | |
| virtual void | updateMesh (const mapPolyMesh &mpm) |
| Update mesh for topology changes. | |
| Public Member Functions inherited from refCount | |
| constexpr | refCount () noexcept |
| Default construct, initializing count to 0. | |
| int | use_count () const noexcept |
| Return the current reference count. | |
| bool | unique () const noexcept |
| Return true if the reference count is zero. | |
| void | operator++ () noexcept |
| Increment the reference count. | |
| void | operator++ (int) noexcept |
| Increment the reference count. | |
| void | operator-- () noexcept |
| Decrement the reference count. | |
| void | operator-- (int) noexcept |
| Decrement the reference count. | |
Static Protected Member Functions | |
| static void | makeFaceCentresAndAreas (const polyMesh &mesh, const pointField &p, vectorField &fCtrs, vectorField &fAreas) |
| Calculate face area and centre weighted using pyramid height. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from fvGeometryScheme | |
| static tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
| Return new tmp interpolation scheme. | |
| Protected Member Functions inherited from fvGeometryScheme | |
| bool | setMeshPhi () const |
| Set the mesh motion flux. | |
| Protected Attributes inherited from fvGeometryScheme | |
| const fvMesh & | mesh_ |
| Hold reference to mesh. | |
Geometry calculation scheme that implements face geometry calculation using normal-component-of-area weighted triangle contributions.
This implements the Foundation 'Corrected face-centre calculations' as a separate geometry scheme. Only implements the primitiveMesh parts, not the individual face calculation.
Definition at line 54 of file stabilisedFvGeometryScheme.H.
| stabilisedFvGeometryScheme | ( | const fvMesh & | mesh, |
| const dictionary & | dict ) |
Construct from mesh.
Definition at line 164 of file stabilisedFvGeometryScheme.C.
References dict, fvGeometryScheme::mesh(), and movePoints().

|
virtualdefault |
Destructor.
References points.
|
staticprotected |
Calculate face area and centre weighted using pyramid height.
Definition at line 76 of file stabilisedFvGeometryScheme.C.
References triangle< Point, PointRef >::areaNormal(), triangle< Point, PointRef >::centre(), f(), forAll, fvGeometryScheme::mesh(), Foam::normalised(), nPoints, p, pi(), Foam::pointsAverage(), and Foam::Zero.
Referenced by movePoints(), and updateGeom().


| TypeName | ( | "stabilised" | ) |
Runtime type information.
References dict, and fvGeometryScheme::mesh().

|
virtual |
Do what is necessary if the mesh has moved.
Reimplemented from basicFvGeometryScheme.
Definition at line 179 of file stabilisedFvGeometryScheme.C.
References Foam::endl(), primitiveMeshTools::makeCellCentresAndVols(), makeFaceCentresAndAreas(), fvGeometryScheme::mesh_, fvGeometryScheme::movePoints(), Foam::Pout, and primitiveMesh::resetGeometry().
Referenced by stabilisedFvGeometryScheme().


|
virtual |
Calculate geometry quantities using mesh topology and provided points. If oldPoints provided only does local update. Returns true if anything changed, false otherwise.
Reimplemented from basicFvGeometryScheme.
Definition at line 231 of file stabilisedFvGeometryScheme.C.
References primitiveMeshTools::makeCellCentresAndVols(), makeFaceCentresAndAreas(), fvGeometryScheme::mesh_, and points.
