Skip to main content

surfaceDisplacement

Description

The surfaceDisplacement is a boundary condition that provides displacement fixed by projection onto triSurface. Use in a displacementMotionSolver as a boundary condition on a pointDisplacement field.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type surfaceDisplacement;
velocity <vector>;
geometry <dict>;
projectMode <word>;
projectDirection <vector>;

// Optional entries
wedgePlane <label>;
frozenPointsZone <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: surfaceDisplacementwordyes-
velocityMaximum velocityvectoryes-
geometryDictionary with searchableSurfaces. (usually triSurfaceMeshes in constant/triSurface)wordyes-
projectModeProjection modewordyes-
projectDirectionProjection directionvectoryes-
wedgePlane-1 or component to knock out of intersection normallabelno-1
frozenPointsZoneEmpty or name of pointZone containing points that do not movewordnonull

Options for the projectMode entry:

PropertyDescription
NEARESTNearest
POINTNORMALIntersection with point normal
FIXEDNORMALIntersection with fixed vector

The inherited entries are elaborated in:

  • fixedValuePointPatchField.H
  • This displacement is then clipped with the specified velocity*deltaT.
  • Optionally (intersection only) removes a component (wedgePlane) to stay in 2D.

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.6