Default geometry calculation scheme. Slight stabilisation for bad meshes. More...


Public Member Functions | |
| TypeName ("basic") | |
| Runtime type information. More... | |
| basicFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. More... | |
| virtual | ~basicFvGeometryScheme ()=default |
| Destructor. More... | |
| virtual void | movePoints () |
| Do what is necessary if the mesh has moved. 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... | |
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... | |
Default geometry calculation scheme. Slight stabilisation for bad meshes.
Definition at line 46 of file basicFvGeometryScheme.H.
| basicFvGeometryScheme | ( | const fvMesh & | mesh, |
| const dictionary & | dict | ||
| ) |
Construct from mesh.
Definition at line 38 of file basicFvGeometryScheme.C.
|
virtualdefault |
Destructor.
| TypeName | ( | "basic" | ) |
Runtime type information.
|
virtual |
Do what is necessary if the mesh has moved.
Reimplemented from fvGeometryScheme.
Reimplemented in averageNeighbourFvGeometryScheme, solidBodyFvGeometryScheme, highAspectRatioFvGeometryScheme, and stabilisedFvGeometryScheme.
Definition at line 49 of file basicFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::endl(), fvGeometryScheme::mesh_, fvGeometryScheme::movePoints(), Foam::Pout, and primitiveMesh::updateGeom().

|
virtual |
Return linear difference weighting factors.
Implements fvGeometryScheme.
Definition at line 64 of file basicFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::dimless, Foam::endl(), forAll, Foam::mag(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, and Foam::Pout.

|
virtual |
Return cell-centre difference coefficients.
Implements fvGeometryScheme.
Definition at line 144 of file basicFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::dimLength, Foam::dimless, Foam::endl(), forAll, Foam::mag(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, p, and Foam::Pout.

|
virtual |
Return non-orthogonal cell-centre difference coefficients.
Implements fvGeometryScheme.
Definition at line 203 of file basicFvGeometryScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), C::C(), Foam::ensightOutput::debug, delta, Foam::dimLength, Foam::dimless, Foam::endl(), forAll, Foam::mag(), Foam::max(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, p, fvsPatchFieldBase::patch(), and Foam::Pout.

|
virtual |
Return non-orthogonality correction vectors.
Implements fvGeometryScheme.
Definition at line 291 of file basicFvGeometryScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), C::C(), fvsPatchFieldBase::coupled(), Foam::ensightOutput::debug, delta, Foam::dimless, Foam::endl(), forAll, tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, p, fvsPatchFieldBase::patch(), Foam::Pout, and Foam::Zero.

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