OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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 More...

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.

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

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 63 of file surfaceSlipDisplacementPointPatchVectorField.H.


Member Enumeration Documentation

Enumerator:
NEAREST 
POINTNORMAL 
FIXEDNORMAL 

Definition at line 72 of file surfaceSlipDisplacementPointPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 296 of file surfaceSlipDisplacementPointPatchVectorField.C.

Construct from patch, internal field and dictionary.

Definition at line 310 of file surfaceSlipDisplacementPointPatchVectorField.C.

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

Definition at line 327 of file surfaceSlipDisplacementPointPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 360 of file surfaceSlipDisplacementPointPatchVectorField.C.


Member Function Documentation

TypeName ( "surfaceSlipDisplacement"   ) 

Runtime type information.

virtual autoPtr<pointPatchVectorField> clone (  )  const [inline, virtual]

Construct and return a clone.

Implements pointPatchField< vector >.

Definition at line 153 of file surfaceSlipDisplacementPointPatchVectorField.H.

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

Construct and return a clone setting internal field reference.

Implements pointPatchField< vector >.

Definition at line 173 of file surfaceSlipDisplacementPointPatchVectorField.H.

const searchableSurfaces & surfaces (  )  const

Surface to follow. Demand loads surfaceNames.

Definition at line 377 of file surfaceSlipDisplacementPointPatchVectorField.C.

Referenced by NamedEnum< Enum, nEnum >::names().

Here is the caller graph for this function:

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

Update the patch field.

Reimplemented from pointPatchField< vector >.

Definition at line 403 of file surfaceSlipDisplacementPointPatchVectorField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Reimplemented from pointPatchField< vector >.

Definition at line 422 of file surfaceSlipDisplacementPointPatchVectorField.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd