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... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | 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 tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
Return new tmp interpolation scheme. More... | |
![]() | |
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 58 of file stabilisedFvGeometryScheme.H.
stabilisedFvGeometryScheme | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from mesh.
Definition at line 146 of file stabilisedFvGeometryScheme.C.
|
virtualdefault |
Destructor.
|
staticprotected |
Calculate face area and centre weighted using pyramid height.
Definition at line 52 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 160 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().