FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

surfaceSlipDisplacementPointPatchVectorField Class Reference

Displacement follows a triSurface. Use in a displacement fvMotionSolver as a bc on the pointDisplacement field. Following is done by calculating the projection onto the surface according to the projectMode

  • NEAREST : nearest
  • POINTNORMAL : intersection with point normal
  • FIXEDNORMAL : intersection with fixed vector.
More...

#include <fvMotionSolvers/surfaceSlipDisplacementPointPatchVectorField.H>


Detailed Description

Displacement follows a triSurface. Use in a displacement fvMotionSolver as a bc on the pointDisplacement field. Following is done by calculating the projection onto the surface according to the projectMode

  • NEAREST : nearest
  • POINTNORMAL : intersection with point normal
  • FIXEDNORMAL : intersection with fixed vector.

Optionally (intersection only) removes a component ("wedgePlane") to stay in 2D.

Needs:

  • geometry : dictionary with searchableSurfaces. (usually triSurfaceMeshes in constant/triSurface)
  • projectMode : see above
  • projectDirection : if projectMode = fixedNormal
  • wedgePlane : -1 or component to knock out of intersection normal
  • frozenPointsZone : empty or name of pointZone containing points that do not move
Source files

Definition at line 68 of file surfaceSlipDisplacementPointPatchVectorField.H.

Inheritance diagram for surfaceSlipDisplacementPointPatchVectorField:
Collaboration diagram for surfaceSlipDisplacementPointPatchVectorField:

List of all members.

Public Types

enum  projectMode { NEAREST, POINTNORMAL, FIXEDNORMAL }

Public Member Functions

 TypeName ("surfaceSlipDisplacement")
 Runtime type information.
 surfaceSlipDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &)
 Construct from patch and internal field.
 surfaceSlipDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<vector> onto a new patch.
 surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &)
 Construct as copy.
virtual autoPtr
< pointPatchVectorField >  
clone () const
 Construct and return a clone.
 surfaceSlipDisplacementPointPatchVectorField (const surfaceSlipDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &)
 Construct as copy setting internal field reference.
virtual autoPtr
< pointPatchVectorField >  
clone (const DimensionedField< vector, pointMesh > &iF) const
 Construct and return a clone setting internal field reference.
const searchableSurfaces &  surfaces () const
 Surface to follow. Demand loads surfaceNames.
virtual void  evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Update the patch field.
virtual void  write (Ostream &) const
 Write.

Member Enumeration Documentation

Enumerator:
NEAREST 
POINTNORMAL 
FIXEDNORMAL 

Definition at line 77 of file surfaceSlipDisplacementPointPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 313 of file surfaceSlipDisplacementPointPatchVectorField.C.

Referenced by surfaceSlipDisplacementPointPatchVectorField::clone().

Construct from patch, internal field and dictionary.

Definition at line 327 of file surfaceSlipDisplacementPointPatchVectorField.C.

Construct by mapping given patchField<vector> onto a new patch.

Definition at line 344 of file surfaceSlipDisplacementPointPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 377 of file surfaceSlipDisplacementPointPatchVectorField.C.


Member Function Documentation

TypeName ( "surfaceSlipDisplacement"    )

Runtime type information.

virtual autoPtr<pointPatchVectorField> clone (  ) const [inline, virtual]
virtual autoPtr<pointPatchVectorField> clone ( const DimensionedField< vector, pointMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 178 of file surfaceSlipDisplacementPointPatchVectorField.H.

References surfaceSlipDisplacementPointPatchVectorField::surfaceSlipDisplacementPointPatchVectorField().

const searchableSurfaces & surfaces (  ) const
void evaluate ( const Pstream::commsTypes   commsType = Pstream::blocking  ) [virtual]

Update the patch field.

Reimplemented from pointPatchField< Type >.

Definition at line 420 of file surfaceSlipDisplacementPointPatchVectorField.C.

References pointPatchField< vector >::evaluate().

void write ( Ostream &   os  ) const [virtual]

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