Geometry calculation scheme that implements face geometry calculation using normal-component-of-area weighted triangle contributions. More...
Public Member Functions | |
TypeName ("stabilised") | |
stabilisedFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
virtual | ~stabilisedFvGeometryScheme ()=default |
virtual void | movePoints () |
![]() | |
TypeName ("basic") | |
basicFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
virtual | ~basicFvGeometryScheme ()=default |
virtual tmp< surfaceScalarField > | weights () const |
virtual tmp< surfaceScalarField > | deltaCoeffs () const |
virtual tmp< surfaceScalarField > | nonOrthDeltaCoeffs () const |
virtual tmp< surfaceVectorField > | nonOrthCorrectionVectors () const |
![]() | |
TypeName ("fvGeometryScheme") | |
declareRunTimeSelectionTable (tmp, fvGeometryScheme, dict,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
fvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
virtual | ~fvGeometryScheme ()=default |
const fvMesh & | mesh () const |
![]() | |
constexpr | refCount () noexcept |
int | count () const noexcept |
bool | unique () const noexcept |
void | operator++ () noexcept |
void | operator++ (int) noexcept |
void | operator-- () noexcept |
void | operator-- (int) noexcept |
Static Protected Member Functions | |
static void | makeFaceCentresAndAreas (const polyMesh &mesh, const pointField &p, vectorField &fCtrs, vectorField &fAreas) |
Additional Inherited Members | |
![]() | |
static tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
![]() | |
const fvMesh & | 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 | ||
) |
Definition at line 139 of file stabilisedFvGeometryScheme.C.
|
virtualdefault |
|
staticprotected |
Definition at line 45 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" | ) |
|
virtual |
Reimplemented from basicFvGeometryScheme.
Definition at line 153 of file stabilisedFvGeometryScheme.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), primitiveMesh::hasCellCentres(), primitiveMesh::hasCellVolumes(), primitiveMesh::hasFaceAreas(), primitiveMesh::hasFaceCentres(), primitiveMeshTools::makeCellCentresAndVols(), stabilisedFvGeometryScheme::makeFaceCentresAndAreas(), fvGeometryScheme::mesh_, primitiveMesh::nCells(), primitiveMesh::nFaces(), polyMesh::points(), Foam::Pout, and primitiveMesh::resetGeometry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.