Geometry calculation scheme that performs geometry updates only in regions where the mesh has changed. More...


Public Member Functions | |
| TypeName ("solidBody") | |
| Runtime type information. More... | |
| solidBodyFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh. More... | |
| virtual | ~solidBodyFvGeometryScheme ()=default |
| Destructor. More... | |
| virtual void | movePoints () |
| Do what is necessary if the mesh has moved. More... | |
| virtual void | updateMesh (const mapPolyMesh &mpm) |
| Update mesh for topology changes. More... | |
Public Member Functions inherited from basicFvGeometryScheme | |
| 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... | |
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... | |
Public Member Functions inherited from refCount | |
| 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... | |
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... | |
Geometry calculation scheme that performs geometry updates only in regions where the mesh has changed.
Example usage in fvSchemes:
geometry
{
type solidBody;
// Optional entries
// If set to false, update the entire mesh
partialUpdate yes;
// Cache the motion addressing (changed points, faces, cells etc)
cacheMotion yes;
}
Definition at line 65 of file solidBodyFvGeometryScheme.H.
| solidBodyFvGeometryScheme | ( | const fvMesh & | mesh, |
| const dictionary & | dict | ||
| ) |
Construct from mesh.
Definition at line 153 of file solidBodyFvGeometryScheme.C.
References DebugInFunction, and Foam::endl().

|
virtualdefault |
Destructor.
| TypeName | ( | "solidBody" | ) |
Runtime type information.
|
virtual |
Do what is necessary if the mesh has moved.
Reimplemented from basicFvGeometryScheme.
Definition at line 175 of file solidBodyFvGeometryScheme.C.
References Foam::abort(), primitiveMesh::clearGeom(), Foam::ensightOutput::debug, DebugInFunction, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::mag(), Foam::fvc::meshPhi(), IOobject::name(), p, Foam::Pout, primitiveMesh::resetGeometry(), UList< T >::size(), polyPatch::start(), Foam::sum(), primitiveMeshTools::updateCellCentresAndVols(), primitiveMeshTools::updateFaceCentresAndAreas(), primitiveMesh::updateGeom(), and Foam::Zero.

|
virtual |
Update mesh for topology changes.
Reimplemented from fvGeometryScheme.
Definition at line 333 of file solidBodyFvGeometryScheme.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.