interpolationCellPointWallModified< Type > Class Template Reference

As interpolationCellPoint, but with the point field modified on wall faces. More...

Inheritance diagram for interpolationCellPointWallModified< Type >:
Collaboration diagram for interpolationCellPointWallModified< Type >:

Public Member Functions

 TypeName ("cellPointWallModified")
 Runtime type information. More...
 
 interpolationCellPointWallModified (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
template<class TYPE >
Foam::tmp< Foam::GeometricField< TYPE, Foam::pointPatchField, Foam::pointMesh > > calcPointField (const GeometricField< TYPE, fvPatchField, volMesh > &psi) const
 
- Public Member Functions inherited from interpolationCellPoint< Type >
 TypeName ("cellPoint")
 Runtime type information. More...
 
 interpolationCellPoint (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
 interpolationCellPoint (const GeometricField< Type, fvPatchField, volMesh > &psi, tmp< GeometricField< Type, pointPatchField, pointMesh >> psip)
 Construct from components. More...
 
Type interpolate (const cellPointWeight &cpw) const
 Interpolate field for the given cellPointWeight. More...
 
Type interpolate (const vector &position, const label celli, const label facei=-1) const
 Interpolate field to the given point in the given cell. More...
 
Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate field to the given coordinates in the tetrahedron. More...
 
- Public Member Functions inherited from interpolation< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi))
 
 interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
virtual ~interpolation ()
 Destructor. More...
 
const GeometricField< Type, fvPatchField, volMesh > & psi () const
 Return the field to be interpolated. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from interpolation< Type >
static autoPtr< interpolation< Type > > New (const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the specified interpolation scheme. More...
 
static autoPtr< interpolation< Type > > New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the selected interpolation scheme. More...
 
- Protected Attributes inherited from interpolationCellPoint< Type >
const GeometricField< Type, pointPatchField, pointMeshpsip_
 Interpolated volfield. More...
 
- Protected Attributes inherited from interpolation< Type >
const GeometricField< Type, fvPatchField, volMesh > & psi_
 
const polyMeshpMesh_
 
const vectorFieldpMeshPoints_
 
const faceListpMeshFaces_
 
const vectorFieldpMeshFaceCentres_
 
const vectorFieldpMeshFaceAreas_
 

Detailed Description

template<class Type>
class Foam::interpolationCellPointWallModified< Type >

As interpolationCellPoint, but with the point field modified on wall faces.

This method is defined only for vectors. The point field is extrapolated from the cells to the wall faces, and then rotated towards the (reverse) point normal so that the vectors do not point out of the domain. The result is also scaled so so if the necessary rotation exceeds 90 degrees, it is clamped to zero.

This prevents unresolvable drag-rebound couplings when applied to the velocity interpolation in a Lagrangian simulation.

Definition at line 55 of file interpolationCellPointWallModified.H.

Constructor & Destructor Documentation

◆ interpolationCellPointWallModified()

Construct from components.

Definition at line 326 of file interpolationCellPointWallModified.C.

Referenced by interpolationCellPointWallModified< Type >::calcPointField().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "cellPointWallModified"  )

Runtime type information.

◆ calcPointField()


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