cellPointWallModified< Type > Class Template Reference

As interpolations::cellPoint, but with the point field modified on wall faces. More...

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

Public Member Functions

 TypeName ("cellPointWallModified")
 Runtime type information. More...
 
 cellPointWallModified (const VolField< Type > &psi)
 Construct from components. More...
 
 cellPointWallModified (const cellPointWallModified< Type > &i)
 Copy construct. More...
 
virtual autoPtr< interpolation< Type > > clone () const
 Clone. More...
 
template<class TYPE >
Foam::tmp< Foam::PointField< TYPE > > calcPointField (const VolField< TYPE > &psi) const
 
- Public Member Functions inherited from cellPoint< Type >
 TypeName ("cellPoint")
 Runtime type information. More...
 

Detailed Description

template<class Type>
class Foam::interpolations::cellPointWallModified< Type >

As interpolations::cellPoint, 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 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.

Source files

Definition at line 61 of file cellPointWallModified.H.

Constructor & Destructor Documentation

◆ cellPointWallModified() [1/2]

cellPointWallModified ( const VolField< Type > &  psi)

Construct from components.

Definition at line 318 of file cellPointWallModified.C.

◆ cellPointWallModified() [2/2]

Copy construct.

Definition at line 328 of file cellPointWallModified.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cellPointWallModified< Type >"  )

Runtime type information.

◆ clone()

virtual autoPtr<interpolation<Type> > clone ( ) const
inlinevirtual

Clone.

Reimplemented from cellPoint< Type >.

Definition at line 94 of file cellPointWallModified.H.

◆ calcPointField()

Foam::tmp<Foam::PointField<TYPE> > calcPointField ( const VolField< TYPE > &  psi) const

Definition at line 36 of file cellPointWallModified.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

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