Geometry calculation scheme that implements face geometry calculation using normal-component-of-area weighted triangle contributions. More...


Public Member Functions | |
| TypeName ("stabilised") | |
| Runtime type information. More... | |
| stabilisedFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. More... | |
| virtual | ~stabilisedFvGeometryScheme ()=default |
| Destructor. More... | |
| virtual void | movePoints () |
| Do what is necessary if the mesh has moved. More... | |
Public Member Functions inherited from basicFvGeometryScheme | |
| TypeName ("basic") | |
| Runtime type information. More... | |
| basicFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. More... | |
| virtual | ~basicFvGeometryScheme ()=default |
| Destructor. More... | |
| virtual tmp< surfaceScalarField > | weights () const |
| Return linear difference weighting factors. More... | |
| virtual tmp< surfaceScalarField > | deltaCoeffs () const |
| Return cell-centre difference coefficients. More... | |
| virtual tmp< surfaceScalarField > | nonOrthDeltaCoeffs () const |
| Return non-orthogonal cell-centre difference coefficients. More... | |
| virtual tmp< surfaceVectorField > | nonOrthCorrectionVectors () const |
| Return non-orthogonality correction vectors. More... | |
Public Member Functions inherited from fvGeometryScheme | |
| TypeName ("fvGeometryScheme") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (tmp, fvGeometryScheme, dict,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| fvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. More... | |
| virtual | ~fvGeometryScheme ()=default |
| Destructor. More... | |
| const fvMesh & | mesh () const |
| Return mesh reference. More... | |
| virtual void | updateMesh (const mapPolyMesh &mpm) |
| Update mesh for topology changes. More... | |
Public Member Functions inherited from refCount | |
| constexpr | refCount () noexcept |
| Default construct, initializing count to 0. More... | |
| int | use_count () const noexcept |
| Return the current reference count. More... | |
| bool | unique () const noexcept |
| Return true if the reference count is zero. More... | |
| void | operator++ () noexcept |
| Increment the reference count. More... | |
| void | operator++ (int) noexcept |
| Increment the reference count. More... | |
| void | operator-- () noexcept |
| Decrement the reference count. More... | |
| void | operator-- (int) noexcept |
| Decrement the reference count. More... | |
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. More... | |
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. More... | |
Protected Member Functions inherited from fvGeometryScheme | |
| bool | setMeshPhi () const |
| Set the mesh motion flux. More... | |
Protected Attributes inherited from fvGeometryScheme | |
| const fvMesh & | mesh_ |
| Hold reference to mesh. More... | |
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 138 of file stabilisedFvGeometryScheme.C.
|
virtualdefault |
Destructor.
|
staticprotected |
Calculate face area and centre weighted using pyramid height.
Definition at line 46 of file stabilisedFvGeometryScheme.C.
References Foam::constant::universal::c, f(), forAll, mesh, Foam::normalised(), nPoints, p, Foam::constant::mathematical::pi(), and Foam::Zero.
Referenced by stabilisedFvGeometryScheme::movePoints().


| TypeName | ( | "stabilised" | ) |
Runtime type information.
|
virtual |
Do what is necessary if the mesh has moved.
Reimplemented from basicFvGeometryScheme.
Definition at line 152 of file stabilisedFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::endl(), primitiveMesh::hasCellCentres(), primitiveMesh::hasCellVolumes(), primitiveMesh::hasFaceAreas(), primitiveMesh::hasFaceCentres(), primitiveMeshTools::makeCellCentresAndVols(), stabilisedFvGeometryScheme::makeFaceCentresAndAreas(), fvGeometryScheme::mesh_, fvGeometryScheme::movePoints(), primitiveMesh::nCells(), primitiveMesh::nFaces(), polyMesh::points(), Foam::Pout, and primitiveMesh::resetGeometry().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.