Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells. More...
Public Member Functions | |
TypeName ("highAspectRatio") | |
highAspectRatioFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
virtual | ~highAspectRatioFvGeometryScheme ()=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 |
Protected Member Functions | |
void | calcAspectRatioWeights (scalarField &cellWeight, scalarField &faceWeight) const |
Static Protected Member Functions | |
static void | makeAverageCentres (const polyMesh &mesh, const pointField &points, const pointField &faceAreas, const scalarField &magFaceAreas, pointField &faceCentres, pointField &cellCentres) |
Protected Attributes | |
const scalar | minAspect_ |
const scalar | maxAspect_ |
![]() | |
const fvMesh & | mesh_ |
Additional Inherited Members | |
![]() | |
static tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells.
Definition at line 50 of file highAspectRatioFvGeometryScheme.H.
highAspectRatioFvGeometryScheme | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Definition at line 352 of file highAspectRatioFvGeometryScheme.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
|
virtualdefault |
|
protected |
Definition at line 156 of file highAspectRatioFvGeometryScheme.C.
References delta, Foam::max(), and Foam::min().
Referenced by highAspectRatioFvGeometryScheme::movePoints(), and averageNeighbourFvGeometryScheme::movePoints().
|
staticprotected |
Definition at line 228 of file highAspectRatioFvGeometryScheme.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), f(), forAll, Foam::mag(), mesh, nPoints, p, Foam::constant::mathematical::pi(), Foam::Pout, and Foam::Zero.
Referenced by highAspectRatioFvGeometryScheme::movePoints().
TypeName | ( | "highAspectRatio" | ) |
|
virtual |
Reimplemented from basicFvGeometryScheme.
Reimplemented in averageNeighbourFvGeometryScheme.
Definition at line 383 of file highAspectRatioFvGeometryScheme.C.
References highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), primitiveMesh::cellCentres(), primitiveMesh::cellVolumes(), Foam::expressions::patchExpr::debug, Foam::endl(), primitiveMesh::faceAreas(), primitiveMesh::faceCentres(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), primitiveMesh::hasCellCentres(), primitiveMesh::hasCellVolumes(), primitiveMesh::hasFaceAreas(), primitiveMesh::hasFaceCentres(), Foam::mag(), highAspectRatioFvGeometryScheme::makeAverageCentres(), fvGeometryScheme::mesh_, polyMesh::points(), Foam::Pout, primitiveMesh::resetGeometry(), and primitiveMesh::updateGeom().
Referenced by averageNeighbourFvGeometryScheme::movePoints().
|
protected |
Definition at line 56 of file highAspectRatioFvGeometryScheme.H.
|
protected |
Definition at line 58 of file highAspectRatioFvGeometryScheme.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.