Abstract base class for geometry calculation schemes. More...
Public Member Functions | |
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 | movePoints () |
Update basic geometric properties from provided points. More... | |
virtual void | updateMesh (const mapPolyMesh &mpm) |
Update mesh for topology changes. More... | |
virtual tmp< surfaceScalarField > | weights () const =0 |
Return linear difference weighting factors. More... | |
virtual tmp< surfaceScalarField > | deltaCoeffs () const =0 |
Return cell-centre difference coefficients. More... | |
virtual tmp< surfaceScalarField > | nonOrthDeltaCoeffs () const =0 |
Return non-orthogonal cell-centre difference coefficients. More... | |
virtual tmp< surfaceVectorField > | nonOrthCorrectionVectors () const =0 |
Return non-orthogonality correction vectors. 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 Public Member Functions | |
static tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
Return new tmp interpolation scheme. More... | |
Protected Member Functions | |
bool | setMeshPhi () const |
Set the mesh motion flux. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
Hold reference to mesh. More... | |
Abstract base class for geometry calculation schemes.
Definition at line 52 of file fvGeometryScheme.H.
|
inline |
Construct from mesh.
Definition at line 115 of file fvGeometryScheme.H.
|
virtualdefault |
Destructor.
|
protected |
Set the mesh motion flux.
Definition at line 37 of file fvGeometryScheme.C.
References Foam::abort(), TimeState::deltaTValue(), f(), polyMesh::faces(), Foam::FatalError, FatalErrorInFunction, forAll, fvGeometryScheme::mesh_, Foam::fvc::meshPhi(), polyMesh::moving(), polyMesh::oldPoints(), polyMesh::points(), pp(), UList< T >::size(), and fvMesh::time().
TypeName | ( | "fvGeometryScheme" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
fvGeometryScheme | , | ||
dict | , | ||
(const fvMesh &mesh, const dictionary &dict) | , | ||
(mesh, dict) | |||
) |
|
static |
Return new tmp interpolation scheme.
Definition at line 96 of file fvGeometryScheme.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::findEntry(), dictionary::getOrDefault(), keyType::LITERAL, mesh, and entry::stream().
Referenced by surfaceInterpolation::geometry(), and parallelFvGeometryScheme::geometry().
|
inline |
Return mesh reference.
Definition at line 145 of file fvGeometryScheme.H.
References fvGeometryScheme::mesh_.
|
virtual |
Update basic geometric properties from provided points.
Reimplemented in averageNeighbourFvGeometryScheme, parallelFvGeometryScheme, solidBodyFvGeometryScheme, highAspectRatioFvGeometryScheme, stabilisedFvGeometryScheme, and basicFvGeometryScheme.
Definition at line 131 of file fvGeometryScheme.C.
References primitiveMesh::clearGeom().
Referenced by basicFvGeometryScheme::movePoints(), stabilisedFvGeometryScheme::movePoints(), and highAspectRatioFvGeometryScheme::movePoints().
|
virtual |
Update mesh for topology changes.
Reimplemented in parallelFvGeometryScheme, and solidBodyFvGeometryScheme.
Definition at line 145 of file fvGeometryScheme.C.
|
pure virtual |
Return linear difference weighting factors.
Implemented in parallelFvGeometryScheme, and basicFvGeometryScheme.
|
pure virtual |
Return cell-centre difference coefficients.
Implemented in parallelFvGeometryScheme, and basicFvGeometryScheme.
|
pure virtual |
Return non-orthogonal cell-centre difference coefficients.
Implemented in parallelFvGeometryScheme, and basicFvGeometryScheme.
|
pure virtual |
Return non-orthogonality correction vectors.
Implemented in parallelFvGeometryScheme, and basicFvGeometryScheme.
|
protected |
Hold reference to mesh.
Definition at line 76 of file fvGeometryScheme.H.
Referenced by fvGeometryScheme::mesh(), basicFvGeometryScheme::movePoints(), stabilisedFvGeometryScheme::movePoints(), highAspectRatioFvGeometryScheme::movePoints(), averageNeighbourFvGeometryScheme::movePoints(), and fvGeometryScheme::setMeshPhi().