stabilisedFvGeometryScheme Class Reference

Geometry calculation scheme that implements face geometry calculation using normal-component-of-area weighted triangle contributions. More...

Inheritance diagram for stabilisedFvGeometryScheme:
[legend]
Collaboration diagram for stabilisedFvGeometryScheme:
[legend]

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...
 
- 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< surfaceScalarFieldweights () const
 Return linear difference weighting factors. More...
 
virtual tmp< surfaceScalarFielddeltaCoeffs () const
 Return cell-centre difference coefficients. More...
 
virtual tmp< surfaceScalarFieldnonOrthDeltaCoeffs () const
 Return non-orthogonal cell-centre difference coefficients. More...
 
virtual tmp< surfaceVectorFieldnonOrthCorrectionVectors () 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 fvMeshmesh () 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...
 

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 Public Member Functions inherited from fvGeometryScheme
static tmp< fvGeometrySchemeNew (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme)
 Return new tmp interpolation scheme. More...
 
- Protected Attributes inherited from fvGeometryScheme
const fvMeshmesh_
 Hold reference to mesh. More...
 

Detailed Description

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.

Source files

Definition at line 58 of file stabilisedFvGeometryScheme.H.

Constructor & Destructor Documentation

◆ stabilisedFvGeometryScheme()

stabilisedFvGeometryScheme ( const fvMesh mesh,
const dictionary dict 
)

Construct from mesh.

Definition at line 146 of file stabilisedFvGeometryScheme.C.

◆ ~stabilisedFvGeometryScheme()

virtual ~stabilisedFvGeometryScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ makeFaceCentresAndAreas()

void makeFaceCentresAndAreas ( const polyMesh mesh,
const pointField p,
vectorField fCtrs,
vectorField fAreas 
)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "stabilised"  )

Runtime type information.

◆ movePoints()

void movePoints ( )
virtual

The documentation for this class was generated from the following files: