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


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... | |
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.
Definition at line 61 of file cellPointWallModified.H.
| cellPointWallModified | ( | const VolField< Type > & | psi | ) |
Construct from components.
Definition at line 318 of file cellPointWallModified.C.
| cellPointWallModified | ( | const cellPointWallModified< Type > & | i | ) |
Copy construct.
Definition at line 328 of file cellPointWallModified.C.
| TypeName | ( | "cellPointWallModified< Type >" | ) |
Runtime type information.
|
inlinevirtual |
| 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.
