Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
highAspectRatioFvGeometryScheme Class Reference

Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells. More...

Inheritance diagram for highAspectRatioFvGeometryScheme:
Inheritance graph
[legend]
Collaboration diagram for highAspectRatioFvGeometryScheme:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("highAspectRatio")
 
 highAspectRatioFvGeometryScheme (const fvMesh &mesh, const dictionary &dict)
 
virtual ~highAspectRatioFvGeometryScheme ()=default
 
virtual void movePoints ()
 
- Public Member Functions inherited from basicFvGeometryScheme
 TypeName ("basic")
 
 basicFvGeometryScheme (const fvMesh &mesh, const dictionary &dict)
 
virtual ~basicFvGeometryScheme ()=default
 
virtual tmp< surfaceScalarFieldweights () const
 
virtual tmp< surfaceScalarFielddeltaCoeffs () const
 
virtual tmp< surfaceScalarFieldnonOrthDeltaCoeffs () const
 
virtual tmp< surfaceVectorFieldnonOrthCorrectionVectors () const
 
- Public Member Functions inherited from fvGeometryScheme
 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 fvMeshmesh () const
 
- Public Member Functions inherited from refCount
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_
 
- Protected Attributes inherited from fvGeometryScheme
const fvMeshmesh_
 

Additional Inherited Members

- Static Public Member Functions inherited from fvGeometryScheme
static tmp< fvGeometrySchemeNew (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme)
 

Detailed Description

Geometry calculation scheme with automatic stabilisation for high-aspect ratio cells.

Source files

Definition at line 50 of file highAspectRatioFvGeometryScheme.H.

Constructor & Destructor Documentation

◆ highAspectRatioFvGeometryScheme()

highAspectRatioFvGeometryScheme ( const fvMesh mesh,
const dictionary dict 
)

Definition at line 352 of file highAspectRatioFvGeometryScheme.C.

References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.

Here is the call graph for this function:

◆ ~highAspectRatioFvGeometryScheme()

virtual ~highAspectRatioFvGeometryScheme ( )
virtualdefault

Member Function Documentation

◆ calcAspectRatioWeights()

void calcAspectRatioWeights ( scalarField cellWeight,
scalarField faceWeight 
) const
protected

Definition at line 156 of file highAspectRatioFvGeometryScheme.C.

References delta, Foam::max(), and Foam::min().

Referenced by highAspectRatioFvGeometryScheme::movePoints(), and averageNeighbourFvGeometryScheme::movePoints().

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

◆ makeAverageCentres()

void makeAverageCentres ( const polyMesh mesh,
const pointField points,
const pointField faceAreas,
const scalarField magFaceAreas,
pointField faceCentres,
pointField cellCentres 
)
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().

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

◆ TypeName()

TypeName ( "highAspectRatio"  )

◆ movePoints()

void movePoints ( )
virtual

Member Data Documentation

◆ minAspect_

const scalar minAspect_
protected

Definition at line 56 of file highAspectRatioFvGeometryScheme.H.

◆ maxAspect_

const scalar maxAspect_
protected

Definition at line 58 of file highAspectRatioFvGeometryScheme.H.


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